TradingView
fxtent
3 dec 2018 14:46

Pivot Point + MidPoints 

British Pound/U.S. DollarFXCM

Beskrivning

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
Kommentarer
thisismodernity
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, 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.
prabhatjn74
Hi
Nice script. can you help to add some script, so that it will plot for same day and not for previous days.

Thanks.
thisismodernity
@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
confluent
Hi. Much needed script. Any chance the midpoints can be labelled as m1 m2 etc. ? Thanks.
jpbraga
how can I plot the price alongside every line ? (version 3)
Mer