以下是同花顺阶段见顶副图源码

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),13,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,colorblue;
 DRAWTEXT(CROSS(100,QUSHI),100,’逃’);

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