Help with RSI Divergence command implementation

0 378 Views No Comments 2 years ago
  • Hi there

    Im new to scripting and trying to implement the RSI Divergence command that i found here on Hassscripts

    I saved the RSI Divergence as a command script and then I could call it in a new script, below….

    It plots on the chart, but when i try to use values of the RSI Div to enter a position it throws this error:

    01 Oct 22, 15:44:59
    ERROR: attempt to compare userdata with number at [7:0-17]

    Any help greatly appreciated

    HaasScript Code
    Sign in or Register to download for free
Login or Register to Comment

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free