The trader pivot line indicator places the S3 line in the wrong place.
The formula must be wrong.
Can anyone direct me to another that is correct?
Thanks
The trader pivot line indicator places the S3 line in the wrong place.
The formula must be wrong.
Can anyone direct me to another that is correct?
Thanks
What do you mean by âcorrectâ?
(There are a variety of different pivot levels, all using slightly different formulas.)
Sometimes I see the the Pivots indicator drawing levels at the wrong locations, too.
The first thing to try is reload all Historical data and check again.
Try either:
Right click and select âReload All Historical Dataâ
CCâ>Toolsâ>Historical Dataâ>Download
Otherwise, if youâre saying the formula is wrong and the calculations are not producing the levels you expect, you can always look at the code in the file Custom/bin/Indicators/@Pivots.cs,
pp = (currentHigh + currentLow + currentClose) / 3;
s1 = 2 * pp - currentHigh;
r1 = 2 * pp - currentLow;
s2 = pp - (currentHigh - currentLow);
r2 = pp + (currentHigh - currentLow);
s3 = pp - 2 * (currentHigh - currentLow);
r3 = pp + 2 * (currentHigh - currentLow);
If you want to use a different formula, copy @Pivots.cs to a new file and change the code as desired.
NT8 also has the CamarillaPivots and FibonacciPivots indicators.
![]()
You chart shows pp=633.88 and s2=629.09. If you subtract them you get 4.79, which is the difference between the high and low. 638.88 - 2 * 4.79 = 624.3. Seems like the right place to me according to the formulas bltdavid posted. There are many different, and valid, ways to calculate S3/R3. Your other chart must be using a different one. Neither is wrong, they are just different.
For example, another common way to calculate S3 is:
S3 = Low - 2 * (High - PP)
It would be very easy to copy @Pivots.cs (as suggested by bltdavid) and change the formula to your preferred one.
Hereâs what grok had to say on the difference:
Pivot points are typically calculated using the prior periodâs High (H), Low (L), and Close (C):
From there, support and resistance levels are derived. The first two support levels (S1 and S2) are usually consistent across variations:
But for S3 (and similarly R3), there are two prevalent formulas in the âclassicâ or âfloor traderâ pivot point systems:
I donât want custom, just the same in other platforms. This is tradingview, which the same as TC2000. Ninja, ideally would follow a standard. Only S3 is off
Iâll have to have a programmer correct it. Thanks for the input.
You can hire me if you want. Iâll do it for $200.
Lol, heck, Iâll do it for $199!
GROK gave the two lines that need to be changed in the Ninja pivot script and said how to save as, and copy the script to a new name. Then remove the two lines, and paste the new.
Itâs an example of why AI is crashing the software sector (IGV - XSW) with no bottom is site. Iâm surprised there wasnât a bid to do it for $20. ![]()
Like many things, knowing how is significant.
In trading youâve got to solve a lot of problems yourself. Those numbers you got to code your indicatorâŚthey were being sarcastic. (Who on this forum would waste their life for $20?)
If you donât solve your problems yourself, and build understanding of the market yourself, thereâs a whole industry that will sell you âsolutionsâ. And most participants buy it endlessly, in search of the proverbial âsolution / holy grailâ.
You instinctively and independently used a freely available tool to solve your own problem.
Understand that the auction is everywhere. And weâre all participants, some are informed and some are not.
Tha âmarketâ permeates everything.
Good luck on your trading journey.