Jump to content

Hourly central pivot range


sherbaaz

Recommended Posts

Hi all,

 

Can somebody please share or code central pivot range for NT7. I am looking for code which takes last 12 bars highest high, lowest low and close to calculate central pivot range. Using this data central pivot range to be plotted on next 12 bars. I want to plot the same on 5 min chart.

 

following is the code:

 

pivot = (H+L+C)/3

BP = (H+L)/2

TP = pivot + (pivot -BP)

 

kindly help.

 

regds,s

Link to comment
Share on other sites

Hi all,

 

Can somebody please share or code central pivot range for NT7. I am looking for code which takes last 12 bars highest high, lowest low and close to calculate central pivot range. Using this data central pivot range to be plotted on next 12 bars. I want to plot the same on 5 min chart.

 

following is the code:

 

pivot = (H+L+C)/3

BP = (H+L)/2

TP = pivot + (pivot -BP)

 

kindly help.

 

regds,s

 

This can be done, but if we are at bar X and we look back 12 bars for the calculation and then project the calculation forward 12 bars, how do we define where bar X is?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...