Conversion from trading view Nadaraya-Watson Envelope

Forums ProRealTime English forum ProBuilder support Conversion from trading view Nadaraya-Watson Envelope

  • This topic has 27 replies, 8 voices, and was last updated 2 years ago by avatarJS.
Viewing 15 posts - 1 through 15 (of 28 total)
  • #196081

    Here is the code attached, 70 lines.
    Thanks to all

    #196255

    Please next time, add some explanations and screenshots of what we have to recode for you.

    This indicator is repainting, it means that in real time the signals will be very different than the ones you see in the past, it uses futures datas in order to show perfect channels and signals. So it is useless for trading, what’s your opinion?

    #196261

    Thank you Nicolas, no indicator is perfect, but here is the screenshot of the NQ for the last 2 days.

    #196268

    Of course, I simply meant that today's curve will not look the same tomorrow, when the history is completed. Each data that is included in the calculation modifies the calculation of the past and the indicator is continually retraced.

    #196273

    I understand your point, but in daytrading this indicator gives good TP or entry points as you can see on the chart.

    #196295

    Believe me I’d like to help, and sorry to insist, I do want to be sure you have fully undersand what it means since you are still talking about entries/tp of the past history: The entries plotted on the chart were not the same in real time.

    #196301

    At first thanks for helping,

    I understand your point, but  even if the past triggers are modified afterwards, Real time triggers  are still worth it

    .

     

    #196303

    Ok so if you are just looking at real time signals, then the over complicated repainting coding is not mandatory. I will have a look on a simple way to convert it.

    #196304

    Is very nice of you,

    Thanks again

    #196311

    Please find attached the translated version (non repainting) of Nadaraya-Watson Envelope

    The nested loops are huge intensive for calculation, please consider using a limited units display (such as 1k units only).

     

    #196314

    Thanks a lot, I have this error in the window ?

    “hh” Variable which becomes  “h”

    And one stupid question, How to you show the indicator in the chart and not only in the window below ?

    Thanks again

    #196316

    Sorry I found for hh.

    If i declare hh variable as decimal, is it possible for me to input 2.1?

    Also Lengh is supposed to minimize loop calculation, but it shows on the graph for value superior to 500.

    Thanks again

    #196318

    Sorry I found for the TA overlay. So the only question :

    • If i declare hh variable as decimal, is it possible for me to input 2.1?
    • Also Lengh is supposed to minimize loop calculation, but it shows on the graph for value superior to 500

    Thanks again

     

    #196321

    Yes, hh can be decimal.

    The loop is made on each candlestick for “length” candles back in history, in order to calculate for each of them what is the value of the channel.

    #196323

    Here are the diffrence (crosses)  between the 2 plateforms with the same variables.

    Thanks

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

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