九毛八公式指标
错误句 : PARTLINE(MA7,MA7REF(MA2,1),RGB(255,0,255)),DOTLINE; PARTLINE(MA3,MA3REF(MA3,1),RGB(255,0,255)),DOTLINE; PARTLINE(MA4,MA4REF(MA4,1),RGB(255,0,255)),DOTLINE; PARTLINE(MA5,MA5REF(MA5,1),RGB(255,0,255)),DOTLINE; PARTLINE(MA6,MA6REF(MA6,1),RGB(255,0,255)),DOTLINE; PARTLINE(MA1,MA1REF(MA1,1),RGB(255,0,255)),DOTLINE; TOWERC:=FORCAST(EMA((3*CLOSE+2*OPEN+HIGH+LOW)/7,3),6); DIRECTIONMAX:=MAX(REF(TOWERC,1),REF(TOWERC,1)); DIRECTIONMIN:=MIN(REF(TOWERC,1),REF(TOWERC,1)); STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,DIRECTIONMAX,8,0),COLOR0000FF; STICKLINE(TOWERC公式模块:
PARTLINE
TDX要用IF替换了吧 太长了........... PARTLINE(MA2,MA2<REF(MA2,1),RGB(0,255,0),MA2>REF(MA2,1),RGB(255,0,255)),DOTLINE; 替换应该是 IF(MA2<REF(MA2,1),ma2,drawnull),color颜色; if(MA2>REF(MA2,1),MA2,drawnull),color颜色; 自己去替换吧! 别的好像没什么特殊函数了!