以下是大智慧版秘密筹码指标公式

X1:=(EMA(C,5)-EMA(C,13))/EMA(C,13)*100;
 X2:=(EMA(C,5)-EMA(C,34))/EMA(C,13)*100;
 X3:=(EMA(C,5)-EMA(C,60))/EMA(C,13)*100;
 X4:=(EMA(C,5)-EMA(C,120))/EMA(C,13)*100;
 X5:=V/CAPITAL*(C+O+L+H)/4;
 x6:=(H-MAX(C,O))-(MIN(C,O)-L)+(C-REF(C,1));
 x7:=IF(x6>0,X5,0-X5);
 x8:=H-MAX(C,O)-(MIN(C,O)-L);
 x9:=(x7+x8)/2+C-REF(C,1);
 x10:=SUM(x9,0)+100;
 x11:=EMA(x10,5)+100;
 x12:=EMA(x10,13)+100;
 x13:=EMA(x10,34)+100;
 x14:=EMA(x10,60)+100;
 x15:=EMA(x10,120)+100;
 x16:=(x11-x12)/EMA(C,13)*100;
 x17:=(x11-x13)/EMA(C,13)*100;
 x18:=(x11-x14)/EMA(C,13)*100;
 x19:=(x11-x15)/EMA(C,13)*100;
 x20:=(x19-x16);
 x21:=(x19-x17);
 x22:=(x19-x18);
 y1:=3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1);
 y2:=2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
 y3:=y1-y2;
 y4:=100-y3;
 y5:=(0-(EMA(y4,1)-50))+50;
 y6:=(0-(EMA(y4,12)-50))+50;
 Z1:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1);
 Z2:=2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
 Z3:=(Z1-Z2-50)*1.032+50;
 Z4:=(2*C+H+L+O)/5;
 Z5:=EMA((Z4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13);
 P0:X4-X1+x20+y5-y6,COLORYELLOW;
 P1:X4-X1+x20,COLORRED;
 P2:X4-X2+x21,COLORMAGENTA;
 P3:X4-X3+x22,COLORWHITE;
 P4:(Z3-Z5)/2+P0,COLORGREEN;
 {筹码}
bb1:=SMA(ABS(L-REF(L,1)),3,1);
 bb2:=SMA(MAX((L-REF(L,1)),0),3,1);
 bb3:=bb1/bb2*100;
 bb4:=EMA(IF(C*1.2,bb3*10,bb3/10),3);
 bb5:=LLV(L,38);
 bb6:=HHV(bb4,38);
 bb7:=IF(LLV(L,90),1,0);
 bb8:=IF(L<=bb5,(bb4+bb6*2)/2,0);
 bb9:=EMA(bb8,3)/618*bb7;

{—————–【图解模板】———————}
FILLRGN(P2,P3,(P2 < P3)),COLORBLUE;{蓝}
FILLRGN(P1,P2,(P1 < P2)),COLORCYAN;{青}
FILLRGN(P0,P1,(P0 < P1)),COLORGRAY;{灰}
FILLRGN(P4,P0,(P4 < P0)),COLORWHITE;{白}

FILLRGN(P2,P3,(P2 > P3)),COLORMAGENTA;{晶红}
FILLRGN(P1,P2,(P1 > P2)),COLORRED;{红}
FILLRGN(P0,P1,(P0 > P1)),COLORYELLOW;{黄}
FILLRGN(P4,P0,(P4 > P0)),COLORGREEN;{绿}
aa:0;
主力秘密筹码:STICKLINE(bb9,0,bb9,6,1),Culor0089FF;{橙色};

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