Dear All,
I am still finding that I am creating to many losing trades when the market is directionless/sideways this is because there are many crossovers of the fast ema above and below the slow ema.
Brad placed something in my code that prohibited more than one trade per bar which helped. But he also said that he could insert a time based point stamp in that when the stock breaks out of say a 0.25 range and trades resume.
Can someone therefore change the code to close the current position on an ema crossover and wait for either 0.15$c breakout above or below the position close before making a new trade on the next bars.
Or close position and wait 10 minutes/2 bars on any crossover then resume trading on 1000 contracts. At the moment on crossovers 2000 contracts are bought or sold changing position and leaving just 1000 contracts to minimise trades, this order system may need changing for closes.
If anyone has any other code that could prevent the above problem please could they insert into my code for testing.
I am willing to pay someone to code for Dynaorder as soon as all testing finished and I have my final code. Brad I don't mind paying you for help with this you have been great so far, I just feel bad I don't give you anything in return for helping me.
Regards
Spam
I am still finding that I am creating to many losing trades when the market is directionless/sideways this is because there are many crossovers of the fast ema above and below the slow ema.
Brad placed something in my code that prohibited more than one trade per bar which helped. But he also said that he could insert a time based point stamp in that when the stock breaks out of say a 0.25 range and trades resume.
Can someone therefore change the code to close the current position on an ema crossover and wait for either 0.15$c breakout above or below the position close before making a new trade on the next bars.
Or close position and wait 10 minutes/2 bars on any crossover then resume trading on 1000 contracts. At the moment on crossovers 2000 contracts are bought or sold changing position and leaving just 1000 contracts to minimise trades, this order system may need changing for closes.
If anyone has any other code that could prevent the above problem please could they insert into my code for testing.
I am willing to pay someone to code for Dynaorder as soon as all testing finished and I have my final code. Brad I don't mind paying you for help with this you have been great so far, I just feel bad I don't give you anything in return for helping me.
Regards
Spam
Comment