Dukascopy
 
 
Wiki JStore Search Login

Get Historical Candles - Greatest Range
 Post subject: Get Historical Candles - Greatest Range Post rating: 0   New post Posted: Tue 15 Sep, 2015, 18:51 
User avatar

User rating: 0
Joined: Wed 18 Mar, 2015, 14:18
Posts: 7
Location: Germany, Berlin
Hello,

I only want to trade if the last candle has a greater range than the previous 10 candlesticks. Here is my test but it didn't work.

So long
Marco


Attachments:
Candles10Test01.vfs [47.13 KiB]
Downloaded 141 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: Get Historical Candles - Greatest Range Post rating: 0   New post Posted: Wed 16 Sep, 2015, 10:24 
Visual JForex expert at Dukascopy
User avatar

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

Kindly review the attached example carefully.
Trading on the highest candle amplitude (Range) means in other words that we'll retreive the highest and lowest prices of 10 completed candles and comparing it to the the amplitude of the latest completed candle (That's why I'm using shift 2 for getting the 10 candles and shift 1 for getting the last one). Hope this is clear for you.


Cheers


Attachments:
TradeOnHighestAmplitude.vfs [46.1 KiB]
Downloaded 198 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.
 

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