Download MetaTrader 5
To add comments, please log in or register
Interested in social trading? Read the article!
Forex Trader
114252
Forex Trader 2010.04.13 17:51 

Can somebody please post a sample of code of how you would manage 'scaling out' of Lot sizes in an EA, as I am having trouble with it.

For instance, if I originally opened a BUY at 1.00 whole Lot and after price goes into profit X amount of pips I want to close NOT the entire 1.00 but just a fraction at a time (maybe 0.1).

This is for MT4.

Thanks for your kind help.

FxN

/
To add comments, please log in or register