Australian (ASX) Stock Market Forum

Reply to thread

For those who have Amibroker

The entry condition (one line of code) will be disclosed so others can evaluate the simple entry condition. The buy condition (the code) is nothing special by itself & I don't use it in any of my systems. The code "Buy condition" is used for the exercise that's all. As I remarked in many previous posts, getting into a trend is not that difficult. I'll supply the line of code with two backtests to demonstrate how the entry condition can affect the outcome of a system when wrapped in different "buy filters".


How do we use or incorporate a buy condition? 

The entry trigger will be the constant between the two systems. Wrapping the entry trigger in a series of "buy conditions" can completely change the backtest results.


Backest results

1. The first backtest will have a stock standard "Index Filter" (buy filter) to keep you out of the market when the Index falls below its simple moving average of a nPeriod.

2. The second Backtest will also have a buy condition that incorporates a "Relative Strength Line" in relation to the "Index" being traded.


Skate.


Top