This indicator draws current pivot points, it does not plot history. Clean and simple.
Choice of Standard, Fibonacci, Camarilla, Woody's and Demark pivot calculations.
Calculation is based on previous bar of chosen period.
double xLow= iLow(0,inpPeriod,1);
Default setting is H1, for scalping.
Two additional lines are drawn — Previous day's High and Low.
Every and each line can be set up to your liking: Color, Style, Thickness (set color to None to disable line).
Thicker lines are previous day's High/Low. Drawn only on lower than D1 time frames.
Camarilla Pivot includes L3, L4, L5, H3, H4, H5 lines. Other points are omitted as they're not really needed.
If viewing time frame is larger than indicator's set period, the lines are not drawn, otherwise they only obstruct.
This code was written as an indicator. It adds top and bottom margin to the chart. Both can be adjusted separately.Notify
This library has smart notification(alert, push and alert) function with an option of having a single notification per candle at a time.