Dukascopy
 
 
Wiki JStore Search Login

The program does not open any positions
 Post subject: The program does not open any positions Post rating: 0   New post Posted: Wed 26 Nov, 2014, 15:00 
User avatar

User rating: 0
Joined: Fri 08 Mar, 2013, 08:11
Posts: 9
Location: IsraelIsrael
Greeting
I nee assistance with the following strategy:
Default pair is Eur Usd.
Only one position at a time.
Sell against the daily highest high- "box", or buy from the daily lowest low +"box" (5 pips).
The strategy has to update the ""daily_hi" and "daily low" for any new level.
At 00:00 "daily_hi" and "daily low" get initialized to "0" and "2".
The program does not open any positions, it seems that the"hi/low" levels are not updated.
Pls advise
Thanks.
Zev.


Attachments:
Daily_high2.vfs [38.45 KiB]
Downloaded 153 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: The program does not open any positions Post rating: 1   New post Posted: Thu 27 Nov, 2014, 13:39 
Visual JForex expert at Dukascopy
User avatar

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

From your strategy, you are retrieving the day of the month using Get Time Unit block and this value should be equal to 0 which is obviously impossible as the day of the month is a variable that belongs to the array [1-31].

Please advice regarding your need of using Get time unit block and provide more details regarding the entry conditions.

Thanks


 
 Post subject: Re: The program does not open any positions Post rating: 0   New post Posted: Fri 05 Dec, 2014, 12:26 
User avatar

User rating: 0
Joined: Fri 08 Mar, 2013, 08:11
Posts: 9
Location: IsraelIsrael
Hi,
Yes it should have been hourly!
Thanks
Zevik.


 

Jump to:  

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