以下是同花顺红钻追涨主图源码

 DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIFF,9);

MA1:=MA(CLOSE,8);

MA2:=MA(CLOSE,21);

多头:STICKLINE(DIFF>DEA,CLOSE,OPEN,2.5,0),COLOR0000FF;

STICKLINE(DIFF>DEA,HIGH,LOW,0,0),COLOR0000FF;

空头:STICKLINE(DIFF<=DEA,CLOSE,OPEN,2.5,0),colorgreen;

STICKLINE(DIFF<=DEA,HIGH,LOW,0,0),colorgreen;

多:=EMA(C,3),coloryellow;

空:=EMA(C,5),COLOR00FF00;

均衡:EMA(空,5),colorwhite,;

中轨:HHV(MA(H,13),13),coloryellow,LINETHICK1;

趋势:LLV(MA(H,13),1),colorred,LINETHICK1;

W1:=C=HHV(C,5);

W2:=BARSLAST(W1);

W3:=IF(W2>0,REF(C,W2),REF(C,W2));

W4:=CROSS(C,REF(W3,1));

开启盛世:=W4 AND COUNT(W4,5)=1 AND 中轨=趋势;

DRAWICON(开启盛世,均衡*0.99,25),COLOR00FF00;

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