通达信仿通金魔方指标-仿黄金彩虹 均线表达一致了
{N:=8;
N1:=22;
N3:=45;}
A1:=(((HIGH + LOW) + (2 * CLOSE)) / 4);
A2:=MA(H,1);
B1:=EMA(A1,2);
趋势线:=FORCAST(B1,9),LINETHICK2,COLORMAGENTA;
M1:=EMA(趋势线,N);
M2:=EMA(趋势线,N1);
短线拐点:MA(H,N),COLORGREEN;
持仓线:MA(H,N1),LINETHICK2 ,COLORYELLOW;
止损线:MA(C,N1),COLORRED;
牛熊线:MA(C,N3),COLORWHITE;
IF(持仓线 REF(持仓线,1),持仓线,DRAWNULL),COLORBLUE,LINETHICK2;