同花顺股道趋势买卖主图指标公式:
A1:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,1)+EMA((OPEN+HIGH+LOW+CLOSE)/4,2)+EMA((OPEN+HIGH+LOW+CLOSE)/4,3))/3;
A2:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,3)+EMA((OPEN+HIGH+LOW+CLOSE)/4,4)+EMA((OPEN+HIGH+LOW+CLOSE)/4,8))/3;
A3:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,5)+EMA((OPEN+HIGH+LOW+CLOSE)/4,6)+EMA((OPEN+HIGH+LOW+CLOSE)/4,11))/3;
A4:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,7)+EMA((OPEN+HIGH+LOW+CLOSE)/4,8)+EMA((OPEN+HIGH+LOW+CLOSE)/4,15))/3;
A5:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,9)+EMA((OPEN+HIGH+LOW+CLOSE)/4,13)+EMA((OPEN+HIGH+LOW+CLOSE)/4,21))/3;
A6:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,11)+EMA((OPEN+HIGH+LOW+CLOSE)/4,21)+EMA((OPEN+HIGH+LOW+CLOSE)/4,30))/3;
A7:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,13)+EMA((OPEN+HIGH+LOW+CLOSE)/4,26)+EMA((OPEN+HIGH+LOW+CLOSE)/4,55))/3;
MA1:=FORCAST(A1,6);
MA2:=FORCAST(A2,6);
MA3:=FORCAST(A3,6);
MA4:=FORCAST(A4,6);
MA5:=FORCAST(A5,6);
MA6:=FORCAST(A6,6);
MA7:FORCAST(A7,3),COLORF00FF0,LINETHICK1;
PARTLINE(MA2,MA2<REF(MA2,1),RGB(0,255,0),MA2>REF(MA2,1),RGB(255,0,255)),DOTLINE;
PARTLINE(MA3,MA3<REF(MA3,1),RGB(0,255,0),MA3>REF(MA3,1),RGB(255,0,255)),DOTLINE;
PARTLINE(MA4,MA4<REF(MA4,1),RGB(0,255,0),MA4>REF(MA4,1),RGB(255,0,255)),DOTLINE;
PARTLINE(MA5,MA5<REF(MA5,1),RGB(0,255,0),MA5>REF(MA5,1),RGB(255,0,255)),DOTLINE;
PARTLINE(MA6,MA6<REF(MA6,1),RGB(0,255,0),MA6>REF(MA6,1),RGB(255,0,255)),DOTLINE;
PARTLINE(MA1,MA1<REF(MA1,1),RGB(0,255,0),MA1>REF(MA1,1),RGB(255,0,255)),DOTLINE;
towERC:=FORCAST(EMA((3*CLOSE+2*OPEN+HIGH+LOW)/7,3),3);
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<REF(TOWERC,1),TOWERC,DIRECTIONMIN,8,0),COLOR00FF00;
同花顺股道趋势买卖主图指标公式