通达信筹码波副图捕捉上涨异动 源码 附图

SM:=((75/85)*COST(75)+(85/85)*COST(85)+(95/85)*COST(95))/(255/85);
XM:=((75/85)*COST(25)+(85/85)*COST(15)+(95/85)*COST(5))/(255/85);
SMZ:=((70/80)*COST(70)+(80/80)*COST(80)+(90/80)*COST(90))/(240/80);
XMZ:=((70/80)*COST(30)+(80/80)*COST(20)+(90/80)*COST(10))/(240/80);
CMY:=(255*SM+240*SMZ)/495;
CMZ:=(255*XM+240*XMZ)/495;
MCM:=(1.2*(2*EMA(CMY,3)+EMA(CMY,4))/3+1.4*(EMA(CMY,6)+2*EMA(CMY,7))/3+1.6*(0.001*EMA(CMY,9)+8.999*EMA(CMY,10))/9+1.8*(2*EMA(CMY,13)+EMA(CMY,14))/3)/6;
GL:=(C-MCM)/(COST(99.999)-COST(0.001))*(100);
CMK:=(1.2*(2*EMA(GL,1)+EMA(GL,2))/3+1.4*(EMA(GL,2)+2*EMA(GL,3))/3+1.6*(0.001*EMA(GL,3)+8.999*EMA(GL,4))/9+1.8*(2*EMA(GL,5)+EMA(GL,6))/3)/6;
CMD:=(1.2*(2*EMA(CMK,3)+EMA(CMK,4))/3+1.4*(EMA(CMK,6)+2*EMA(CMK,7))/3+1.6*(0.001*EMA(CMK,9)+8.999*EMA(CMK,10))/9+1.8*(2*EMA(CMK,13)+EMA(CMK,14))/3)/6;
CMJ:=((60/9)*CMK-(50/9)*CMD)/2;
HSMJ:=HHV(HHV(HHV(HHV(HHV(HHV(CMY,11),11),11),11),11),11);
CMR:=(REF(HSMJ,1)-C)/((COST(99.999)-COST(0.001)))*(100);
WMK:=(1.2*(2*EMA(CMR,1)+EMA(CMR,2))/3+1.4*(EMA(CMR,2)+2*EMA(CMR,3))/3+1.6*(0.001*EMA(CMR,3)+8.999*EMA(CMR,4))/9+1.8*(2*EMA(CMR,5)+EMA(CMR,6))/3)/6;
WMD:=(1.2*(2*EMA(WMK,3)+EMA(WMK,4))/3+1.4*(EMA(WMK,6)+2*EMA(WMK,7))/3+1.6*(0.001*EMA(WMK,9)+8.999*EMA(WMK,10))/9+1.8*(2*EMA(WMK,13)+EMA(WMK,14))/3)/6;
浮动筹码:((60/9)*WMK-(50/9)*WMD)/2,COLORCYAN ,LINETHICK1;

CMC:=(((SM/REF(SM,1)-1)+(CMY/REF(CMY,1)-1))/2+(SM/CMY-1))/2;
SMC:=(1.2*(2*EMA(CMC,1)+EMA(CMC,2))/3+1.4*(EMA(CMC,2)+2*EMA(CMC,3))/3+1.6*(0.001*EMA(CMC,3)+8.999*EMA(CMC,4))/9+1.8*(2*EMA(CMC,5)+EMA(CMC,6))/3)/6;
FDCM:=MAX((SMC-REF(SMC,1)),0);
FD1:=(1.2*(7*SUM(FDCM,2)+2*SUM(FDCM,3))/9+1.4*(5*SUM(FDCM,4)+4*SUM(FDCM,5))/9+1.6*(3*SUM(FDCM,6)+6*SUM(FDCM,7))/9);
FD2:=(1.4*(5*SUM(FDCM,4)+4*SUM(FDCM,5))/9+1.8*(1*SUM(FDCM,8)+8*SUM(FDCM,9))/9+2.2*(6*SUM(FDCM,13)+3*SUM(FDCM,14))/9);
FD3:=(1.6*(3*SUM(FDCM,6)+6*SUM(FDCM,7))/9+2.2*(6*SUM(FDCM,13)+3*SUM(FDCM,14))/9+2.8*(0.001*SUM(FDCM,19)+8.999*SUM(FDCM,20))/9);
SB:=((FD1+FD2+FD3)/16.2);
SB13:=MAX((1*(SB-MA(SB,13))/AVEDEV(10*ABS(SB),13)+8*(SB-MA(SB,14))/AVEDEV(10*ABS(SB),14))/9*100,0);
SB27:=MAX((2*(SB-MA(SB,27))/AVEDEV(10*ABS(SB),27)+7*(SB-MA(SB,28))/AVEDEV(10*ABS(SB),28))/9*100,0);
SB41:=MAX((3*(SB-MA(SB,41))/AVEDEV(10*ABS(SB),41)+6*(SB-MA(SB,42))/AVEDEV(10*ABS(SB),42))/9*100,0);
SB55:=MAX((4*(SB-MA(SB,55))/AVEDEV(10*ABS(SB),55)+5*(SB-MA(SB,56))/AVEDEV(10*ABS(SB),56))/9*100,0);
SB69:=MAX((5*(SB-MA(SB,69))/AVEDEV(10*ABS(SB),69)+4*(SB-MA(SB,70))/AVEDEV(10*ABS(SB),70))/9*100,0);
SB83:=MAX((6*(SB-MA(SB,83))/AVEDEV(10*ABS(SB),83)+3*(SB-MA(SB,84))/AVEDEV(10*ABS(SB),84))/9*100,0);
筹码波:(1.2*SB13+1.4*SB27+1.6*SB41+1.8*SB55+2*SB69+2.2*SB83)/10.2,COLOREE33FF,LINETHICK3;

M1:=(-( HHV(EMA(C,5),14)-C)/C*5000);
M2:=(CLOSE+LOW+3*OPEN+HIGH)/6;
M3:=(20*M2+19*REF(M2,1)+18*REF(M2,2)+17*REF(M2,3)+16*REF(M2,4)+15*REF(M2,5)+14*REF(M2,6)+13*REF(M2,7)
+12*REF(M2,8)+11*REF(M2,9)+10*REF(M2,10)+9*REF(M2,11)+8*REF(M2,12)+7*REF(M2,13)+6*REF(M2,14)
+5*REF(M2,15)+4*REF(M2,16)+3*REF(M2,17)+2*REF(M2,18)+REF(M2,20))/210;
M4:=MA(M3,6);
M5:=(M3-M4)*1.2;
M6:=(O*2+H+L)/4*10;
M7:=EMA(M6,6)-EMA(M6,55);
M8:=EMA(M7,6);
M9:=(M7-M8)*0.06;
M10:=M5+M9;
M11:=M10>0;
M12:=MA(O,3),COLORRED,LINETHICK;
M13:=MA(O,13),COLORRED,LINETHICK;
M14:=MA(O,34),COLORRED,LINETHICK;
M15:=M12>=M13 AND M14>=REF(M14,1);
M16:=EMA(O,12);
M17:=EMA(O,50);
M18:=M16-M17>0;
M19:=C/REF(C,1)-1;
M20:=IF(M15,2,0)+IF(M11,2,0)+IF(M18,2,0)+M19;
M21:(M20/10+M1/1000)*100+25,COLORWHITE;
100,COLORFFFF00;
35,COLOR00FFFF;


未来函数检测结果如下:
该公式包含未来函数:COST
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图