以下是通达信精选MACD【底部 顶部 决策线】源码附图
底部:10;
顶部: 95;
VAR1N:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2N:=EMA(VAR1N,30);
VAR3N:=EMA(VAR2N,30);
VAR4N:=3*VAR2N-2*VAR3N;
势:EMA(VAR4N,5),COLORBLUE,LINETHICK3;
VAR5:=LLV(LOW,10);
VAR6:=HHV(HIGH,25);
DRAWTEXT(CURRBARSCOUNT=110,98,’赵红卫’),COLORRED;
决策线:EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(80,决策线),100,’减仓’),COLOR00FF00;
DRAWICON(CROSS(80,决策线),110,2);
STICKLINE(势>80,势,80,1,0),COLORGREEN;
STICKLINE(势<10,势,10,1,0),COLOR00FFFF;
DRAWTEXT(CROSS(10,势),-2.25,’低吸’),COLOR000FFF;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)