最昂贵:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,3)+EMA((OPEN+HIGH+LOW+CLOSE)/4,6)+EMA((OPEN+HIGH+LOW+CLOSE)/4,9))/3;{通达信公式-通达信指标www.gs6699.com}
通达信指标公式:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,5)+EMA((OPEN+HIGH+LOW+CLOSE)/4,10)+EMA((OPEN+HIGH+LOW+CLOSE)/4,20))/3;
主力控盘:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,7)+EMA((OPEN+HIGH+LOW+CLOSE)/4,14)+EMA((OPEN+HIGH+LOW+CLOSE)/4,28))/3;
金钱版:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,9)+EMA((OPEN+HIGH+LOW+CLOSE)/4,18)+EMA((OPEN+HIGH+LOW+CLOSE)/4,36))/3;
ffddd1:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,11)+EMA((OPEN+HIGH+LOW+CLOSE)/4,22)+EMA((OPEN+HIGH+LOW+CLOSE)/4,44))/3;
ffddd2:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,13)+EMA((OPEN+HIGH+LOW+CLOSE)/4,26)+EMA((OPEN+HIGH+LOW+CLOSE)/4,52))/3;
ffddd3:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,21)+EMA((OPEN+HIGH+LOW+CLOSE)/4,34)+EMA((OPEN+HIGH+LOW+CLOSE)/4,68))/3;
fddfd1:=FORCAST(最昂贵,6);
fddfd2:=FORCAST(通达信指标公式,6);
fddfd3:=FORCAST(主力控盘,6);
fddfd4:=FORCAST(金钱版,6);
fddfd5:=FORCAST(ffddd1,6);
fddfd6:=FORCAST(ffddd2,6);
fddfd7:=FORCAST(ffddd3,6);
IF(fddfd1>REF(fddfd1,1),fddfd1,DRAWNULL),POINTDOT,COLORFF00FF;
IF(fddfd1<REF(fddfd1,1),fddfd1,DRAWNULL),POINTDOT,COLOR00FF00;
IF(fddfd2>REF(fddfd2,1),fddfd2,DRAWNULL),POINTDOT,COLORFF00FF;
IF(fddfd2<REF(fddfd2,1),fddfd2,DRAWNULL),POINTDOT,COLOR00FF00;
IF(fddfd3>REF(fddfd3,1),fddfd3,DRAWNULL),POINTDOT,COLORFF00FF;
IF(fddfd3<REF(fddfd3,1),fddfd3,DRAWNULL),POINTDOT,COLOR00FF00;
IF(fddfd4>REF(fddfd4,1),fddfd4,DRAWNULL),POINTDOT,COLORFF00FF;
IF(fddfd4<REF(fddfd4,1),fddfd4,DRAWNULL),POINTDOT,COLOR00FF00;
IF(fddfd5>REF(fddfd5,1),fddfd5,DRAWNULL),POINTDOT,COLORFF00FF;
IF(fddfd5<REF(fddfd5,1),fddfd5,DRAWNULL),POINTDOT,COLOR00FF00;
IF(fddfd6>REF(fddfd6,1),fddfd6,DRAWNULL),POINTDOT,COLORFF00FF;
IF(fddfd6<REF(fddfd6,1),fddfd6,DRAWNULL),POINTDOT,COLOR00FF00;
IF(fddfd7>REF(fddfd7,1),fddfd7,DRAWNULL),LINETHICK2,COLORFF00FF;
IF(fddfd7<REF(fddfd7,1),fddfd7,DRAWNULL),LINETHICK2,COLOR00FF00;
最昂贵公式:=FORCAST(EMA((3*CLOSE+2*OPEN+HIGH+LOW)/7,3),6);
DIRECTIONMAX:=MAX(REF(最昂贵公式,1),REF(最昂贵公式,1));
DIRECTIONMIN:=MIN(REF(最昂贵公式,1),REF(最昂贵公式,1));
STICKLINE(最昂贵公式>=REF(最昂贵公式,1),最昂贵公式,DIRECTIONMAX,3,0),COLOR0000FF;
STICKLINE(最昂贵公式<REF(最昂贵公式,1),最昂贵公式,DIRECTIONMIN,3,0),COLOR00FF00;