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
JSParticipant
Veteran
Hi @cactus363
DrawHLine(y1)
Your y1 coordinate must be positive.
JSParticipant
Veteran
Hi @cactus363
Sorry, y1 can be negative…
I don’t see a syntax error in your code…