Help with MT4 Scalping limitations by brokers.
-
Good Day,
Are there any scalpers in the crowd? It seems most brokers have SL and TP limits to thwart scalping. Does anybody have a code sequence to counter this behavior?
Mine appears to have a 5 pip SL and a 3 pip TP limit. Setting limits any close to the open price is rejected and defaults to the broker limits.
Any suggestions would be appreciated.
-
Brokers have these rules for good reason and if you want to use hard stops that are closer than you can currently get you will probably need to find another broker. Alternatively, you could create the EA in such a way that it closes trades at 5 pips profit or 3 pips loss while placing the hard stops at a distance your broker will accept. The hard stops are written into the trade and are visible to the broker, but you can have the EA close a trade at any point for which you can write a condition. This latter approach means your hard stops are only ever hit if, for any reason, your EA ceases to work properly e.g. your MT4 platform crashes.
-
@cpbonzo said in Help with MT4 Scalping limitations by brokers.:
Brokers have these rules for good reason and if you want to use hard stops that are closer than you can currently get you will probably need to find another broker. Alternatively, you could create the EA in such a way that it closes trades at 5 pips profit or 3 pips loss while placing the hard stops at a distance your broker will accept. The hard stops are written into the trade and are visible to the broker, but you can have the EA close a trade at any point for which you can write a condition. This latter approach means your hard stops are only ever hit if, for any reason, your EA ceases to work properly e.g. your MT4 platform crashes.
Very smart. Things break. Good to protect yourself.