If you mean in the Strategy Tester . . go to Expert Properties, then the testing Tab the elect what you need next to Positions
Sorry if it's a bit confusing..I'm no programmer so don't be hard on me...
What I mean is how to change the setting to Only Short or Only Long by using a code?
There is no setting . . . if you don't want to take long trades . . then don't take them. This might help . . . OrderSend and TradeTypes
Ok, thanks Raptor
saifx:
Ok, thanks Raptor
When you have the EA on a chart you can go to Properties, F7, then the Common tab and select Long only, Short only or Long & Short. I've never used it but I assume it may do what you want without the need for any code changes.
Ok, thanks Raptor
Hello guys!
How to get a status of "Common" window on EA properties? Maybe any Boolean can I get ?
Thanks!
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 guys,
Sorry if this had been address before, but I couldn't find it here or anywhere else.
How do I Invoke the Only Long & Only Short positions in EA Properties using EA?
Thanks in advance
Saifx