油菜花新浪博客公式
飞狐(大交易师)变色均线公式
MA1:MA(CLOSE,M1) COLORRED,LINETHICK2;MA2:MA(CLOSE,M2) COLORMAGENTA,LINETHICK2;partline(MA1<REF(MA1,1),MA1),COLORGREEN,LINETHICK2;partline(MA2<REF(MA2,1),MA2),COLORCYAN,LINETHICK2;
参数设置 缺省 最小 最大 M1 3 1 1000 M2 21 1 1000
通信达变色均线公式MA1:MA(CLOSE,M1) COLORRED,LINETHICK2;MA2:MA(CLOSE,M2) COLORMAGENTA,LINETHICK2;IF(MA1<REF(MA1,1),MA1,DRAWNULL),COLORGREEN,LINETHICK2;IF(MA2<REF(MA2,1),MA2,DRAWNULL),COLORCYAN,LINETHICK2;
参数同上
超前MACD 飞狐版
DIFF:=(C-MA(CLOSE,13))*100;AA:EMA(MA(DIFF,7),1),COLORRED,LINETHICK2;
BB:EMA(AA,7),COLORYELLOW,LINETHICK2;
partline(aa<REF(aa,1),aa),COLORGREEN,LINETHICK2;partline(bb<REF(bb,1),bb ),COLORblue,LINETHICK2;
MACD:(AA-BB)*2,COLORSTICK;
超前MACD 通信达版
DIFF:=(C-MA(CLOSE,13))*100;AA:EMA(MA(DIFF,7),1),COLORRED,LINETHICK2;
BB:EMA(AA,7),COLORYELLOW,LINETHICK2;
IF(AA<REF(AA,1),AA,DRAWNULL),COLORGREEN,LINETHICK2;IF(BB<REF(BB,1),BB,DRAWNULL),COLORBLUE,LINETHICK2;
MACD:(AA-BB)*2,COLORSTICK;