CPR and Pivot points conversion from Tradingview

Forums ProRealTime English forum ProBuilder support CPR and Pivot points conversion from Tradingview

Tagged: , ,

Viewing 15 posts - 1 through 15 (of 16 total)
  • #143245

    Salut Nicolas,

    I tried with my limited programming knowledge to create new indicators for CPR and Pivot points with formulas. It didn’t work out.

    Appreciate your help in converting this code for CPR and Pivot points from TradingView.

    For the pivot points only daily, weekly and monthly are enough. Please ignore other pivots in the code, as I was not sure which one to delete.

     

     

    #143285

    Please provide pictures of these indicators. Please next time follow the easy rules to ask for code conversion: Ask for a free code conversion

    #143320

    Salut Nicolas,

    Thanks for notifying me about the conversion process.

    As required, please find attached the screenshots of the indicators.

    Kind regards

    Edwin

     

    #143323

    Nicolas,

    in case you need, here is the formula for CPR and pivot points.

    Formula for CPR (central pivot range)
    Pivot= (High + Low+ Close)/3
    BCPR = (High + Low)/2
    TCPR = (Pivot – BCPR) + Pivot
    (some times BCPR (Bottom CPR) can be above TCPR (Top CPR) and vice versa)

    PP (Pivot points/Central pivot) = (previous High + previous Low + previous Close) / 3
    (R1) = (2 x PP) – Low
    (S1) = (2 x PP) – High
    (R2) = PP + (High – Low)
    (S2) = PP – (High – Low)
    (R3) = High + 2(PP – Low)
    (S3) = Low – 2(High – PP)
    Same formula for daily/ weekly/monthly/yearly pivots.

    #143343

    Ok for CPR, but what are the differences with the classic pivot points for the second code? They are all available in the platform (daily,weekly,monthy,yearly,..).

    #143412

    ok, CPR Will do for now. I find difference between Tradingview and PRT pivot points, thats why I asked. I understand the price levels could be different for each platform. Please forget the pivot points for now.

    #144472

    Hi Nicolas,

    Hope you had sometime to convert the CPR indicator for PRT. Currently I am using Tradingview in addition to PRT, which is not convenient having to switch between applications frequently.

    Thanks for your help

    #144503

    Thought it was ok, since you posted the code in your previous post?

    CPR pivot formula:

     

    #144592

    Nicolas,

    Thanks for the code. I am happy to know that I was not different initially. But As you see from the screenshot, it is very much different to the Tradingview CPR.

    How to bring it to the price chart, and shown horizontal lines that draws continuously as the price changes. This is the piece I am missing.

    #144624

    So to be the same as the code from TV, the code should be this one: (apply it on the price chart by using the wrench on the left upper side of the price chart).

     

     

    #144911

    Thank you Nicolas for the great support. There is still a difference of about 10 points between PRT and TV where the CPR and pivot points are plotted on the chart. I will have to manage this.

    #144942

    Because of different market hours, different OHLC data, ..

    #171966

    Hi Nicolas,

    Thank you very much for your support, Shall I get ITF file because, during copy paste I am getting error.

    #174759

    Good Day. This formula is not stable on Intraday Timeframes.

    #176928

    Salut Nicolas

    Je suis néophyte dans la programmation. J’ai le CPR en journée mais coment faire pour en créer un en 4H? J’ai essayé de remplacer le “d” par 4H etc.. sans succés. Tes lumières sont les bienvenues

    merci

    Hi Nicolas I am new to programming. I have the CPR during the day, but how can I create one in 4 hours? I tried to replace the “d” with 4H etc. without success. Your lights are welcome thank you

Viewing 15 posts - 1 through 15 (of 16 total)

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