Hello dear programmers/guests,
I understand there's comparable thread/script described but there's a lot threads and that I ´m confused to find it. It would be great if someone could make me script or just post here .
How should it work: when set any pending order then order adjust to x percent (for example 2% and with stop loss 15pips) of equilibrium account
actual example:
account balance: 5000
risk percentage%: 2 percent
prevent loss: 15 pips (150 points)
pair: EUR/USD
result: 0.827 lot
Thank you if someone answer