Pivot Point + MidPoints

Traditional floor pivots with additional lines in between the s/r levels called Mid Points
If the Pivot Points are used as entering at s/r levels, you can use the Mid Points to scale out of a position or place Sl's behind
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Excellent. Thanks for writing this. I made a change: if you switch it from "circles" to "line", obviously you get those horrible stepping up or down joining lines each time the line levels change.. but.. you can make the color of the line invisible when the line level is less or greater than the bar prior. Then it appears as in the example chart above, but with a thin line instead of circle blobs
thisismodernity thisismodernity
@thisismodernity, Also I changed it from "D" (previous day prices calculation) to "720" (12 hours price calculation, instead of 24 hours). Now I see the lines adjust halfway through the day. Very nice.
Nice script. can you help to add some script, so that it will plot for same day and not for previous days.

thisismodernity prabhatjn74
@prabhatjn74, See lines 11, 12, and 13 in the code? Where there is a 1 in square brackets after high low and close? Remove the 1 and the brackets, and it will be based on the current day high low close instead. If you swapped the 1 for a 2 it would be based on 2 days ago instead of 1, etc. Removing that means it's based on today instead.
prabhatjn74 thisismodernity
Hi. Much needed script. Any chance the midpoints can be labelled as m1 m2 etc. ? Thanks.
how can I plot the price alongside every line ? (version 3)
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter