stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Downticks and Upticks indicator?
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=1516
Page 1 of 1
Author:  K-Lander [ Tue Feb 19, 2013 7:49 pm ]
Post subject:  Downticks and Upticks indicator?

Hello all,
Does anyone know about/has an indicator showing the number of upticks and downticks (just to be clear, the number of ticks in a bar that pushed the price up or down, respectively (Upticks + Downticks = iVolume)). I would need an indi that allows me to use the number of upticks and downticks within a robot.

Thanks a lot...

K-Lander
Author:  mobthehop [ Wed Feb 20, 2013 1:17 am ]
Post subject:  Re: Downticks and Upticks indicator?

See whether this does what you are looking for....

Mop
Author:  K-Lander [ Wed Feb 20, 2013 11:04 pm ]
Post subject:  Re: Downticks and Upticks indicator?

mobthehop wrote:See whether this does what you are looking for....

Mop
Hi Mob,
Yes it does. It is exactly what I was looking for. I have modified it a bit to make it send the two variables (Up and Down ticks) to GlobalVariables, so I can use them separately, but it seems to be doing the job (too basic coding skills, mine, couldn“t think of any other way to extract the data).

Thanks for taking the time. Have a great day,

K
Author:  mobthehop [ Thu Feb 21, 2013 1:31 am ]
Post subject:  Re: Downticks and Upticks indicator?

Hi K-Lander - great....

The code is actually pretty simple and the two values are in buffer 0 and 1 - it shouldn't be a big issue to bring this calculation in-house to the EA....

Drop me a PM if you like me to have a look at it...

Mop
All times are UTC Page 1 of 1