# Tick Indicator and EAs - page 23

21

Hi,

I was looking for a tick volume indicator that displays the difference between upticks and downticks for a given candle as a histogram.

In short it would be a tick volume delta histogram.

If the delta value for the bar is positive - it will show green

if the delta value for the bar is negative - it will show red

In short the user will be able to specify what colour +ve or -ve delta values will show.

If anyone can code such an indicator of one is freely available , please do let me me know. Thanks in advance

132

Files:
tickchart.rar 61 kb
50

Can someone share or code a very simple tick indicator. Once I upload the indicator,it should start counting and adding Ask and Bid ticks with their spread values separately. For example:

Ask ticks spread values: 1.233[62] ; 1.233[64] ; 1.233[63] ; 1.233[70] and etc.

[2] + [0] + [7] = 9

add the difference of the last two digits, only when current spread value is higher than the previous one, as in the example above. I just need the indicator to show the total number 9.

Same calculation for Bid ticks spread values: add the difference of the last two digits only when current spread value is higher than the previous one, as in the example above.

One more thing: Ask ticks spread values: 1.233[62] ; 1.233[64] ; 1.233[63] ; 1.233[70] and etc.

[2] + [0] + [7] = 9

[1] + [0] + [1]= 2 ticks

I also need to see the total number for Ask ticks(2ticks), only for the ticks where the current spread value is higher than the previous one, as in the example above.Same calculation for Bid ticks total number.

Thank you!

10

This should be a tick chart that shows values as histogram (histo value is bid compared to average of bid). On the picture : the 3 kinds compared

Hi Mladen, there might be another way around that would spare the use of the average of bid, I tried to implement it in the code of your "tick_on_chart 2"

It would be to compare ticks[0] to ticks[1] and if the difference is>0 it goes to ticksUp buffer (histogram), if<0 to ticksDn buffer and if=0 it takes the same value than the previous one.

I had only 5minutes to test it before the market closes this friday, but it looks like it's working...

I'm just a beginner coder and I didn't put a ‘for loop’ (I don't really understand it) so it draws only the current bar.

Could you please make it work please, so we can compare it to the previous "tick_on_chart histo"

Could you also add an extern bool: ShowVolPerBar, if true, it would add separately all the ticksUp and all the ticksDn received during the time span of each bar of the chart, starting with the last one and populating the window as time goes...

I tried to do it myself but my only result was to freeze the terminal

Schmurex

tick_on_chart_2.v.1.00.mq4

Files:
3231

How can anybody find a trend using ticks?

And if we can not afford HFT (neither machines nor connections nor code) how can we, without having an insight to level 2 data use tick data?

10

Hi all,

since the market reopened I could try different things to get the code working.

I think it works now:

tick_on_chart_2.v.1.01.mq4

It gives similar result than 'tick_on_chart histo' with the difference that there is no smoothing...

I'm still trying to get the option 'ShowTickVolPerBar' working' but it's a bit beyond my coding skills.

So if you have time Mladen or any coder, I would be very grateful if you could implement it (adding separately all ticksUp and all ticksDn coming during the time span of the current Bar) and represented the same way ( except each histogram bar would have at the same time Up value and Dn value)

Schmurex

Files:
2047

Tick chart

tickchart.mq4

Files:
289

agTickVolume

Moderator
118951

### Tick Tools

1. Tick tools - key thread with many tick indicators.
2. Tick indicators and EAs thread
3. PipsChart indicators thread
4. Ferret the PipsChart Trader EA: the thread
Moderator
118951

Forum on trading, automated trading systems and testing trading strategies