Welcome to the BEST forum for traders

Did you know we're sharing tons of exclusive content here?
Our community is growing quickly. Take a look around and say "Hello".

  • Forums
  • Pinescript
  • Pine script : how to refer custom indictor in Scanner or strategy

Pine script : how to refer custom indictor in Scanner or strategy

Nov 29, 2021 - 3:02 AM

Viewed 452 times

https://best-trading-indicator.com/community/bti/forums/4180/topics/54450 COPY
  • HI,

    ( disclaimer: I am a novice in the pine-script, and still getting hold of it )

    I am using custom indicator SSL Hybrid - which i am trying to use in the strategy, same as any inbuilt indicator
    like RSI e.g.` rsi = rsi(close, 14) // Value

    when I refer to SSLHybrid ( which is already on the chart ) - I am getting the below error.

    x = SSLHybrid(14,1)
    Add to Chart operation failed, reason: line 9: Could not find function or function reference 'SSLHybrid'.

    Can someone, please give me pointers - stuck on this for a while?

    0
  • Hello

    It won't work

    Is the SSL Hybrid an open-source script?
    If not, you won't be able to see the source code and copy-pasting the source in your own script

    Dave

    0
CONTENTS