Potential Scanner bug when using DRAWHLINE and STYLE

Forums ProRealTime English forum ProScreener support Potential Scanner bug when using DRAWHLINE and STYLE

  • This topic has 2 replies, 2 voices, and was last updated 2 years ago by avatarJS.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #189270

    I may have found a bug or am doing something wrong, please advise.
    If I use the “style” option in the code bellow in my indicator then the scanner throws up a fault when using the indicator

    DRAWHLINE(-200) coloured(“BLUE”) style(dottedline)

    As soon as I remove “style(dottedline)” the scanner functions ok.

    Please see screenshot here https://drive.google.com/file/d/10OCBeeIIreR2uT2XYcdk8KZyTw_5DTLl/view?usp=sharing

    #189273
    JS

    Hi @cactus363

    DrawHLine(y1)

    Your y1 coordinate must be positive.

     

    #189274
    JS

    Hi @cactus363

    Sorry, y1 can be negative…

    I don’t see a syntax error in your code…

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

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