在线检测未来函数

通达信喇叭筹码指标公式

来源:Internet,编辑:股旁网,2023-12-26

X_1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X_2:=(X_1-LLV(X_1,27))/(HHV(X_1,27)-LLV(X_1,27))*4*25;
X_3:=(X_1-LLV(X_1,9))/(HHV(X_1,9)-LLV(X_1,9))*4*25;
X_4:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
X_5:=SMA(X_4,3,1);
X_6:=SMA(X_5,3,1);
X_7:=INTPART(X_5);
X_8:=INTPART(X_6);
X_9:=X_7+X_8;
X_10:=X_9-REF(X_9,1);
X_11:=EMA(WINNER(CLOSE)*70,3);
X_12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
X_13:=X_12/(X_11+X_12)*100;
X_14:=X_11/(X_11+X_12)*100;
X_15:=EMA(X_13,55);
X_16:=EMA(X_14,55);
黄金坑:IF(X_14<=10,X_14,X_14),NODRAW,COLORMAGENTA;
STICKLINE(X_10>0 AND X_10>REF(X_10,1),100,X_10+100,2.5,0),COLOR0000AA;
STICKLINE(X_10>0 AND X_10>REF(X_10,1),100,X_10+100,2,0),COLOR0000BB;
STICKLINE(X_10>0 AND X_10>REF(X_10,1),100,X_10+100,1.5,0),COLOR0000CC;
STICKLINE(X_10>0 AND X_10>REF(X_10,1),100,X_10+100,1,0),COLOR1111DC;
STICKLINE(X_10>0 AND X_10>REF(X_10,1),100,X_10+100,0.5,0),COLOR0000EE;
STICKLINE(X_10>0 AND X_10>REF(X_10,1),100,X_10+100,0.1,0),COLORRED;
STICKLINE(X_10<0 AND X_10>REF(X_10,1),100,X_10+100,2.5,0),COLORFF9900;
STICKLINE(X_10<0 AND X_10>REF(X_10,1),100,X_10+100,2,0),COLORFFBB00;
STICKLINE(X_10<0 AND X_10>REF(X_10,1),100,X_10+100,1.5,0),COLORFFCC00;
STICKLINE(X_10<0 AND X_10>REF(X_10,1),100,X_10+100,1,0),COLORFFDD00;
STICKLINE(X_10<0 AND X_10>REF(X_10,1),100,X_10+100,0.5,0),COLORFFEE00;
STICKLINE(X_10<0 AND X_10>REF(X_10,1),100,X_10+100,0.1,0),COLORCYAN;
STICKLINE(X_10>0 AND X_10<=REF(X_10,1),100,X_10+100,2.5,0),COLOR117777;
STICKLINE(X_10>0 AND X_10<=REF(X_10,1),100,X_10+100,2,0),COLOR119999;
STICKLINE(X_10>0 AND X_10<=REF(X_10,1),100,X_10+100,1.5,0),COLOR11BBBB;
STICKLINE(X_10>0 AND X_10<=REF(X_10,1),100,X_10+100,1,0),COLOR11DDDD;
STICKLINE(X_10>0 AND X_10<=REF(X_10,1),100,X_10+100,0.5,0),COLOR44FFFF;
STICKLINE(X_10>0 AND X_10<=REF(X_10,1),100,X_10+100,0.1,0),COLOR44FFFF;
STICKLINE(X_10<0 AND X_10<=REF(X_10,1),100,X_10+100,2.5,0),COLOR007700;
STICKLINE(X_10<0 AND X_10<=REF(X_10,1),100,X_10+100,2,0),COLOR009900;
STICKLINE(X_10<0 AND X_10<=REF(X_10,1),100,X_10+100,1.5,0),COLOR00BB00;
STICKLINE(X_10<0 AND X_10<=REF(X_10,1),100,X_10+100,1,0),COLOR00DD00;
STICKLINE(X_10<0 AND X_10<=REF(X_10,1),100,X_10+100,0.5,0),COLOR00F000;
STICKLINE(X_10<0 AND X_10<=REF(X_10,1),100,X_10+100,0.2,0),COLORGREEN;
STICKLINE(X_10=0 AND REF(X_10,1)>=0,100,X_10+100,8,0),COLORBROWN;
STICKLINE(X_10=0 AND REF(X_10,1)<0,100,X_10+100,8,0),COLORWHITE;
STICKLINE(CLOSE>0,X_13,X_14,2.5,0),COLOR777777;
STICKLINE(CLOSE>0,X_13,X_14,1.9,0),COLOR999999;
STICKLINE(CLOSE>0,X_13,X_14,1.6,0),COLORBBBBBB;
STICKLINE(CLOSE>0,X_13,X_14,1.3,0),COLORBBBBBB;
STICKLINE(CLOSE>0,X_13,X_14,1,0),COLORDFDFDF;
STICKLINE(CLOSE>0,X_13,X_14,0.7,0),COLORF0F0F0;
STICKLINE(CLOSE>0,X_13,X_14,0.4,0),COLORF0F0F0;
STICKLINE(CLOSE>0,X_13,X_14,0.1,0),COLORWHITE;
STICKLINE(X_15>REF(X_15,1),X_13,X_15,2.5,0),COLOR555555;
STICKLINE(X_14>REF(X_14,1) AND X_14>20,X_14,20,2.5,0),COLOR880088;
STICKLINE(X_14>REF(X_14,1) AND X_14>20,X_14,20,2,0),COLOR880088;
STICKLINE(X_14>REF(X_14,1) AND X_14>20,X_14,20,1.5,0),COLORAA00AA;
STICKLINE(X_14>REF(X_14,1) AND X_14>20,X_14,20,1,0),COLORCC00CC;
STICKLINE(X_14>REF(X_14,1) AND X_14>20,X_14,20,0.5,0),COLOREE00EE;
STICKLINE(X_14>REF(X_14,1) AND X_14>20,X_14,20,0.1,0),COLORFF44FF;
STICKLINE(X_14<=REF(X_14,1) AND X_14>20,X_14,20,2.5,0),COLORFF9900;
STICKLINE(X_14<=REF(X_14,1) AND X_14>20,X_14,20,2,0),COLORFFBB00;
STICKLINE(X_14<=REF(X_14,1) AND X_14>20,X_14,20,1.5,0),COLORFFCC00;
STICKLINE(X_14<=REF(X_14,1) AND X_14>20,X_14,20,1,0),COLORFFDD00;
STICKLINE(X_14<=REF(X_14,1) AND X_14>20,X_14,20,0.5,0),COLORFFEE00;
STICKLINE(X_14<=REF(X_14,1) AND X_14>20,X_14,20,0.1,0),COLORCYAN;
STICKLINE(X_14>REF(X_14,1) AND X_14<20,X_14,0,2.5,0),COLOR0000AA;
STICKLINE(X_14>REF(X_14,1) AND X_14<20,X_14,0,2,0),COLOR0000BB;
STICKLINE(X_14>REF(X_14,1) AND X_14<20,X_14,0,1.5,0),COLOR0000CC;
STICKLINE(X_14>REF(X_14,1) AND X_14<20,X_14,0,1,0),COLOR0000DD;
STICKLINE(X_14>REF(X_14,1) AND X_14<20,X_14,0,0.5,0),COLOR0000EE;
STICKLINE(X_14>REF(X_14,1) AND X_14<20,X_14,0,0.1,0),COLORRED;
STICKLINE(X_14<=REF(X_14,1) AND X_14<20,X_14,0,2.5,0),COLORAA0000;
STICKLINE(X_14<=REF(X_14,1) AND X_14<20,X_14,0,1.5,0),COLORCC0000;
STICKLINE(X_14<=REF(X_14,1) AND X_14<20,X_14,0,0.5,0),COLORBLUE;
STICKLINE(X_16>REF(X_16,1),X_14,X_16,2.5,0),COLOR117777;
STICKLINE(X_16>REF(X_16,1),X_14,X_16,2,0),COLOR119999;
STICKLINE(X_16>REF(X_16,1),X_14,X_16,1.5,0),COLOR11BBBB;
STICKLINE(X_16>REF(X_16,1),X_14,X_16,1,0),COLOR11DDDD;
STICKLINE(X_16>REF(X_16,1),X_14,X_16,0.5,0),COLOR44FFFF;
STICKLINE(X_16>REF(X_16,1),X_14,X_16,0.1,0),COLOR44FFFF;
STICKLINE(X_14>X_16 AND X_16>50,X_14,X_16,2.5,0),COLOR0000AA;
STICKLINE(X_14>X_16 AND X_16>50,X_14,X_16,1.5,0),COLOR0022CC;
STICKLINE(X_14>X_16 AND X_16>50,X_14,X_16,0.5,0),COLOR0055FF;
STICKLINE(X_14>X_16 AND X_16<50 AND X_14>50 AND X_16>REF(X_16,1),X_14,50,2.5,0),COLOR0000AA;
STICKLINE(X_14>X_16 AND X_16<50 AND X_14>50 AND X_16>REF(X_16,1),X_14,50,1.5,0),COLOR071378;
STICKLINE(X_14>X_16 AND X_16<50 AND X_14>50 AND X_16>REF(X_16,1),X_14,50,1.5,0),COLOR0022CC;
STICKLINE(X_14>X_16 AND X_16<50 AND X_14>50 AND X_16>REF(X_16,1),X_14,50,1,0),COLOR0022CC;
STICKLINE(X_14>X_16 AND X_16<50 AND X_14>50 AND X_16>REF(X_16,1),X_14,50,0.5,0),COLOR0055FF;
STICKLINE(X_14>X_16 AND X_16<50 AND X_14>50 AND X_16>REF(X_16,1),X_14,50,0.1,0),COLOR4070FF;
STICKLINE(X_14>80,X_14,X_14-(X_14-80)/2,2.5,0),COLOR00AA00;
STICKLINE(X_14>80,X_14,X_14-(X_14-80)/2,1.5,0),COLOR00CC00;
STICKLINE(X_14>80,X_14,X_14-(X_14-80)/2,0.5,0),COLORGREEN;
STICKLINE(X_14<=10,X_14,0,5,0),COLORYELLOW;
X_2,COLOR00FFAA,LINETHICK2;
X_3,LINESTICK,COLORFF68DD;

通达信喇叭筹码指标公式

相关文章