amibroker Formula help

#2
Experts Please respond,

How to do Backtesting an existing afl chart with some additions in backtesting.

suppose we take nakshatra afl chart, in it the line increases as the price bars are going up and this chart having buy sell indicators. if we perform backtest as it is the report shows -3470 result in ending capital with initial 100000 capital. means loss more than cap.

so we have to make some additions in backtesting like adding the Tsl as increasing line and also fixed stoploss at buy price minus 5 points to avoid big losses wherever necessary.
(in some afls 2 buy signals come continuously there we have to take fixed stoploss and once again buy at second buy signal for this there should be some parameters to comeout)

also some points randomly to add where ever necessary in backtesting.
even buy signal come backtest should buy only when certain one or more conditions met like price also should cross up some moving average etc,.
instead of it sell when afl given sell signal only, each time it has to sell half of it at 25 points profit and rest at afl sell signal.

So These types of backtests with modifications or additions we have to do.
How to do such backtests with our additions to existing afl, please advice procedure ways to make it better.
 
Last edited:

Similar threads