副图公式源码支持 手机/电脑
AA1:MA(CLOSE,5);
AA2:MA(CLOSE,10);
AA3:AA1+1.6*STD(CLOSE,11);
AA4:AA1-2*STD(CLOSE,8);
GUP1:=L<AA1 AND L<AA3;
GUP2:=H>AA3 AND H>AA1 AND C>AA1;
GUP3:=MA(LOW,20)*1.2;
GUP4:=MA(LOW,20)*1.1;
GUP5:=IF(BARSLAST(CLOSE>GUP4)<2 AND CLOSE>MA(CLOSE,3) AND BARSLAST(CLOSE=HHV(CLOSE,18))<4,(MA(CLOSE,5)-REF(MA(CLOSE,5),1))/REF(MA(CLOSE,5),1)*300,0),COLORYELLOW,LINETHICK1;
GUP6:=GUP1 AND GUP2 AND GUP5>0;
STICKLINE(GUP6,H,L,1,0),COLORRED;
DRAWTEXT(GUP6,L*0.9,'跟庄上涨'),COLORRED;
选股公式源码
{选股公式:跟庄上涨}
AA1:=MA(CLOSE,5);
AA2:=MA(CLOSE,10);
AA3:=AA1+1.6*STD(CLOSE,11);
AA4:=AA1-2*STD(CLOSE,8);
GUP1:=L<AA1 AND L<AA3;
GUP2:=H>AA3 AND H>AA1 AND C>AA1;
GUP3:=MA(LOW,20)*1.2;
GUP4:=MA(LOW,20)*1.1;
GUP5:=IF(BARSLAST(CLOSE>GUP4)<2 AND CLOSE>MA(CLOSE,3) AND BARSLAST(CLOSE=HHV(CLOSE,18))<4,(MA(CLOSE,5)-REF(MA(CLOSE,5),1))/REF(MA(CLOSE,5),1)*300,0),COLORYELLOW,LINETHICK1;
GUP6:=GUP1 AND GUP2 AND GUP5>0;
跟庄上涨:GUP6; |