Dukascopy
 
 
Wiki JStore Search Login

create counter with if block, if block doesn't work with 2 int numbers
 Post subject: create counter with if block, if block doesn't work with 2 int numbers Post rating: 0   New post Posted: Fri 17 Jun, 2016, 08:43 
User avatar

User rating: 0
Joined: Fri 18 Mar, 2016, 10:07
Posts: 7
Location: Switzerland, Zürich
Hy all
For one of my Strategy's i need a counter in a loop-block. In this way i can do in every loop round some other things.
When I test e simple counter with an if block, like in the attached file, then the if block never compare the two int variables. I don't know what the problem is.
Thank You for some help.


 
 Post subject: Re: create counter with if block, if block doesn't work with 2 int numbers Post rating: 0   New post Posted: Fri 17 Jun, 2016, 11:42 
Visual JForex expert at Dukascopy
User avatar

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

Unfortunately your file is missing as an attachment so I can't check it. Could please try to attach it again or send it by email to [email protected] addressed to me.
Generally speaking, the counter increments every given period so in most cases there is no need to add an additional loop unless you require more complex conditions.

Cheers !


 
 Post subject: Re: create counter with if block, if block doesn't work with 2 int numbers Post rating: 0   New post Posted: Fri 17 Jun, 2016, 15:18 
User avatar

User rating: 0
Joined: Fri 18 Mar, 2016, 10:07
Posts: 7
Location: Switzerland, Zürich
when i try to attach the file is this message shown: Sorry, the board attachment quota has been reached.


 

Jump to:  

cron
  © 1998-2025 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