Supertrend on EMA

Currently, there are 0 users and 1 guest visiting this topic.
View all attachments
Viewing 8 posts - 1 through 8 (of 8 total)
  • #186760 Report

    Dear All,

    I would like to request your help for the conversion of the attached pinescript code for a supertrend indicator based on an exponential moving average.

    You can follow the original script either here:

    https://www.tradingview.com/script/xEtpZd0t/

    or in the attached word file (where you can find also a picture of the aspect of the indicator).

    Many thanks in advance

    Loop

     

     

    Attachments:
    1. Supertrend-on-EMA.docx
    #186819 Report
    #186883 Report

    Thanks for your prompt reply, however the script is not really working…

    Have you tried it?

    Loop

     

     

    #188300 Report

    It doesn’t work because it’s not written in the ProRealTime language.

     

    #188447 Report

    Nothing too fancy,  a Supertrend calculated on EMA of X periods:

     

    Attachments:
    #195866 Report

    Hello Nicolas,

    it doesn’t work for me. I get an error on line 6 and 7. Could you correct the error for me?

    Thanks.

    Johann

     

     

    Attachments:
    #195868 Report
    JS

    “price” is reserved for STOP and TARGET pricing

    Change all “price” in xPrice.

     

    #195885 Report

    thank you js!

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

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