請教這数句老外MT4碼,能否用WEISTOCK的 数组 去编寫/翻譯呢?或其他WEISTOCK的函数 方法编寫呢?谢谢
Length=10;
NBARS代表Number of Bars on the Chart
for(shift=NBars;shift>=0;shift--)
{
Value [shift]=0.0;
for(shift=NBars-2-Length;shift>=0;shift--)
Value[shift] = 0.3*2*(w-0.5) + 0.6*Value[shift+1];
註:w是某公式暫不必理