通达信操盘密码趋势买卖主图指标公式
通达信操盘密码趋势买卖主图指标公式:
CP1:HHV(HIGH,60),COLOR00FFFF;
CP2:HHV(CLOSE,1),COLORFFFFFF;
底部支撑:LLV(LOW,60),COLOR6666FF;
(EMA(CLOSE,240) * 0.75),COLOR0000FF,LINETHICK3;
铁底:(EMA(CLOSE,240) * 0.75),COLOR00FFFF;
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,30);
『强势』:DRAWTEXT((VAR1 > VAR2),VAR2,'↑'),COLOR0000FF;
『弱势』:DRAWTEXT((VAR1 <= VAR2),VAR2,'↓'),COLOR00FF00;
VAR3:=MA(CLOSE,20);
VAR4:=MA(CLOSE,60);
VAR5:=CROSS(VAR3,VAR4);
DRAWICON(VAR5,(HIGH * 1.04),2);
DRAWTEXT(VAR5,(HIGH * 1.06),'卖出'),COLORFFFFFF;
VAR6:=CROSS(VAR1,VAR2);
DRAWICON((VAR6 AND (CLOSE < 铁底)),(LOW - (LOW * 0.04)),1);
DRAWTEXT((VAR6 AND (CLOSE < 铁底)),(LOW - (LOW * 0.05)),'←中底买'),COLOR0000FF;
VAR7:=(((CLOSE - OPEN) / REF(CLOSE,1)) > 0.08);
DRAWTEXT(FILTER(VAR7,1),(LOW * 0.99),'追'),COLOR00FFFF;
DRAWTEXT(CROSS(底部支撑,铁底),(LOW - (LOW * 0.02)),'小底'),COLOR00FFCC;
DRAWTEXT(((MONTH = 7) AND (DAY = 28)),(底部支撑 - (底部支撑 * 0.02)),'仿《操盘密码3.0》'),COLORFFFFFF;
通达信操盘密码趋势买卖主图指标公式实例图解:
通达信操盘密码趋势买卖主图指标公式