Just use the SessionPivotsDailyV6 indicator. It has an option to show Midpivots, which is set to true by default, but you can set it to false and all Midpivots and their price markers will disappear. The midpivots are useful if a balancing day occurs after a day with an extended range.
If you want to change the labels of the lines, just edit the indicator and change the text in lines 123-146 to what you lilke it, and then save it again with F5.
If you do not like S3, R3 etc. to be shown on your chart, then you have to modify the indicator. You would have to delete the Plots (see lines 123-146), the Sets (see lines 394-413) and the Properties (see lines 434 - 604) for those labels that you do not wish to see. You also would have to renumber the remaining "get"-instructions in the Properties section.
The CalcFromIntraDayData method will not be accurate, if the session close is not the close of one of the bars. For example, a 60 minute chart of YM does not include the session close at 3:15 PM Central Time, and the session close will be somewhere in the 4 PM bar, so the indicator does not know it and will take the close of the last session bar instead. In this particular case you would have to use the DailyBar method, if your data vendor supplies daily data, or otherwise accept inaccurate Pivots. For a 30 min chart you could select 3:30 PM as session close, the 3:30 PM bar will then be selected by the indicator for the session close, and the Pivots should be displayed correctly by using either CalcFromIntraday or DailyPivots method.
Hope this helps. Please let me know, if you observe any inaccurate Pivots.

Comment