源码

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42); 

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

{DRAWICON(BU,L-0.8,1);

DRAWICON(SEL,H+0.8,2);}

{STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORRED;

STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORRED;}

STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORGREEN;

STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORGREEN;

STICKLINE(BU,OPEN,CLOSE,2,0),COLORYELLOW;

STICKLINE(SEL,OPEN,CLOSE,2,0),COLORBLUE;

 

EMA10:=EMA(CLOSE,10),COLORWHITE;

{散户:EMA(CLOSE,5),COLORWHITE;}

绿降:(46.18*EMA(CLOSE,13)-31.82*EMA(CLOSE,4))/14.36,COLORGREEN,LINETHICK1;

操盘:=MA(CLOSE,9),COLORCYAN,LINETHICK2;

界点:MA(CLOSE,20),COLORMAGENTA;

 

均价:=(HIGH+LOW+OPEN+CLOSE)/4;

分水岭: MA(3*均价-2*SMA(均价,2,1),12),COLORFFFFFF,LINETHICK;

上涨:IF(均价>分水岭,均价,分水岭),COLORRED,LINETHICK2;

支撑: REVERSE(上涨)+2*分水岭,COLORMAGENTA;

下跌:=IF(均价<分水岭,均价,分水岭),COLORFF9933;

VAR3:=2*EMA(LLV(均价,7),10)-均价;

趋势:=3*VAR3-2*SMA(VAR3,10,2),COLORGREEN;

阻力:REVERSE(下跌)+2*分水岭,COLOR0099FF,LINETHICK2;

PARTLINE(上涨=支撑,上涨),COLORGREEN,LINETHICK2;

 

年线:=EMA(C,55);

QQ:年线-(EMA(C,13)-年线),COLORFF80FF,LINETHICK2;

 

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