文华财经指标期货软件日内短线指标变色主图指标.doc
/*A:=MA(CLOSE,17) ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));B:=MA(CLOSE,17) MA(CLOSE,17)-REF(MA(CLOSE,17),1);分水岭:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2;操作线:分水岭-(EMA(C,3)-分水岭),COLOR00FFFF,LINETHICK2;PM:MA(C,5),COLORWHITE,LINETHICK2;IF(PM>REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED;IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF9900,LINETHICK2;S:=(PM>操作线);DD:=分水岭<REF(分水岭,1);IF(DD,分水岭,DRAWNULL),COLOR00FF00,LINETHICK2;IF(S,分水岭,DRAWNULL),COLOR00FF00,POINTDOT,LINETHICK4;DRAWICON(CROSS(分水岭,操作线),分水岭-0.1,1);{买入红箭头}?A1:=BARSLAST(REF(CROSS('MACD.DIF','MACD.DEA'),1));B1:=REF(C,A1 1)>C AND REF('MACD.DIF',A1 1)<'MACD.DIF' AND CROSS('MACD.DIF','MACD.DEA');DRAWTEXT(B1>
赞 (0)