波段大趋势【主图公式】(源码 主图 贴图)介绍
波段大趋势【主图公式】(源码 主图 贴图)
公式原理:
5天均线向上,30天均线向上,看多做多;
5天均线向下,30天均线向上,看多不做多(有股的仍可持股,无股的可在其回档时介入);
5天均线向下,30天均线向下,看空做空;
5天均线向上,30天均线向下,看空不做空(有股的可等5天均线走平时沽出,无股的不可轻易抢反弹).
难就难在不为外界所惑,始终坚持如一
--------------------------------------------------------------------------------
源代码如下:
MA5:MA(C,5);
MA30:MA(C,30);
看多做多_:1,COLORRED;
看多不做多_:1,COLORYELLOW;
看空做空_:1,COLORGREEN;
看空不做空_:1,COLORCYAN;
准备做多_:1,COLORMAGENTA;
准备做空_:1,COLORBLUE;
看多做多:STICKLINE(MA5>MA30 AND MA5>=REF(MA5,1) AND MA30>REF(MA30,1),MA5,MA30,0.8,0),COLORRED;
看多不做多:STICKLINE(MA5>MA30 AND MA5<REF(MA5,1) AND MA30>=REF(MA30,1),MA5,MA30,0.8,0),COLORYELLOW;
看空做空:STICKLINE(MA5<MA30 AND MA5<=REF(MA5,1) AND MA30<REF(MA30,1),MA5,MA30,0.8,0),COLORGREEN;
看空不做空:STICKLINE(MA5<MA30 AND MA5>REF(MA5,1) AND MA30<=REF(MA30,1),MA5,MA30,0.8,0),COLORCYAN;
准备做多:STICKLINE(MA5>MA30 AND MA5>REF(MA5,1) AND MA30<=REF(MA30,1),MA5,MA30,0.8,0),COLORMAGENTA;
准备做空:STICKLINE(MA5<MA30 AND MA5<REF(MA5,1) AND MA30>=REF(MA30,1),MA5,MA30,0.8,0),COLORBLUE;
gd13349