ZIG ZAG

Login or Register

Please login or register in order to view and post in the Forum.

1 post / 0 new
adrianfaiers
Last seen: 6 years 5 months ago
Joined: 10/10/2013 - 00:00
ZIG ZAG

Hi

I am nto sure if this has been asked before, I have looked though the forum but could not see anything.

I would like the ZZ to only print when the minimum price change reaches a certain number of ticks which is decided by an indicator.

For example

ZZ min price chanage >= true range of last 15 bars * 2.5

I can do this by sending the output of the TR to a variable, but all the past zig zags then get altered to fit the new output of the indicator.

i.e Every time the TR updates and sends the current value to the variable then all the past zigzag change to fit this variable.

How do I approach marking each rotation that is => than TR(15)*2.5

Thanks

Adey

0