Potential Scanner bug when using DRAWHLINE and STYLE

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #189270 quote
    cactus363cactus363
    Participant
    New

    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 quote
    JSJS
    Participant
    Master

    Hi @cactus363

    DrawHLine(y1)

    Your y1 coordinate must be positive.

    #189274 quote
    JSJS
    Participant
    Master

    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)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Potential Scanner bug when using DRAWHLINE and STYLE


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
cactus363 @cactus363 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by JSJS
4 years, 6 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 03/03/2022
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...