以下是同花顺小牛波段顶底副图源码

说明,无未来,此指标在别人基础上优化,感谢源代码提供者。

VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
 VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
 VAR3:=EMA(VAR2,10);
 VAR4:=LLV(LOW,33);
 QUSHI: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),9,1),COLOR0000FF;
 JIANDI: 1;
 MAIRU: IF(CROSS(QUSHI,JIANDI),100,0),colorred,LINETHICK2;
 VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
 STICKLINE(VAR5>REF(VAR5,1),0,VAR5,4,0 ),COLOR00FF55;
 STICKLINE(VAR5<REF(VAR5,1),0,VAR5,4,0),COLOR0000FF;
 DADI:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,100,0),LINETHICK2,colorred;
 DRAWICON(DADI=100,100,1),LINETHICK0,colorred;
 DRAWTEXT(CROSS(100,QUSHI),100,”);
分界线:100;
 DRAWTEXT(QUSHI<0,QUSHI,’始’);
DRAWTEXT(QUSHI>100,QUSHI,’终’);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。