Dukascopy
 
 
Wiki JStore Search Login

Wave Volume
 Post subject: Wave Volume Post rating: 0   Post Posted: Mon 02 Jun, 2014, 00:06 
User avatar

User rating: 0
Joined: Sat 01 Dec, 2012, 21:13
Posts: 12
Location: Ireland, Dublin
Hi everybody,

I plan to develop a strategy that is based on certain way of measuring volume.
In the matter of fact Volume would be accumulated for each of the ZigZag waves. But my question to you folks is how to calculate and plot this kind of behavior? Should I use some kind of loop function for collecting volume for each ZigZag line?
How would you approach this problem? Any ideas welcome. We will try here all of them! :-)

Please see below screenshot for illustration. That one additionally is drawn for Heiken Ashi bars.
Best regards,
Bart S.

Image


Attachments:
File comment: Accumulation of Volume for ZigZag waves
WaveVolume.PNG [38.23 KiB]
Downloaded 250 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: Wave Volume Post rating: 0   Post Posted: Mon 02 Jun, 2014, 17:29 
Visual JForex expert at Dukascopy
User avatar

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

Well, as far as I understood, there will be a volume calculation based on candles and zigzag trend.
So let's assume 1mn chart: what should be calculated in the sum of the volume bars IF the zigzag is keeping a given trend (up or down). In this case, each volume bar will be stored in a variable and summed to the previous one till ZigZag turns.
How many accumulated volume will you use for your strategy ? (last accumulated volume??)
What is the trading period to be used ? the settings of the ZigZag indicator ? What is the volume indicator that you'll use in Jforex ?
From what I seen, ZigZag is waiting till a given number of candles are formed to continue plotting, this could be tough when it comes to knowing the accumulated volume but you can probably explain a bit more so that we can provide accurate help.

Thanks


 
 Post subject: Re: Wave Volume Post rating: 0   Post Posted: Wed 04 Jun, 2014, 16:27 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
Maybe it will also help to have a look at this: viewtopic.php?f=191&t=50734


 
 Post subject: Re: Wave Volume Post rating: 0   Post Posted: Fri 06 Jun, 2014, 01:16 
User avatar

User rating: 0
Joined: Sat 01 Dec, 2012, 21:13
Posts: 12
Location: Ireland, Dublin
Hi guys,
OK, let's assume for now that we are going to use ZigZag with pips calculation for reversing the swings, and let assume for our example it's going to be:
- 5min chart of EUR/USD
- with 4-pip reverse on ZigZag
- and the calculation would be based on closes of candle (or if not available, then standard Low & High will do for now)
- periods of waves are derived straight from ZigZag. Are synchronized.
- Let's use standard volume for now. we can mess around with BID Vol and Ask Vol in the future
- we also want to display accumulation for more ZigZag swings, let say 50 or 100 (possibly for whole history loaded to chart if someone wants to backtest. But that would consume lot's of computing power) - OK, let's leave it at 50 ZigZag waves/swings backwards for now
So, how the volume is accumulated? Well, volumes from each bar are added up together for each ZigZag wave/swing. There is always an interchange in the direction of swings and we get up, down, up, down etc waves.
How it works? When we have confirmed reverse, Total Volume for current new wave is reset to 0. Then bar by bar volumes are being accumulated with a formula of N bars -1 (all bars under swing line - 1), so for initial bar of each swing volume still belongs to previous wave.
Entry - for now very basic one for long side - If TotalVol of previous up wave is 10 times higher than TotalVol of recent down wave, then set stop Buy 1 pip above High of the Up wave. (Drawing attached)
Target - let's set up simple 10 or 20 pips for now.

I now subscribed to this topic. Please let me know if you have further questions. I am very much convinced that this will be a really interesting development and more people will join this subject.

Best regards,
Bart S.

Image


Attachments:
2014-06-06_01-17-33 featherweight pattern.png [21.59 KiB]
Downloaded 324 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: Wave Volume Post rating: 0   Post Posted: Tue 10 Jun, 2014, 10:21 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
Greetings!

First of all: It is possible to program it with Visual JForex.

Please note that we do not program complete strategies. We encourage you to try it first, then we will assist and help you creating the necessary components.

Take the ZigZag strategy and modify it - it is not that hard, in general.

Let me know if you need some help.


 

Jump to:  

  © 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