Jump to content
Medved Trader Forums
jfritchey

Central Pivot Labels reversed and calculation problem

Recommended Posts

The labels TC and BC seem to be reversed on the chart. I think the TC should be on the top and BC on the bottom.   I calculated the BC, P and TC using The H, L and C below

CHTR 1/7/20 values

High  498.15

Low 490.93

Close 497.45

Calculated BC  494.54

                        P 495.51

                        TC 496.48

The Indicator displayed on chart

BC 496.3933  Versus calculated 497.48

TC 494.54     Correct

P 495.4667.   Versus calculate  495.51

My calculations used 2 decimal point values from Historical chart. The Pivot (P) I calculated looks to be the problem.

What am I doing wrong?


Pivot point post.txt

Share this post


Link to post
Share on other sites

Yes it is reversed according to the article formulas below.  I am a little concerned that no one noticed this before because TC means top and BC means bottom. I guess they ignored the labels.

TC = (Pivot – BC) + Pivot
Pivot = (High + Low + Close)/3
BC = (High + Low)/2
Did you find anything on the P calculation?  That was more important than the labels.

Share this post


Link to post
Share on other sites

Pivot is calculated as (prev day high + prev day low + prev day close) / 3

The difference could be the close of the day. MT takes it from the data, so if you have extended day it will take it from that. Compare your HLC values to MT's.

Share this post


Link to post
Share on other sites

1/8 close Chtr MT Historical Chart Values  

High    509.99

Low     498.55

Close   500.70

 1/8  Stock chart values

High    509.99

Low     498.55

Close   500.70

My calculated values

image.png.fa1e6f32bbaec05ae7be11111ae92046.png

Chtr 1/9 Intraday chart

Pivot 503.17

I understand the label difference now.

My Pivot calculation still differs from yours.  I checked yesterday’s values and compared them to Stock charts which were the same for a couple of symbols.  I still cannot figure how you get the result you display on the chart. Some MT symbol chart pivot values are correct but others differ from my spread sheet calculated values.  Since the TC calculation uses Pivot it can differ also. What values did you use for CHTR from 1/8 close?

 

Share this post


Link to post
Share on other sites

I am not sure whether you're using the historical chart candle values to calculate intraday pivot points? If so, that is not what MT uses. MT uses intraday data to calculate intraday pivot points. So look at intraday high low close - on the intraday chart candles - for the day.

 

Oh and yes TC and BC were reversed. I changed that in code.

Share this post


Link to post
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...