VAR1:=((C-MA(C,6))/MA(C,6)*100+(C-MA(C,24))/MA(C,24)*100+(C-MA(C,32))/MA(C,32)*100)/3;
VAR2:=HHV(VAR1>20,10);
大顶:STICKLINE(VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),35,0,1,0),COLOR00FF00;
危险: STICKLINE(VAR2 AND crOSS((REF(H,1)+REF(LOW,1))/2,MA(C,20)+2*STD(C,20)),50,0,1,0);
短底:STICKLINE(VAR1<-9 AND VAR1> REF(VAR1,1),100,70,1,0),COLORRED;
大底:STICKLINE(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),100,50,1,0),COLORYELLOW;
DRAWTEXT(VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),35,’←大顶’),COLORFFFF00;
DRAWTEXT(VAR2 AND CROSS((REF(H,1)+REF(L,1))/2,MA(C,20)+2*STD(C,20)),50,’←危险’),COLOR00FFFF;
DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),75,’←短底’),COLOR0000FF;
DRAWTEXT(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),55,’←大底’);
{www.gUPang.com 股旁网_最新股票指标公式}
VAR3:=(C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100;
卖出线:SMA(SMA(VAR3,3,1),3,1),COLORFF6633 ;
买入线:3*SMA(VAR3,3,1)-2*卖出线 ,COLORRED ;
滑脚:STICKLINE(CROSS(90,买入线),20,0,1,0),COLORFF00FF;
STICKLINE(SMA(VAR3,3,1)>卖出线,买入线,卖出线,1,0),COLORYELLOW;
DRAWTEXT(CROSS(90,买入线),20,’←滑脚’),COLORFF00FF;
0,COLORFF00FF, POINTDOT;
100,COLORFF00FF, POINTDOT;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)