通达信MACD反推价副图指标 判断和预测股价趋势走向
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
SHORT:=9;
LONG:=19;
M:=7;{公式网}
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:EMA(DIF,M);
MACD:(DIF-DEA)*2,COLORSTICK;
X_1:=(M-1)/(M+1)*DEA/(1-2/(M+1));
X_2:=(MACD/2+DEA*(M-1)/(M+1))/(1-2/(M+1));
X_3:=(DIF*(SHORT+1)*(LONG+1)-(LONG+1)*(SHORT-1)*EMA(CLOSE,SHORT)+(SHORT+1)*(LONG-1)*EMA(CLOSE,LONG))/(2*(LONG+1-(SHORT+1)));
X_4:=(X_1*(SHORT+1)*(LONG+1)-(LONG+1)*(SHORT-1)*EMA(CLOSE,SHORT)+(SHORT+1)*(LONG-1)*EMA(CLOSE,LONG))/(2*(LONG+1-(SHORT+1)));
X_5:=(X_2*(SHORT+1)*(LONG+1)-(LONG+1)*(SHORT-1)*EMA(CLOSE,SHORT)+(SHORT+1)*(LONG-1)*EMA(CLOSE,LONG))/(2*(LONG+1-(SHORT+1)));
DRAWNUMBER_FIX(1,0.12,0.002,0,CONST(X_3)),COLORLIRED;
DRAWNUMBER_FIX(1,0.26,0.002,0,CONST(X_5)),COLORYELLOW;
DRAWNUMBER_FIX(1,0.4,0.002,0,CONST(X_4)),COLORFFDD44;

 


选股票看什么指标最好 >股票指标网