Here is a small strategy that I have been manually trade for years. Now I finally came to automate them. We are trough breakouts, only the big breakouts. Our only indicator are the last two day candles, nothing more. The candle filter has cost me most time to find out which combinations work best. But with this knowledge, what I share here, it can be matched pretty much every intraday strategy by just acting if tend to bullish or bearish. Of course, the whole thing works on pretty much every index, with other times and maybe other filter combinations.
As I said, if someone has time and can automate this filter, that would save a lot of time.
@robertogozzi See now maybe meant whether you can compare conditions in the optimizer. Maybe you have the time and an idea?
Test input conditions in the optimizer
What do you want me to do?4
Why did you post that link?
Can you code that higherHigh, higherlow, bearishHarami and so on can be used in the optimizer, the longcond and shortcond automatically compared in the optimizer? What I did manually in my strategy here. The individual conditions find out what works best.
You can warite the conditions you want to test like this one:
longcond2 = (BullishHarami and not longcond1) AND 0 //ALWAYS false
longcond2 = (BullishHarami and not longcond1) OR 1 //ALWAYS true
longcond2 = (BullishHarami and not longcond1) //OR 1 //working as planned
Short update after 2 weeks in the demo account …