顶部集合指标 (源码)
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.gpxiazai.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;
- 上一篇公式:智能解盘主图指标 (源码)
- 下一篇公式:短线轨道指标 (源码)