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
Downticks and Upticks indicator?
-
K-Lander
- Trader
- Posts: 35
- Joined: Thu Nov 17, 2011 9:03 pm
- Location: Buenos Aires, Argentina
- mobthehop
- Trader
- Posts: 362
- Joined: Wed Nov 16, 2011 12:16 am
Re: Downticks and Upticks indicator?
See whether this does what you are looking for....
Mop
Mop
You do not have the required permissions to view the files attached to this post.
-
K-Lander
- Trader
- Posts: 35
- Joined: Thu Nov 17, 2011 9:03 pm
- Location: Buenos Aires, Argentina
Re: Downticks and Upticks indicator?
Hi Mob,mobthehop wrote:See whether this does what you are looking for....
Mop
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
- mobthehop
- Trader
- Posts: 362
- Joined: Wed Nov 16, 2011 12:16 am
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
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