Amibroker Afl Code !!install!!
// Trail logic HighestSinceBuy = HHV(H, BarsSince(Buy == 1)); TrailStopLevel = HighestSinceBuy - (mult * ATRval); Sell = C < TrailStopLevel;
Let's move beyond the basics. Below is a complete system. amibroker afl code
// --- Calculations --- BBLower = BBandBot(C, Periods, Width); BBUpper = BBandTop(C, Periods, Width); TrendMA = MA(C, 200); ATR_Val = ATR(ATRPeriod); // Trail logic HighestSinceBuy = HHV(H, BarsSince(Buy ==
loops when building these features to ensure the code remains efficient. AmiBroker Community Forum // Trail logic HighestSinceBuy = HHV(H