C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {波段圣手}
- MA5:MA(CLOSE,5),ColorFFFfff,linethick1;
- MA10:MA(CLOSE,10),Color00Ffff,linethicK1;
- MA20:MA(CLOSE,20),Color00ff00,linethick1;
- MA30:MA(CLOSE,30),ColorFF00ff,linethick1;
- MA60:MA(CLOSE,60),Color0000ff,linethick1;
- MA120:MA(CLOSE,120),ColorFFff00,linethick1;
- angel:EMA(C,2),color000000;
- devil:EMA(SLOPE(C,21)*20+C,42),pointdot,color000000;
- BUY:=cross(angel,devil);
- SEL:=cross(devil,angel);
- drawtext(buy,LOW*0.99,'狂买'),colorf00ff0,linethick5;
- drawtext(sel,HIGH*1.08,'狂闪'),colorwhite,linethick5;
- stickline(angel>=devil,low,high,0.1,0),colorred;
- stickline(angel>=devil,close,open,4.5,0),color0000AA;
- stickline(angel>=devil,close,open,3,0),color0000CC;
- stickline(angel>=devil,close,open,2,0),color0000DD;
- stickline(angel>=devil,close,open,1,0),color0000FF;
- stickline(angel<devil,close,open,1,0),colorEEEE00;
- stickline(angel<devil,close,open,2,0),colorDDDD00;
- stickline(angel<devil,close,open,3,0),colorCCCC00;
- stickline(angel<devil,close,open,4.5,0),colorAAAA00;
- stickline(angel<devil,low,high,0.1,0),colorFFff00;
- stickline(cross(angel,devil) or cross(devil,angel),open,close,3.5,0),coloryellow;