买点信号(副图)
2011-02-19 11:16:00来源:本站整理浏览:113
买点信号(副图)-指标公式源码
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
SJ: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
SD: MA(SJ,2);
SK: MA(SJ,1);
VAR3:=CROSS(SK,SD) AND SK<0;
VAR4:=CROSS(SK,0);
VAR5:=CROSS(SK,SD) AND SK>0;
买一: VAR3, STICK;
STICKLINE(VAR3,1,3,0.8,0 ),COLORMAGENTA;
买二: VAR4 OR VAR5, STICK;
STICKLINE(VAR4 OR VAR5,1,3,0.8,0 ),COLORGREEN;
VAR6:=CROSS(SD,SK);
卖出: VAR6, STICK;
卖出: VAR6, STICK;
- 上一篇公式:暴涨买点(趋势线、横盘、量横盘)
- 下一篇公式:波段线(主图)