通达信舰载机公式 非常好用的指标,没有未来
{舰载机}
DRAWGBK(C>0, RGB(1,79,242),RGB(1,1,77),0,'15',0);
VAR1:=(C-MA(C,21))/MA(C,21)*200;
VAR2:=(C-LLV(L,43))/(HHV(H,43)-LLV(L,43))*200;
VAR3:=SMA(VAR2,2,1);
高度计:SMA(VAR3,2,1),COLORLIGRAY,LINETHICK2;
高度计@:MA(高度计,3),COLORLIBLUE;
中线:100,COLORLIGRAY,CIRCLEDOT;
天:200+-(ABS(VAR1)),COLORLIGRAY,LINETHICK4;
海:ABS(VAR1),COLORLICYAN,LINETHICK4;
DRAWICON(CROSS(高度计,海),40,15);
DRAWTEXT(CROSS(高度计,海),60,'走你!'),COLORLIMAGENTA;
DRAWICON(CROSS(高度计,38),40,15);
DRAWBAND(海,RGB(10,30,255),0,RGB(0,0,0));
DRAWBAND(天,RGB(0,0,0),200,RGB(100,140,254));
DRAWICON(CROSS(海,M),M,24);
DRAWTEXT(CROSS(海,M),60,'雄起'),COLORWHITE;
强势线:M,COLORLIGRAY,POINTDOT;
STICKLINE(高度计-海<N,0,30,1,1),COLORLIBLUE;
STICKLINE(高度计-海<N,0,3,5,1),COLORLIBLUE;
STICKLINE(高度计-海<N,30,32,5,1),COLORLIBLUE;
STICKLINE(天-高度计<N,195,200,1,0),COLORWHITE;