I need to make 2 buy or 2 sell trades, with one having a TP and the other running with a trailing stop.
Current EA only does one.
Tried:
OrderSend()&&()
And
OrderSend()&&OrderSend()
Neither is working.
Should it be:
If(OrdersTotal<2) to open 2 trades
And close one position at a certain TP
Then
ModifyOrder(TrailingStop)
Dont know the exact code off the top of my head just wondering if I'm on the right track
- Opening Positions only between 3 a.m and 9 a.m
- How to close all of your open positions at the same trailing stop price?
- [Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2.
Rochelle Carter:
I need to make 2 buy or 2 sell trades, with one having a TP and the other running with a trailing stop.
I need to make 2 buy or 2 sell trades, with one having a TP and the other running with a trailing stop.
Current EA only does one.
Tried:
OrderSend()&&()
And
OrderSend()&&OrderSend()
Neither is working.
Should it be:
If(OrdersTotal<2) to open 2 trades
And close one position at a certain TP
Then
ModifyOrder(TrailingStop)
Dont know the exact code off the top of my head just wondering if I'm on the right track
Take profit, stop loss and trailing in one same trade buy/sell ;)
How does it only close one and not both with in the trade with all 3 being used?
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