Help with RSI Divergence command implementation

0 150 Views No Comments 6 months 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
  • Mandala Trading Competition Promotion Type: contest Expires: June 9, 2023 Exclusive
    Trading volume competition, win up to $10,000 USDT and bounties.
  • Earn Up to 200 BMEX Tokens Promotion Type: contest Expires: March 31, 2023
    15 BMEX @ $20,000, 25 BMEX @ $50,000, 50 [email protected] $200,000, 100 BMEX @ $400,000, 200 BMEX @ $600,000 in monthly derivatives volume
Login or Register to Comment

Unlock your crypto trading potential

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

Join for Free