Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 10,661 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How do I open only 1 position per asset? #445895
09/29/14 03:02
09/29/14 03:02
Joined: Sep 2014
Posts: 24
M
mustang Offline OP
Newbie
mustang  Offline OP
Newbie
M

Joined: Sep 2014
Posts: 24
Basic question: how do I open only 1 position per asset without using MaxTrades?

Thanks!

Re: How do I open only 1 position per asset? [Re: mustang] #445900
09/29/14 10:34
09/29/14 10:34
Joined: Jul 2000
Posts: 28,150
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,150
Frankfurt
Either limit the positions by script, or use the reverseLong/Short functions that limit the positions automatically.

Re: How do I open only 1 position per asset? [Re: jcl] #445906
09/29/14 13:50
09/29/14 13:50
Joined: Sep 2014
Posts: 24
M
mustang Offline OP
Newbie
mustang  Offline OP
Newbie
M

Joined: Sep 2014
Posts: 24
Would you please provide a short code as an example?
I could not find examples in the documentation.

Re: How do I open only 1 position per asset? [Re: mustang] #445907
09/29/14 14:09
09/29/14 14:09
Joined: Jul 2000
Posts: 28,150
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,150
Frankfurt
The manual has a "Search" function. So it should not be too hard to find the examples in the documentation. Also, workshop 7 covers these functions.

Re: How do I open only 1 position per asset? [Re: jcl] #445915
09/29/14 15:40
09/29/14 15:40
Joined: Sep 2014
Posts: 24
M
mustang Offline OP
Newbie
mustang  Offline OP
Newbie
M

Joined: Sep 2014
Posts: 24
Yes, it works with and NumOpenLong < 1 and NumOpenShort < 1 both covered in Workshop7.

Thanks you!


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1