当前位置:首页 > 同花顺公式 > 内容

同花顺成本通道MCST主图副图源码

作者:公式指标网   更新时间:2017-09-28   点击:

成本通道MCST主图
 应用法则:
1.MCST是市场平均成本价格。
2.MCST上升表明市场筹码平均持有成本上升;MCST下降表明市场筹码平均持有成本下降。
3.当股价在MCST曲线下方翻红时应关注,若向上突破MCST曲线应买入。
4.该指标应结合布林线使用。
5、本指标有未来函数,不喜欢未来函数的朋友勿安排使用。


DRAWGBK(O>C,RGB(0,0,140),RGB(0,0,60),0,'01',0);
 MCST:DMA(AMOUNT/(100*VOL),VOL/CAPITAL),COLORFF9900,DOTLINE;
 DRAWTEXT(ISLASTBAR,MCST,'市场成本'),COLOR00FF00;
 DRAWBAND(MCST*1.092,RGB(60,0,60),MCST,RGB(60,0,60));
 DRAWBAND(MCST,RGB(0,60,0),MCST*0.908,RGB(0,60,0));
 DMA(AMOUNT/(100*VOL),VOL/CAPITAL),COLORFF9900,DOTLINE;
 MCST*1.092 ,COLOR0077FF;
 MCST*0.908 ,COLOR00FF00;
 MA5:WMA(C,5),COLOR00FF00,DOTLINE;
 IF(MA5>REF(MA5,1),MA5,DRAWNULL),colorred,LINETHICK3;
 RC:=(H+L+C*2)/4;
 R2D:=WMA(RC,27);
 R2E:=STD(RC,27);
 R3F:=(RC-R2D)/R2E*100;
 R40:=WMA(R3F,3);
 R41:=WMA(R40,3);
 JD:=WMA(R41,2);
 AJ:=3*R41-2*JD;
 DRAWTEXT(CROSS(AJ,JD) ,L-0.05,'←'),COLOR00FFFF,LINETHICK2;
 DRAWTEXT(CROSS(JD,AJ) ,H+0.05,'←'),COLOR0044FF,LINETHICK2;
 STICKLINE(CLOSE>OPEN OR CLOSE=OPEN AND CLOSE>REF(CLOSE,1),LOW,HIGH,0.0,0),colorred;
 STICKLINE(CLOSE<OPEN OR CLOSE=OPEN AND CLOSE<=REF(CLOSE,1),LOW,HIGH,0.0,0),colorcyan;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR008800;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00AA00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00DD00;
 STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR000088;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000AA;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000DD;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLOR0000FF;
 A:=SUMBARS(V,CAPITAL*1);
 A1:=SUM(COST(10),A)/A;
 A2:=SUM(COST(20),A)/A;
 A3:=SUM(COST(30),A)/A;
 A4:=SUM(COST(40),A)/A;
 A5:=SUM(COST(50),A)/A;
庄家成本:(5*A1+4*A2+3*A3+2*A4+A5)/15,COLORFF9900, CIRCLEDOT;
 DRAWTEXT(ISLASTBAR,庄家成本,'庄家成本'),coloryellow;
 MCST:DMA(AMOUNT/(100*VOL),VOL/CAPITAL);
 DRAWKLINE(H,O,L,C);


同花顺成本通道MCST主图副图源码

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by gszx.com.cn Mobile Web