If we're green we long, if we're red we short.
Optional alternate timeframe, and optional trialing stops.
Make the chart your own and have a play :) Cheers.
- 1. Start time for backtest... XX days/weeks/months to be defined by user - should help with situations where error occurs due to exceeding 2k trades.
- 2. Addition of basic initial stop loss.
- 3. ..Profit limit?
year >= 2016, or something similar as part of the strategy code so that:
if (longCondition and year >= 2016)
//blah blah blah
Helps out a lot. Good strategy, btw. I'm working with something similar. This looks promising in shorter time intervals.