FXCM Forex Trading

How To Keep Track Of A Specific Bar

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

How To Keep Track Of A Specific Bar

Postby 7000306337 » Fri Oct 06, 2017 11:51 pm

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,
7000306337
 
Posts: 14
Joined: Sat Jul 15, 2017 9:48 am

Re: How To Keep Track Of A Specific Bar

Postby Apprentice » Mon Oct 09, 2017 5:04 am

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.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17168
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Exabot [Bot] and 7 guests