Dukascopy
 
 
Wiki JStore Search Login

1 order(position) / time
 Post subject: 1 order(position) / time Post rating: 0   New post Posted: Sun 25 Sep, 2016, 20:17 
User avatar

User rating: 0
Joined: Fri 04 Sep, 2015, 19:44
Posts: 34
Location: Slovakia, KE
Hi / good day.

I want 1 position / time to prevent from opening 100 orders :D

Is this good ?

Image



thanks.


 
 Post subject: Re: 1 order(position) / time Post rating: 0   New post Posted: Mon 26 Sep, 2016, 10:09 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Hi,

I can't see the input variables of the IF block, but basically, this is correct: Use "Position amount" as a first variable and then the second condition should be 0 to say : If the number of open positions is equal to zero then, move forward, if not then the flow will be blocked at that level.

Cheers


 
 Post subject: Re: 1 order(position) / time Post rating: 0   New post Posted: Mon 26 Sep, 2016, 19:52 
User avatar

User rating: 0
Joined: Fri 04 Sep, 2015, 19:44
Posts: 34
Location: Slovakia, KE
Thank you, i corrected it.

I wanted: IF (positionAmount is)= 0 then goto buy, IF (positionAmount is something)>= 1 do nothing (skip buying-wait for SL/TP).

Image


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com