Help needed to improve my scalping ea.

 

I've written an EA with simple money management and trailing stop, based on 5 EMA High and 5 EMA Low.

The idea is to sell when overbought and buy when oversold.

If you run the EA with 0.3 or 0.4 spread, i.e 3 to 4 points it is profitable. Thanks to trailing stop i get about 88% success rate.

The problem is that because the profits are so small, it is often not enough to cover commission costs.

Can anyone suggest ways on how I can get this to be profitable even after commission costs?

Attached is the full code.

Any help would be appreciated.

Kind Regards,

Sameer

 

First of all on which currency, timeframe and which settings are you running?

 
Matija14:

First of all on which currency, timeframe and which settings are you running?

Hi Matija

This is for EURUSD, 1 Minute timeframe. Settings are the defaults specified in the code posted above.

 
samsha:

Hi Matija

This is for EURUSD, 1 Minute timeframe. Settings are the defaults specified in the code posted above.

Can't see the code.
 

Hai Samsha

what you need is Code for MM Setting,...mean increasing lot order one after another, or you change to broker without commision fees.

Reason: