Forum

Plot Histogram

Dear Coders, I am trying to create a new indicator which plots a histogram based on the following calculation w.r.t the Pivot points, both current and past. Pivot = ((PreviousHigh + PreviousLow + PreviousClose)/3); BC = (PreviousHigh + PreviousLow ) / 2; TC = (Pivot - BC) + Pivot; if (BC >