第一部分 副图公式 手机/电脑
CAIH1:=(HIGH+LOW)/2;
AO:MA(CAIH1,5)-MA(CAIH1,34),LINETHICK0;
STICKLINE(AO>=REF(AO,1),0,AO,2.2,1),COLORRED;
STICKLINE(AO
AO5:MA(AO,5),COLORFF6600;
卖出1:=CROSS(0,AO);
DRAWTEXT(卖出1,AO,'卖一'),COLORWHITE;
DRAWICON(卖出1,AO,2);
卖出2:=AOREF(AO,2) AND AO
DRAWTEXT(卖出2,AO,'卖二'),COLORWHITE;
DRAWICON(卖出2,AO,2);
SCOUNT:=BARSLAST(AO0 AND REF(AO,1)>REF(AO,2) AND AO
卖出31:=COUNT(卖出3,SCOUNTD);
DRAWTEXT(卖出31>=2 AND 卖出3,AO,'卖三'),COLORWHITE;
DRAWICON(卖出31>=2 AND 卖出3,AO,2);
买入1:=CROSS(AO,0);
DRAWTEXT(买入1,AO,'买一'),COLORWHITE;
DRAWICON(买入1,AO,1);
买入2:=AO>0 AND REF(AO,1)REF(AO,1);
DRAWTEXT(买入2,AO,'买二'),COLORWHITE;
DRAWICON(买入2,AO,1);
BCOUNT:=BARSLAST(AO>0);
BD:=LLV(AO,BCOUNT);
BCOUNTD:=LLVBARS(AO,BCOUNT);
买入3:=AO=2 AND 买入3,AO,'买三'),COLORWHITE;
DRAWICON(买入30>=2 AND 买入3,AO,1);
第二部分 选股公式 |