【博易指标代码】波段顶底王指标分享——明慧期货培训网

温馨提示:您下载的指标源码仅供学习交流,据此入市风险自负!
//——————————————————————

RSVA1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSVA2:=100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9));
VAR21:=SMA(RSVA2,9,1)+100;
VAR11:=SMA(RSVA1,3,1);
VAR51:=SMA(VAR11,3,1)+100;
顶底线:=VAR51-VAR21+50;
VAR2:=LLV(LOW,33);
VAR3:=HHV(HIGH,21);
VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,10)*-1+100;//注意应将该顶底王指标创建于副图
趋势:=100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1);
底线:10,COLOR0000FF,LINETHICK3;
顶线:90,COLORCCCC00,LINETHICK3;;
Y1:=LLV(L,17);
Y2:=SMA(ABS(L-REF(L,1)),17,1);
Y3:=SMA(MAX(L-REF(L,1),0),17,2);
Q:=(EMA(IF(L<=Y1,Y2/Y3,-3),1))*-1;
STICKLINE(CROSS(Q,0),10,0,5,0),COLORYELLOW;
强拉升: IF(CROSS(Q,0),1,0),COLORYELLOW;
Q1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
STICKLINE(CROSS(Q1,-24),20,0,5,0),COLORMAGENTA;
加强拉升: IF(CROSS(Q1,-24),1,0),COLORMAGENTA;
VAR22:=EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,4),4),4);
天:=MA((VAR22-REF(VAR22,1))/REF(VAR22,1)*100,2);
地:=MA((VAR22-REF(VAR22,1))/REF(VAR22,1)*100,1);
STICKLINE(地>天 AND 地<0,10,0,5,0),COLORRED;
VAR1B:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2B:=SMA(VAR1B,9,1)+100;
VAR3B:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4B:=SMA(VAR3B,3,1);
VAR5B:=SMA(VAR4B,3,1)+100;
VAR6B:=VAR5B-VAR2B;
趋势1:IF(VAR6B>45,VAR6B-45,0),COLOR0099DD,LINETHICK4;
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;
STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,2),7,0),COLOR0000DD;
STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,2),7,0),COLOR00DD00;
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
强弱线:50,COLORGREEN,POINTDOT;
DRAWICON(BBUY&&REF(趋势1,1)<20 ,15,4);
DRAWTEXT(BBUY&&REF(趋势1,1)<20,10,’买’),COLORYELLOW;
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARR1),80,9);
DRAWTEXT(CROSS(82,VARR1),90,’顶’),COLORYELLOW;

图片[1]-【博易指标代码】波段顶底王指标分享——明慧期货培训网-明慧期货培训网,学习联系:15217215251

修改代码,右边会自动显示结果

友情提醒

期货开户,全网最低交易手续费+1分,保证金可调,开户送豪礼!
© 版权声明
THE END
喜欢就支持一下吧
点赞202赞赏 分享