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
Forgive me for not understanding where you are coming from, but my code above is about closing out positions not entering them. I have isolated the issue to being with the targets (and the corresponding formula's), as I close out my positions with orderclose function.
The actual entering of the positions across multiple pairs is not a problem.
I see where you are going with that though! Thanks for your post :)
This is the lines I think are causing me a problem - I think they need to go where I've put them in the second coding I've posted up? (looking for confirmation)
double FirstTarget_Buy = OrderOpenPrice()+(( OrderTakeProfit()-OrderOpenPrice())/6); //<< Point of interest double TwoRatio_Buy = OrderOpenPrice()+(( OrderTakeProfit()-OrderOpenPrice())/3); //<< Point of interest.