以下是同花顺趋势三线副图指标

同花顺趋势三线副图指标

源码

Vara1:=(EMA(CLOSE,3)+EMA(CLOSE,5)+EMA(CLOSE,8)+EMA(CLOSE,13))/4;Vara2:=(EMA(CLOSE,13)+EMA(CLOSE,21)+EMA(CLOSE,34)+EMA(CLOSE,55))/4;Vara3:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;动向趋势:MA(CLOSE,3),colorgreen,LINETHICK2;多方趋势:MA(CLOSE,9),COLOR00FFFF,LINETHICK2;爆发趋势:MA(CLOSE,18),colorblue,LINETHICK2;黄底:=(SMA(HIGH,19,3) * 1);STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,9,0),colorFF5B00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8,0),colorFF6C00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),colorFF7B00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),colorFF9C00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),colorFFBE00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3.5,0),colorFFCC00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,9,0),color070084;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),color0000A3;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),color0000B7;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color0000CD;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color0000E9;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),color0754E9;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1.5,0),color076EF3;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),color077BF3;STICKLINE((CLOSE > OPEN),OPEN,LOW,1,0),color0726CA;STICKLINE((CLOSE > OPEN),CLOSE,HIGH,1,0),color0726CA;STICKLINE((OPEN > CLOSE),CLOSE,LOW,1,0),colorDE9100;STICKLINE((OPEN > CLOSE),OPEN,HIGH,1,0),colorDE9100;STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 黄底)) AND ((CLOSE – REF(CLOSE,1)) > 0)),CLOSE,OPEN,9,0),color0090FF;STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 黄底)) AND ((CLOSE – REF(CLOSE,1)) > 0)),CLOSE,OPEN,8,0),color009FFF;STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 黄底)) AND ((CLOSE – REF(CLOSE,1)) > 0)),CLOSE,OPEN,4,0),color00B5FF;STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 黄底)) AND ((CLOSE – REF(CLOSE,1)) > 0)),CLOSE,OPEN,2,0),color00E4FF;STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 黄底)) AND ((CLOSE – REF(CLOSE,1)) > 0)),OPEN,LOW,0.7,0),color00FFFF;STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 黄底)) AND ((CLOSE – REF(CLOSE,1)) > 0)),CLOSE,HIGH,0.7,0),color00FFFF;STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 黄底)) AND (CLOSE < 黄底)),OPEN,LOW,0.7,0),colorFF76FF;STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 黄底)) AND (CLOSE < 黄底)),CLOSE,HIGH,0.7,0),colorFF76FF;STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 黄底)) AND (CLOSE < 黄底)),CLOSE,OPEN,9,0),colorFF00FF;STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 黄底)) AND (CLOSE < 黄底)),CLOSE,OPEN,6,0),colorFF62FF;STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 黄底)) AND (CLOSE < 黄底)),CLOSE,OPEN,4,0),colorFF76FF;STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 黄底)) AND (CLOSE < 黄底)),CLOSE,OPEN,2,0),colorFFA8FF;DRAWTEXT(LONGCROSS(Vara1-Vara2,0,1) OR LONGCROSS(CLOSE,动向趋势,5) ,L*0.98,’▲ ‘),ALIGN1,CulorFFFF00;DRAWTEXT(FILTER(CROSS(86,Vara3) ,5 ),H*1.02,’★’),ALIGN2,colorblue;

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