Tick Volume

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Tick Volume

Postby Apprentice » Fri Sep 12, 2014 12:19 pm

Tick Volume.png

This is my attempt to rethink the buildin tick volume.

I'm not sure which algorithm is used on FXCM servers for tick volume calculation.
Therefore, certain deviations are possible.

Will provide three presentations.
Separated / Cumulative / Cumulative Absolute.

Can provide information about true nature of price action within the candle.


If u like this implementation.
Write to your congressman, FXCM, representative ...
Lobby for availability of Up & Down Tick data on FXCM servers.

Tick Volume.lua
(7.42 KiB) Downloaded 1311 times


Tick Volume Divergence.png

Tick ​​Volume Divergence will only sort out the candles for which Candle & Tick Volume direction is different.
Tick Volume Divergence.lua
(7.2 KiB) Downloaded 1116 times


MT4/MQ4 version.
viewtopic.php?f=38&t=69019
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Tick Volume

Postby Apprentice » Mon Sep 15, 2014 8:46 am

Tick Volume.png
Real live example from my Trading Station.

While Buildin Tick volume for the last candle is growing,
Indicating that the down move, is supported by increasing the Tick Volume,
suggesting a reversal.
Cumulative Tick Volume indicates that down move does not have real strength,
suggesting a trend continuation.
Increase in Tick volume is the result of increased volatility.
However for for the time being, neither side has the upper hand.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Tick Volume

Postby kitefrog » Fri Sep 19, 2014 6:06 am

Nice work on your tick volume indicator. Can you
make a change to this, and show the 'cumulative tick
volume divergences' ?

As you probably know:

When it is set in the cumulative mood, when the
net total of the tick is different from the candle
sentiment it is a tick volume divergence (TVD).

Your NGAS 1HR chart from that posting had two
strong 'tick volume divergences' (TVD) at the low in
your chart. This was added confirmation of a reversal.

http://i.imgur.com/HWHJzOh.png

Nice analysis by the way, and great call on NGAS
I've annotated these two strong signals in the linked
chart above. Can you improve the indicator and make it;

A) show BOTH cumulative tick volume divergences
B) only strong strongest TVD.

Just like with delta divergences, there are two strengths of
these cumulative TVD.

At a day high, or near the top of range, the strongest
is the bullish bar with negative tick cumulative; the
weaker of the two signal is the other way around;
a bearish bar near highs plus a positive cumulative tick.

(the opposite at lows of course)

I've heard somewhere that the cumulative tick volume
is 90% correlated with the delta divergence, as per
Market Delta; so your indicator will be a good reversal
indicator when combined with other signals.

I've emailed FXCM and asked them to improve the data stream
to include this fed as you've requested, and until they
improve this stream, I fully appreciate that you
might not see the benefit in also making this a strategy
file to signal. If you did make the strategy signal, you'll
need a Boolean to 'only show strongest TVD', otherwise
it could just signal both the TVD strengths.

I've been comparing your signals to the market delta charts
and their delta divergences, they seem to line up pretty good.

Here's some NT7 code for the delta divergence, and a MD
video about delta divergence so its perfectly clear.

Delta Divergence indicator
http://youtu.be/m2K5w7ha-RI (6min)

Code: Select all
CODE for NT7

// Condition set 1: Delta Divergence Down
if (Close[0] < Open[0]
&& GomDeltaVol_UpDown().UpVolume[0] > 0)
{
DrawTriangleDown("My triangle down" + CurrentBar, true, 0, High[0] + 2 * TickSize, Color.Black);
}
// Condition set 2: Delta Divergence Up
if (Close[0] > Open[0]
&& GomDeltaVol_UpDown().DownVolume[0] > 0)
{
DrawTriangleUp("My triangle up" + CurrentBar, true, 0, Low[0] + -2 * TickSize, Color.Gold);
}


Thanks so much !!
David
Attachments
2014.09.19 0248 NGAS 1HR all Tick volume divergences 090914 - 150914.png
kitefrog
 
Posts: 30
Joined: Fri Sep 19, 2014 5:10 am

Re: Tick Volume

Postby Apprentice » Fri Sep 19, 2014 7:47 am

Tick Volume Divergence Added.
Tick Volume minor bug Fix.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Tick Volume

Postby SavvyStrategist » Mon Jun 08, 2015 12:48 pm

I very much like this indicator and greatly appreciate the workaround to circumvent the lack of up/down tick volume availability. However, I did notice one rather major flaw. There seems to be a distinct difference between how real time and past data is interpreted and hence displayed. To clarify this point, I will upload a screenshot.

In essence, past data (talking absolute cumulative model) is always proportional to actual tick volume. New data, that is to say data that is read and displayed after the indicator is first loaded, is half of what it should be. This results in new data being practically unreadable, as it always ends up being too small to notice; comparisons, in turn, are nigh impossible to make. The screenshot below demonstrates this point. I loaded the indicator twice and placed my cursor at the exact time the indicator was loaded last.

There appears to be no flaw whatsoever with past data, so I would suggest retaining that model to display new data. New data, in turn, would be displayed after the candle closes, so the same calculation can be used, thus ensuring consistency and continuity.


P.S. The colors are different but pay no attention to it. It's the same indicator, as the label suggests.
Attachments
Tick Volume.JPG
SavvyStrategist
 
Posts: 30
Joined: Mon May 04, 2015 6:55 pm

Re: Tick Volume

Postby SavvyStrategist » Tue Jun 09, 2015 12:23 pm

Actually, it would appear my first observations weren't entire accurate. The greatest drawback to this indicator is the disparity between tick volume displayed, as per the indicator, and actual tick volume. It is most noticeable when volume prior to the indicator being loaded is greater than volume after it is loaded. Additionally, and for whatever reason, it seems that the last 30m-1hr of data is almost always, if not always, reduced in magnitude. My best guess is that the data mining occurs right to left and not left to right. In either case, my suggestion would be to make tick volume (indicator) always equal to actual tick volume for the specified period, then utilize whatever calculation is used to determine up/down volume and apply it proportionally to create the indicator.

The image below, as before, is a screenshot of the same indicator having been loaded twice, taken when it was last loaded.
Attachments
Tick Volume Backtest.JPG
SavvyStrategist
 
Posts: 30
Joined: Mon May 04, 2015 6:55 pm

Re: Tick Volume

Postby Apprentice » Wed Jun 10, 2015 3:28 am

Write to your congressman, FXCM, representative ...
Lobby for availability of Up & Down Tick data on FXCM servers.
Internal availability of Tick & Real Volume, not that real volume indicator ...
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Tick Volume

Postby SavvyStrategist » Wed Jun 24, 2015 11:43 am

Fair enough.
SavvyStrategist
 
Posts: 30
Joined: Mon May 04, 2015 6:55 pm

Re: Tick Volume

Postby Apprentice » Mon Feb 05, 2018 10:03 am

The indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Tick Volume

Postby lumanauw » Sun Sep 29, 2019 11:11 am

Hi, Apprentice,

This is good indicator

Is it possible to change the criteria to just only 2 for live/forward data?
Currently there are 4 criteria,
If bid>prevbid up++,
If bid<prevbid down++,
if ask>prevask up++,
If bid<prevbid down++.

Modified to just 2 criteria,
if (ask+bid) /2 > prev((ask+bid) /2) up++, down=prevdown
If (ask+bid) /2< prev((ask+bid) /2) down++, up=prevup

Also add line chart option, line[0] = line[1]+current data

Thank you
lumanauw
 
Posts: 4
Joined: Thu Apr 04, 2019 8:37 pm

Next

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 41 guests