以下是通达信快线慢线—高抛低吸指标副图源码

通达信快线慢线—高抛低吸指标副图源码

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 JJ:=9*(3*D-2*K);
 J:=((3 * K) – (2 * D));
 MAIRU:= CROSS(K,D) AND K<20;
 MAICHU:= CROSS(D,K) AND D>80;
快线:(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2,COLORRED;
慢线:SMA(快线,3,1),COLORFFFF00;
空:SMA(慢线,3,1),COLORCD7F32;
牛股:IF(BARSLAST(CROSS(慢线,空))<9 AND CROSS(慢线,空) AND 慢线<20,90,0),STICK,COLORFF937F;
 STICKLINE(牛股,0,90,1,0),COLORFF937F;
 BB:=IF(BARSLAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<30,20,0);
 STICKLINE(BB,0,-20,3,0),COLORYELLOW;
低买:IF(BB,-20,-40),COLORYELLOW;
 DRAWICON(BB>0,-35,7);
 AA:=IF(BARSLAST(CROSS(快线,慢线))>=4 AND CROSS(慢线,快线) AND 快线>50,20,0);
 STICKLINE(AA,100,120,3,0),COLOR00FF00;
高卖:IF(AA,120,140),COLOR00FF00;
 DRAWICON(AA>0,150,8);

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