MACD庄股(通达信公式 副图 源码 测试图)

[复制链接]
查看16 | 回复0 | 2022-6-27 16:21:53 | 显示全部楼层 |阅读模式

 MACD庄股

JH:=VOL*CLOSE;
JHO:=SUM(JH,2)/SUM(VOL,2);
JH0:=EMA(JHO,10);
短线:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORYELLOW;
中线:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORWHITE;
红柱持股:SMA(短线,3,1),LINETHICK0,COLORRED;
蓝柱持币:SMA(中线,3,1),COLORSTICK,COLORFFFF00;
黄柱洗盘对倒:0;
白柱对倒打压:0;
{绿}
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,3,0),COLOR009600;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,2.5,0),COLOR00A500;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,2,0),COLOR00B400;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,1.5,0),COLOR00C300;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,1,0),COLOR00D200;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,0.5,0),COLOR00E100;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,0.2,0),COLOR00F000;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,0.1,0),COLOR00FF00;
{红 分析家公式网}
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,3,0),COLOR000096;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,2.5,0),COLOR0000A5;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,2,0),COLOR0000B4;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,1.5,0),COLOR0000C3;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,1,0),COLOR0000D2;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,0.3,0),COLOR0000E1;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,0.2,0),COLOR0000F0;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股>0,0,红柱持股,0.1,0),COLOR0000FF;
{黄}
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,3,0),COLOR0000FF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,2.5,0),COLOR0033FF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,2,0),COLOR0055FF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,1.5,0),COLOR0077FF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,1,0),COLOR0099FF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,0.3,0),COLOR00BBFF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,0.2,0),COLOR00DDFF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,0.1,0),COLOR00FFFF;
{紫}
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,3,0),COLORFF00FF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,2.5,0),COLOR0033FF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,2,0),COLOR0055FF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,1.5,0),COLOR0077FF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,1,0),COLOR0099FF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,0.3,0),COLOR00BBFF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,0.2,0),COLOR00DDFF;
STICKLINE(蓝柱持币<REF(蓝柱持币,1) AND 蓝柱持币>0,0,蓝柱持币,0.1,0),COLOR00FFFF;
{黄起}
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,3,0),COLOR0077FF;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,2,0),COLOR0099FF;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,1,0),COLOR00BBFF;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,0.2,0),COLOR00DDFF;
STICKLINE(红柱持股>REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,0.1,0),COLOR00FFFF;
{蓝}
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,3,0),COLORFF0000;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,2.5,0),COLORFF0000;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,2,0),COLORFF3300;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,1.5,0),COLORFF5500;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,1,0),COLORFF7700;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,0.3,0),COLORFF9900;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,0.2,0),COLORFFBB00;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,0.1,0),COLORFFDD00;
STICKLINE(红柱持股<REF(红柱持股,1)AND 红柱持股<0,0,红柱持股,0.5,0),COLORFFFF00;
{兰}
STICKLINE(蓝柱持币>REF(蓝柱持币,1)AND 蓝柱持币<0,0,蓝柱持币,3,0),COLOR998800;
STICKLINE(蓝柱持币>REF(蓝柱持币,1)AND 蓝柱持币<0,0,蓝柱持币,2,0),COLORBBAA90;
STICKLINE(蓝柱持币>REF(蓝柱持币,1)AND 蓝柱持币<0,0,蓝柱持币,1,0),COLORDDCC99;
STICKLINE(蓝柱持币>REF(蓝柱持币,1)AND 蓝柱持币<0,0,蓝柱持币,0.2,0),COLORFFEEBB;
DRAWTEXT_FIX(ISLASTBAR,0.020,0.060,0,'  ● 黄s准备,红色买入,绿卖出,蓝色空仓。。'),COLOR00DCDC;
 

202111282104387134.png

202111282104387134.png
 

202111282104937696.png

202111282104937696.png

202111282103049268.rar

3.65 KB, 下载次数: 0

售价: 4 金钱  [记录]  [购买]

202111282103049268.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则