Hey all, so same as with the last code i posted here, this is very rough, very little optimized, but has been optimized on Dax 4h 2012 -> 2016.
Results and code included.
I added photos from other similar markets to see that its not over-optimized for dax only. The system is pretty simple. Moving averages crossover on the SMI indicator… And thats it 🙂 Also profitable in Hang seng and more..
Anyone willing to work with me on this one?
Any reason as to why i should not continue working on this one?
No money management, no overoptimized values, 1 indicator only for entry and exit.
// Definition of code parameters
DEFPARAM CumulateOrders = False // Cumulating positions deactivated
// Conditions to enter long positions
indicator1 = WilderAverage[3](SMI[50,11,5](close))
indicator2 = WilderAverage[7](SMI[62,7,5](close))
c1 = (indicator1 CROSSES OVER indicator2)
IF c1 THEN
BUY 1 CONTRACT AT MARKET
ENDIF
// Conditions to exit long positions
indicator3 = WilderAverage[3](SMI[19,11,5](close))
indicator4 = WilderAverage[7](SMI[31,3,5](close))
c2 = (indicator3 CROSSES UNDER indicator4)
IF c2 THEN
SELL AT MARKET
ENDIF
//set stop ploss n1
//set target pprofit n2
Edit: All photos = same code, no changes/optimizing done after the initial one.
Look at percentage profit for DAX and compare it with the other instruments! In fact, it seems optimized for the best profit on DAX. What about WFA for the others?
Well nicolas, it is optimized on dax, as i said in post #1, so it will definitly look better there then in the rest of the markets. My point including other markets in photo was just to show that the basic idea was working. The idea that you can use SMI with wilderaverages to create something that would cut out the worst dips and keep most of the profit.
Again i must say this is not a completed strategy, you should not run this strategy alone. This is simply an idea, a rough code just optimized on a few years within the dax.
I was wondering what people think is possible to do here. As with my other simple 30m system (very rough also) i think ive managed to cut away the worst dips and negative momentum in the market, and trying to keep the positive. Maybe if we could somehow code in an entry and exit inside the positive momentum then we could get a system worth going live 🙂