副图公式源码支持 手机/电脑
N1:=8;N2:=11;
强势:EMA(C,13),LINETHICK6,COLORRED;
GUA1:=C<强势;
GUA2:=C-REF(C,1);
GUA3:=GUA2/REF(C,1);
GUA4:=GUA3*100;
GUA5:=GUA4>N1 AND GUA4<N2;
STICKLINE(GUA5,C,O,2,0),COLORYELLOW;
GUP2B:=BARSLAST(GUA5 OR BARSCOUNT(C)=1);
GUP3B:=BARSLAST(GUA1);
GUP4B:=GUP2B>GUP3B;
GUP6B:=CROSS(0.5,GUP4B);
GU7B:=EMA(C,13),DOTLINE,LINETHICK5,COLORMAGENTA;
GUP1T:=C<GU7B;
GUP2T:=BARSLAST(GUA5 OR BARSCOUNT(C)=1 );
GUP3T:=BARSLAST(GUP1T);
GUP4T:=GUP2T>GUP3T;
GUP7T:=GUP4T;
弱势:IF(GUP7T,GU7B,DRAWNULL),COLORGREEN,LINETHICK6;
DRAWICON(GUP6B,L*0.99,1);
DRAWTEXT(GUP6B,L*0.98,'跟庄'),COLORYELLOW;
选股公式源码
{选股公式:跟庄}
N1:=8;N2:=11;
强势:=EMA(C,13),LINETHICK6,COLORRED;
GUA1:=C<强势;
GUA2:=C-REF(C,1);
GUA3:=GUA2/REF(C,1);
GUA4:=GUA3*100;
GUA5:=GUA4>N1 AND GUA4<N2;
GUP2B:=BARSLAST(GUA5 OR BARSCOUNT(C)=1);
GUP3B:=BARSLAST(GUA1);
GUP4B:=GUP2B>GUP3B;
GUP6B:=CROSS(0.5,GUP4B);
GU7B:=EMA(C,13),LINETHICK5,COLORMAGENTA;
GUP1T:=C<GU7B;
跟庄:GUP6B; |