至尊筹码,和谐通达信源码分享(通达信公式 副图 源码 测试图)
{公式名称: 至尊筹码_公式描述:无参数公式类型: 技术指标公式-其他类型画线方法: 副图公式版本: 0显示小数: 缺省位数坐标线位置: 自动公式源码:}VAR1:=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);VAR2:=(VAR1-LLV(VAR1,27))/(HHV(VAR1,27)-LLV(VAR1,27))*4*25;VAR3:=(VAR1-LLV(VAR1,9))/(HHV(VAR1,9)-LLV(VAR1,9))*4*25;VAR4:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;VAR5:=SMA(VAR4,3,1);VAR6:=SMA(VAR5,3,1);VAR7:=INTPART(VAR5);VAR8:=INTPART(VAR6);VAR9:=VAR7+VAR8;VAR10:=VAR9-REF(VAR9,1);VAR11:=EMA(WINNER(CLOSE)*70,3);VAR12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);VAR13:=VAR12/(VAR11+VAR12)*100;VAR14:=VAR11/(VAR11+VAR12)*100;VAR15:=EMA(VAR13,55);VAR16:=EMA(VAR14,55);黄金坑:IF(VAR14<=10,VAR14,VAR14),NODRAW,COLORMAGENTA;STICKLINE(VAR10>0 AND VAR10>REF(VAR10,1),100,VAR10+100,2.5,0),COLOR0000AA;STICKLINE(VAR10>0 AND VAR10>REF(VAR10,1),100,VAR10+100,2,0),COLOR0000BB;STICKLINE(VAR10>0 AND VAR10>REF(VAR10,1),100,VAR10+100,1.5,0),COLOR0000CC;STICKLINE(VAR10>0 AND VAR10>REF(VAR10,1),100,VAR10+100,1,0),COLOR1111DC;STICKLINE(VAR10>0 AND VAR10>REF(VAR10,1),100,VAR10+100,0.5,0),COLOR0000EE;STICKLINE(VAR10>0 AND VAR10>REF(VAR10,1),100,VAR10+100,0.1,0),COLORRED;STICKLINE(VAR10<0 AND VAR10>REF(VAR10,1),100,VAR10+100,2.5,0),COLORFF9900;STICKLINE(VAR10<0 AND VAR10>REF(VAR10,1),100,VAR10+100,2,0),COLORFFBB00;STICKLINE(VAR10<0 AND VAR10>REF(VAR10,1),100,VAR10+100,1.5,0),COLORFFCC00;STICKLINE(VAR10<0 AND VAR10>REF(VAR10,1),100,VAR10+100,1,0),COLORFFDD00;STICKLINE(VAR10<0 AND VAR10>REF(VAR10,1),100,VAR10+100,0.5,0),COLORFFEE00;STICKLINE(VAR10<0 AND VAR10>REF(VAR10,1),100,VAR10+100,0.1,0),COLORCYAN;STICKLINE(VAR10>0 AND VAR10<=REF(VAR10,1),100,VAR10+100,2.5,0),COLOR117777;STICKLINE(VAR10>0 AND VAR10<=REF(VAR10,1),100,VAR10+100,2,0),COLOR119999;STICKLINE(VAR10>0 AND VAR10<=REF(VAR10,1),100,VAR10+100,1.5,0),COLOR11BBBB;STICKLINE(VAR10>0 AND VAR10<=REF(VAR10,1),100,VAR10+100,1,0),COLOR11DDDD;STICKLINE(VAR10>0 AND VAR10<=REF(VAR10,1),100,VAR10+100,0.5,0),COLOR44FFFF;STICKLINE(VAR10>0 AND VAR10<=REF(VAR10,1),100,VAR10+100,0.1,0),COLOR44FFFF;STICKLINE(VAR10<0 AND VAR10<=REF(VAR10,1),100,VAR10+100,2.5,0),COLOR007700;STICKLINE(VAR10<0 AND VAR10<=REF(VAR10,1),100,VAR10+100,2,0),COLOR009900;STICKLINE(VAR10<0 AND VAR10<=REF(VAR10,1),100,VAR10+100,1.5,0),COLOR00BB00;STICKLINE(VAR10<0 AND VAR10<=REF(VAR10,1),100,VAR10+100,1,0),COLOR00DD00;STICKLINE(VAR10<0 AND VAR10<=REF(VAR10,1),100,VAR10+100,0.5,0),COLOR00F000;STICKLINE(VAR10<0 AND VAR10<=REF(VAR10,1),100,VAR10+100,0.2,0),COLORGREEN;STICKLINE(VAR10=0 AND REF(VAR10,1)>=0,100,VAR10+100,8,0),COLORBROWN;STICKLINE(VAR10=0 AND REF(VAR10,1)<0,100,VAR10+100,8,0),COLORWHITE;STICKLINE(CLOSE>0,VAR13,VAR14,2.5,0),COLOR777777;STICKLINE(CLOSE>0,VAR13,VAR14,1.9,0),COLOR999999;STICKLINE(CLOSE>0,VAR13,VAR14,1.6,0),COLORBBBBBB;STICKLINE(CLOSE>0,VAR13,VAR14,1.3,0),COLORBBBBBB;STICKLINE(CLOSE>0,VAR13,VAR14,1,0),COLORDFDFDF;STICKLINE(CLOSE>0,VAR13,VAR14,0.7,0),COLORF0F0F0;STICKLINE(CLOSE>0,VAR13,VAR14,0.4,0),COLORF0F0F0;STICKLINE(CLOSE>0,VAR13,VAR14,0.1,0),COLORWHITE;STICKLINE(VAR15>REF(VAR15,1),VAR13,VAR15,2.5,0),COLOR555555;STICKLINE(VAR14>REF(VAR14,1) AND VAR14>20,VAR14,20,2.5,0),COLOR880088;STICKLINE(VAR14>REF(VAR14,1) AND VAR14>20,VAR14,20,2,0),COLOR880088;STICKLINE(VAR14>REF(VAR14,1) AND VAR14>20,VAR14,20,1.5,0),COLORAA00AA;STICKLINE(VAR14>REF(VAR14,1) AND VAR14>20,VAR14,20,1,0),COLORCC00CC;STICKLINE(VAR14>REF(VAR14,1) AND VAR14>20,VAR14,20,0.5,0),COLOREE00EE;STICKLINE(VAR14>REF(VAR14,1) AND VAR14>20,VAR14,20,0.1,0),COLORFF44FF;STICKLINE(VAR14<=REF(VAR14,1) AND VAR14>20,VAR14,20,2.5,0),COLORFF9900;STICKLINE(VAR14<=REF(VAR14,1) AND VAR14>20,VAR14,20,2,0),COLORFFBB00;STICKLINE(VAR14<=REF(VAR14,1) AND VAR14>20,VAR14,20,1.5,0),COLORFFCC00;STICKLINE(VAR14<=REF(VAR14,1) AND VAR14>20,VAR14,20,1,0),COLORFFDD00;STICKLINE(VAR14<=REF(VAR14,1) AND VAR14>20,VAR14,20,0.5,0),COLORFFEE00;STICKLINE(VAR14<=REF(VAR14,1) AND VAR14>20,VAR14,20,0.1,0),COLORCYAN;STICKLINE(VAR14>REF(VAR14,1) AND VAR14<20,VAR14,0,2.5,0),COLOR0000AA;STICKLINE(VAR14>REF(VAR14,1) AND VAR14<20,VAR14,0,2,0),COLOR0000BB;STICKLINE(VAR14>REF(VAR14,1) AND VAR14<20,VAR14,0,1.5,0),COLOR0000CC;STICKLINE(VAR14>REF(VAR14,1) AND VAR14<20,VAR14,0,1,0),COLOR0000DD;STICKLINE(VAR14>REF(VAR14,1) AND VAR14<20,VAR14,0,0.5,0),COLOR0000EE;STICKLINE(VAR14>REF(VAR14,1) AND VAR14<20,VAR14,0,0.1,0),COLORRED;STICKLINE(VAR14<=REF(VAR14,1) AND VAR14<20,VAR14,0,2.5,0),COLORAA0000;STICKLINE(VAR14<=REF(VAR14,1) AND VAR14<20,VAR14,0,1.5,0),COLORCC0000;STICKLINE(VAR14<=REF(VAR14,1) AND VAR14<20,VAR14,0,0.5,0),COLORBLUE;STICKLINE(VAR16>REF(VAR16,1),VAR14,VAR16,2.5,0),COLOR117777;STICKLINE(VAR16>REF(VAR16,1),VAR14,VAR16,2,0),COLOR119999;STICKLINE(VAR16>REF(VAR16,1),VAR14,VAR16,1.5,0),COLOR11BBBB;STICKLINE(VAR16>REF(VAR16,1),VAR14,VAR16,1,0),COLOR11DDDD;STICKLINE(VAR16>REF(VAR16,1),VAR14,VAR16,0.5,0),COLOR44FFFF;STICKLINE(VAR16>REF(VAR16,1),VAR14,VAR16,0.1,0),COLOR44FFFF;STICKLINE(VAR14>VAR16 AND VAR16>50,VAR14,VAR16,2.5,0),COLOR0000AA;STICKLINE(VAR14>VAR16 AND VAR16>50,VAR14,VAR16,1.5,0),COLOR0022CC;STICKLINE(VAR14>VAR16 AND VAR16>50,VAR14,VAR16,0.5,0),COLOR0055FF;STICKLINE(VAR14>VAR16 AND VAR16<50 AND VAR14>50 AND VAR16>REF(VAR16,1),VAR14,50,2.5,0),COLOR0000AA;STICKLINE(VAR14>VAR16 AND VAR16<50 AND VAR14>50 AND VAR16>REF(VAR16,1),VAR14,50,1.5,0),COLOR071378;STICKLINE(VAR14>VAR16 AND VAR16<50 AND VAR14>50 AND VAR16>REF(VAR16,1),VAR14,50,1.5,0),COLOR0022CC;STICKLINE(VAR14>VAR16 AND VAR16<50 AND VAR14>50 AND VAR16>REF(VAR16,1),VAR14,50,1,0),COLOR0022CC;STICKLINE(VAR14>VAR16 AND VAR16<50 AND VAR14>50 AND VAR16>REF(VAR16,1),VAR14,50,0.5,0),COLOR0055FF;STICKLINE(VAR14>VAR16 AND VAR16<50 AND VAR14>50 AND VAR16>REF(VAR16,1),VAR14,50,0.1,0),COLOR4070FF;STICKLINE(VAR14>80,VAR14,VAR14-(VAR14-80)/2,2.5,0),COLOR00AA00;STICKLINE(VAR14>80,VAR14,VAR14-(VAR14-80)/2,1.5,0),COLOR00CC00;STICKLINE(VAR14>80,VAR14,VAR14-(VAR14-80)/2,0.5,0),COLORGREEN;STICKLINE(VAR14<=10,VAR14,0,5,0),COLORYELLOW;VAR17:=100;VAR18:=80;VAR2,COLOR00FFAA,LINETHICK2;
VAR3,LINESTICK,COLORFF68DD;