Hello
I’ve been running this code in demonstration mode for two months.
The results are impressive.
The idea is to take a position when the market is bullish and the MACD turns positive.
I’m not a fan of martingal systems, but I have to admit that this code that handles position sizes works fine.
The only limitation is the need to have a well-stocked portfolio to start.
I ask for your help to consolidate the conditions to enter, by limiting only the positions taken in a bull market.
Nobody want to test it ???
I suggest you post print screens of the result and equity curve to attract interest.
Monte Carlo Simulation : need 50 KE capital
it’s only a martingal system,.. one day it will take more..
especially considering the number of contracts taken
There is a contract size limitation in the code, but in the wrong place, you should move these lines right after the contract size calculation (after line 50):
if n>64 then
n=64
endif
Bear in mind, that code is read from top to bottom, then the orders are launched at next bar open.
Sorry, before the line with the BUY instruction.
Thank you
I will change it
effectivly i don t like martingal system, but the result of this strategy is amazing…
Maybe we could start with 0.2 contract and put the limit lowest