Customised Pivot Point Indicator

Forums ProRealTime English forum ProBuilder support Customised Pivot Point Indicator

Viewing 6 posts - 1 through 6 (of 6 total)
  • #6806

    A request that was addressed to ProRealTime:

    It would be great if you could help me with a customised indicator I need.

    I’m looking for a customised pivot indicator (on price).

    – As a starting point the default indicator on the system is fine with standard pivot levels based on yesterdays data, eg P+([H+L+C]/3), R1=(2*P)-L etc
    – In addition I need 2 additional horizontal lines placed above and below the ‘P’ line I will describe as the ‘TC’/top channel and ‘BC’ bottom channel.
    – These are again both based on yesterdays data.
    – The ‘TC’ sits horizontally >P and <R1 and is defined as (P-BC)+P
    – The ‘BC’ sits horizontally <P and >S1 and is defined as (H+L)/2
    – Core priority is for a daily setting but ideally option for weekly and monthly timeframe

    As well :
    – ideally option for colour code or if easier to be pre set, eg for TC and BC to both be dotted blue lines or a shaded box?
    – Sunday open data to be merged into Monday
    – As with default pivot indicator I need to be able to display more than one time period at the same time, eg ‘today’ Mon 1 May (based on Fri 29 data) and ‘yesterday’ Fri 29 (based on Thurs 28 data) etc
    – Also need the actual numbers to be displayed on the chart or cursor?

    Many thanks

     

    Suggestion for an answer:

    • Adding texts, shaded boxes etc is only possible with version 10.3 (this request has not been taken into account for this reason)
    • This indicator has to be added directly on the price chart and load at least a month’s historical data
    • You can adjust style and line types by clicking on wrench icon (v10.3 will also allow to pre-set line styles in the code)

     

    #6807

    This indicator is a so requested one, that I will post it in the library for future purposes! Thanks Henry.

    I also add the file for download attached to this post.

    #13184

    Hi

    Thanks for the great code. 2 Questions though…

    1. Please see attached file. When opening a chart, the price action is compressed to show all the pivot data points. How can that be fixed in the code? It would be tedious to scroll / adjust the price column all the time?
    2. Day on Day / Week on Week and Month on Month pivots are linked with a line. It would be so much cleaner if the pivots are not ‘attached’ to each other. In other words if yesterday’s pivot was 3456 and today it is 3476 then there is not a line linking the daily pivots. It gives a jagged result and makes the chart look cluttered. I hope that makes sense.

    Thanks and regards

    #13195

    Hi,

    1. The only way to get it work like this would be to only display the last pivot lines. That involve some code modifications.
    2. In v10.2, the lines are continuous, in fact they are horizontal curves, so that’s why they are all linked like this. The only solution to have them not linked together is to set the pivot lines to “dots”
    #13221

    Thanks for the reply Nicolas. I’m still finding my way in coding. How do I set the pivots to dots so that the continuous link can be broken (or better even – disappear)? Going through threads for examples but not finding any

     

    #13227

    You don’t need to recode anything, you can modify the type of any lines to dots in the indicator parameters window.

Viewing 6 posts - 1 through 6 (of 6 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login