以下是通达信KDJ副图强大指标公源码无未来!

VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
 K13:SMA(VAR13,3,1), COLORWHITE;
 D13:SMA(K13,3,1), COLORWHITE;
 VAR21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
 K21:SMA(VAR21,3,1), COLORGREEN;
 D21:SMA(K21,3,1), COLORGREEN;
 VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
 K34:SMA(VAR34,3,1), COLORYELLOW;
 D34:SMA(K34,3,1), COLORYELLOW;
 VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
 K55:SMA(VAR55,3,1),COLORRED;
 D55:SMA(K55,3,1),COLORRED;
 20,COLORWHITE;
 80,COLORWHITE; 
 DIBU:= K13<20 AND D13<20 AND K21<20 AND D21<20 AND K34<20 AND D34<20 AND K55<20 AND D55<20;
 STICKLINE(DIBU=1,80,60,5.8,1),COLORRED;
 TOBU:= K13>80 AND D13>80 AND K21>80 AND D21>80 AND K34>80 AND D34>80 AND K55>80 AND D55>80;
 STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;

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