龙听期货论坛's Archiver

龙听 发表于 2018-11-30 10:59

文华极品均线 指标源码[文华财经公式]

文华 极品均线 指标源码:[code]
VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;

  VAR2:=EMA(VAR1,13);

  VAR3:=REF(VAR2,1);

  STICKLINE(VAR2>=VAR3,VAR3,VAR2,COLORRED,1);

  STICKLINE(VAR3>VAR2,VAR2,VAR3,COLORCYAN,0);

  MA1:MA(VAR2,3),COLORWHITE;

  MA2:MA(VAR2,7),COLORYELLOW;

  MA3:MA(VAR2,9),COLORGREEN;

  MA4:MA(VAR2,18),COLORRED;
[/code]

页: [1]