hi, my experience level is:
ive made a few simple ea...for loops/if else/positiongetinteger/trade.mqh. things like that
ive been able to open a buy position and a sell position at the same time on the same currency pair. what im having difficulty with is analyzing both positions at the same time. i dont want to use a for loop, because it analyzes one at a time. i want to analyze both at the same time, so i can close one as opposed to the other. specifically, i want close a buy(or sell) trade if the sell(or buy) is showing a stop loss that i have just hit (pre programmed).
is this possible? does it involve using an array? i have very limited knowledge of arrays. my only experience with them is copying them from a youtube video. so, the array skills of a monkey.
thank you for your time
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hi, my experience level is:
ive made a few simple ea...for loops/if else/positiongetinteger/trade.mqh. things like that
ive been able to open a buy position and a sell position at the same time on the same currency pair. what im having difficulty with is analyzing both positions at the same time. i dont want to use a for loop, because it analyzes one at a time. i want to analyze both at the same time, so i can close one as opposed to the other. specifically, i want close a buy(or sell) trade if the sell(or buy) is showing a stop loss that i have just hit (pre programmed).
is this possible? does it involve using an array? i have very limited knowledge of arrays. my only experience with them is copying them from a youtube video. so, the array skills of a monkey.
thank you for your time