益盟操盘手的公式,觉得还可以,只是风格我不适应(跟益盟的也不一样)。
我想把公式里的风格变动一下:
1、去掉深蓝-浅蓝渐变的背景(背景换成软件默认);
2、去掉所有均线;
3、持仓阶段,真阳线用实体红色显示,遇到阴线用红色空心K线表示;
4、空仓阶段,真阴线用实体绿色显示,遇到阳线用绿色空心K线表示。
原码:
DRAWGBK(CLOSE<HHV(H,0), COLORRGB(60,15,35) ,COLORRGB(50,50,90),1);
ma3:ma(c,5),colorf00ff0;
ma10:ma(c,10),coloryellow;
ma21:ma(c,21),colore66878;
ma30:ma(c,30),colorwhite;
ma120:ma(c,120),color399c7f,pointdot;
ma240:ma(c,240),color000999,pointdot;
x1:=(C+L+H)/3;
x2:=EMA(x1,6);
x3:=EMA(x2,5);
DRAWICON(CROSS(X2,X3),L-0.1,10);
DRAWICON(CROSS(X3,X2),H+0.1,12);
stickline(x2>=x3,low,high,0.1,1),colorred;
stickline(x2>=x3,close,open,9,2),colorred;
stickline(x2>=x3,close,open,9,8),colorbrown;
stickline(x2<x3,low,high,0.1,1),colorGREEN;
stickline(x2<x3,close,open,9,2),colorGREEN;
stickline(CROSS(X2,X3),open,close,6,1),colorYELLOW;
stickline(CROSS(X3,X2),open,close,6,1),colorBLUE;