Page 1 of 1

How To Keep Track Of A Specific Bar

PostPosted: Fri Oct 06, 2017 11:51 pm
by 7000306337
Hi:
Many thanks in advance for your time.

Say, ... I located a PeakBar and I want to always refer back to that BAR later.
For example I want to know how many bars between current "period" and that PeakBar.

Much appreciated,

Re: How To Keep Track Of A Specific Bar

PostPosted: Mon Oct 09, 2017 5:04 am
by Apprentice
u can use something like.
Distance = period - PeakBar
PeakBar should be a global variable.

If you give me a concrete example,
can make an example that will use few methods,
with the same end result.