副图公式源码支持 手机/电脑
AA0:=EMA(C,5),COLOR00FF66;
AA1:EMA(C,10),COLOR00FF66;
AA2:EMA(C,15),POINTDOT,LINETHICK4,COLORFFFFFF;
AA3:EMA(C,30),POINTDOT,LINETHICK2;
AA4:EMA(C,60),POINTDOT,LINETHICK2,COLOR3366FF;
AA5:EMA(C,90),COLORBLUE,POINTDOT,LINETHICK2;
GUP1:=1000*AA1/AA4<=1015 AND 1000*AA1/AA4>=975;
GUP2:=1000*AA2/AA4<=1020 AND 1000*AA2/AA4>=980;
GUP3:=1000*AA3/AA4<=1015 AND 1000*AA3/AA4>=985;
GUP4:=GUP1 AND GUP2 AND GUP3 AND CROSS(AA0,AA1);
GUP5:=GUP1 AND GUP2 AND GUP3 AND CROSS(AA0,AA3);
DRAWTEXT((GUP4 , GUP5),(LOW * 0.93),'↖金牛起身'),COLOR00FFFF;
GUA1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
GUA2:=SMA(GUA1,3,1);
GUA3:=SMA(GUA2,3,1);
GUA4:=3*GUA2-2*GUA3;
GUA5:=BARSLAST(CROSS(GUA3,GUA4));
警戒位:REF(H,GUA5),POINTDOT,COLORRED;
STICKLINE(警戒位,警戒位,警戒位,3.8,1),COLORRED;
选股公式源码
{选股公式:金牛起身}
AA0:=EMA(C,5),COLOR00FF66;
AA1:=EMA(C,10),COLOR00FF66;
AA2:=EMA(C,15),LINETHICK4,COLORFFFFFF;
AA3:=EMA(C,30),LINETHICK2;
AA4:=EMA(C,60),LINETHICK2,COLOR3366FF;
GUP1:=1000*AA1/AA4<=1015 AND 1000*AA1/AA4>=975;
GUP2:=1000*AA2/AA4<=1020 AND 1000*AA2/AA4>=980;
GUP3:=1000*AA3/AA4<=1015 AND 1000*AA3/AA4>=985;
GUP4:=GUP1 AND GUP2 AND GUP3 AND CROSS(AA0,AA1);
GUP5:=GUP1 AND GUP2 AND GUP3 AND CROSS(AA0,AA3);
金牛起身GUP4,GUP5); |