Dukascopy
 
 
Wiki JStore Search Login

Max spread
 Post subject: Max spread Post rating: 0   New post Posted: Wed 11 Dec, 2019, 16:38 

User rating: 0
Joined: Mon 21 Nov, 2016, 15:15
Posts: 22
Location: France,
Hello,
I try to build a strategy which use a maximum spread. Every time spread is more than 1 pip on eur/aud for exemple, the stream is suspended. Then the stream go on if spread is less than 1 pip.
I have tried on the following file.. but it doesn't work..
Do you have any idea ?
Thank you


Attachments:
testspread_v2.vfs [40.57 KiB]
Downloaded 177 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: Max spread Post rating: 0   New post Posted: Tue 17 Dec, 2019, 17:53 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Hello.

In Calculation block You've forgot to divide the result by pipSize.
The formula should be
(A1-A2)/A3

Kind regards, Support Team.


 

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