Hi, maybe this code can help you,
if (AccountInfoDouble(ACCOUNT_EQUITY) <= 100) { // close position }

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi all,
I am hoping you can help me, I'd like to create an automatic stop out level of $100 Equity on all my clients accounts, i.e., when they reach $100 left in tradable equity the position closes - and they have $100 or near enough left in their account.
If you can please help me with this, I think its a code or an algorithm, or a setting which I need to do, but I am unsure of it and I'd really like some help on this.
Many thanks
Rashad