DrawHline not working

Forums ProRealTime English forum ProBuilder support DrawHline not working

Viewing 4 posts - 1 through 4 (of 4 total)
  • #220279

    Hey, im having trouble getting my lines to show up

    i get error on:

    DRAWhLINE(hh)coloured(0,200,0)

    tried messing around with it and always get an error

    i have “DEFPARAM DrawOnLastBarOnly = true” as well, also error.

    Is there some setting i’ve missed? I havn’t found any topic with similar problem.

    Pic related.

    #220285
    JS

    Hi,

    In an automatic trading system you cannot use graphical elements, hence the error message in the first line of your code…

    This is also where the error message in line 30 comes from, you are trying to use a graphical element in an automatic trading system and that is not allowed…

    1 user thanked author for this post.
    #220286
    JS

    So there are differences between an indicator (may not have buy or sell signals and must end with “return”, etc.) and a trading system (may not contain graphic elements, etc)…

    So, make a (right) choice between an indicator and a trading system…

    1 user thanked author for this post.
    #220332

    Ah, many thanks.

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

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