Frequently, Buy array becomes null. Use Buy = IIf(IsNull(Buy), 0, Buy);
// 3. Volume Trend Feature // Comparing current volume to its 20-day average mVol = MA(V, 20); VolTrend = IIf(mVol > 0, V / mVol, 1); amibroker afl code
if (sig.IsEntry() AND sig.Symbol == "SPY") Frequently, Buy array becomes null
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later. VolTrend = IIf(mVol >