提前量指标(通达信公式 副图 源码 测试图)

 2022-12-02 14:46:27    通达信指标网  

X_1:=12;X_2:=26;X_3:=9;
X_4:=(CLOSE+LOW+HIGH+OPEN)/ 4;
X_5:=EMA(X_4,5)-EMA(X_4,13);
X_6:=EMA(X_5,4);
X_7:=EMA ((X_5-X_6)*200,2);
红柱持股:X_7, NODRAW;
黄色高抛:X_7, NODRAW;
蓝柱持币:X_7, NODRAW ;
紫色反弹:X_7, NODRAW ;
STICKLINE(X_7<REF(X_7,1)AND X_7>0,0,X_7,6,0), COLOR003333;STICKLINE(X_7<REF(X_7,1)AND X_7>0,0,X_7,3.5,0),COLOR004444;
STICKLINE(X_7<REF(X_7,1)AND X_7>0,0,X_7,3,0), COLOR005555;STICKLINE(X_7<REF(X_7,1)AND X_7>0,0,X_7,2.5,0), COLOR007777;
STICKLINE(X_7<REF(X_7,1)AND X_7>0,0,X_7,2,0), COLOR009999;STICKLINE(X_7<REF(X_7,1) AND X_7>0,0,X_7,1.5,0), COLOR00BBBB;
STICKLINE(X_7<REF(X_7,1) AND X_7>0,0,X_7,1,0), COLOR00DDDD;STICKLINE(X_7<REF(X_7,1) AND X_7>0,0,X_7,0.5,0), COLORYELLOW;
STICKLINE(X_7>=REF(X_7,1)AND X_7>0,0,X_7,6,0),COLOR000033;STICKLINE(X_7>=REF(X_7,1) AND X_7>0,0,X_7,3.5,0), COLOR000044;
STICKLINE(X_7>=REF(X_7,1) AND X_7>0,0,X_7,3,0),COLOR000055;STICKLINE(X_7>=REF(X_7,1) AND X_7>0,0,X_7,2.5,0),COLOR000077;
STICKLINE(X_7>=REF(X_7,1) AND X_7>0,0,X_7,2,0), COLOR000099 ;STICKLINE(X_7>=REF(X_7,1) AND X_7>0,0,X_7,1.5,0), COLOR0000BB;
STICKLINE(X_7>=REF(X_7,1) AND X_7>0,0,X_7,1,0), COLOR0000BB;STICKLINE(X_7>=REF(X_7,1) AND X_7>0,0,X_7,0.5,0), COLORRED;
STICKLINE(X_7>REF(X_7,1) AND X_7<0,0,X_7,6,0), COLORFF00CA;STICKLINE(X_7>REF(X_7,1) AND X_7<0,0,X_7,3.5,0), COLORFF00CC;
STICKLINE(X_7>REF(X_7,1) AND X_7<0,0,X_7,3,0),COLORFF00DB;STICKLINE(X_7>REF(X_7,1) AND X_7<0,0,X_7,2.5,0), COLORFF00DD;
STICKLINE(X_7>REF(X_7,1) AND X_7<0,0,X_7,2,0),COLORFF00DF;STICKLINE(X_7>REF(X_7,1) AND X_7<0,0,X_7,1.5,0), COLORFF00EE;
STICKLINE(X_7>REF(X_7,1)AND X_7<0,0,X_7,1,0), COLORFF00EF;STICKLINE(X_7>REF(X_7,1) AND X_7<0,0,X_7,0.5,0), COLORMAGENTA;
STICKLINE(X_7<=REF(X_7,1)AND X_7<0,0,X_7,6,0), COLOR333300;STICKLINE(X_7<=REF(X_7,1) AND X_7<0,0,X_7,3.5,O), COLOR444400;
STICKLINE(X_7<=REF(X_7,1)AND X_7<0,0,X_7,3,0),COLOR555500;STICKLINE(X_7<=REF(X_7,1)AND X_7<0,0,X_7,2.5,0),COLOR777700;
STICKLINE(X_7<=REF(X_7,1)AND X_7<0,0,X_7,2,0), COLOR999900;STICKLINE(X_7<=REF(X_7,1)AND X_7<0,0,X_7,1.5,0), COLORBBBB00;
STICKLINE(X_7<=REF(X_7,1) AND X_7<0,0,X_7,1,0),COLORDDDD00;STICKLINE(X_7<=REF(X_7,1)
AND X_7<0, 0, X_7,0.5, 0) , COLORCYAN;
X_8:=(EMA (CLOSE,12)-EMA (CLOSE,26))*100;
X_9:=EMA(X_8,9);
X_10:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;X_11:=SMA (X_10,2,1);
X_12:=SMA(X_1,2,1) ;X_13:=3*X_11-2*X_12;
X_14:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)/100;
X_15:=EMA(100*(INDEXC-LLV(INDEXC,34))/(HHV(INDEXH,34)-LLV(INDEXL, 34)),3)/100;
KJ共振:CROSS (X_8,X_9)AND CROSS(X_11,X_12)AND X_14>X_15;
DRAWTEXT (KJ共振,红柱持股,X_7),COLORGREEN;
四连阳:EVERY(红柱持股>REF(红柱持股,1),4),NODRAW ;
LAST((HIGH-LOW)/REF(CLOSE,1)<0.1,20,0)  AND VOL>REF(V,1)*2 AND CLOSE>REF(C,1)*1.03
AND DMI.PDI>DMI.MDI AND CROSS(DMI.ADX, DMI.ADXR)AND DMI.ADXR>DMI.MDI AND DMI.PDI>DMI.ADX AND KDJ.D>REF(KDJ.D,1);


  •  标签:  

原文链接:https://www.tdxzb.com/?id=825

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服