return in drawarrowup for exemple.

Forums ProRealTime English forum ProBuilder support return in drawarrowup for exemple.

Viewing 3 posts - 1 through 3 (of 3 total)
  • #31457

    Good Morning,
    When I use “drawarrowup” for example.
    What do I write in the return word – result?
    I tried to write the function itself – “drawarrowup” or similar things but got an error result.

    thanks in advance for your help

    For example – a code I’m working on is attached.

     

    for variable =1 to barindex do
    if close[variable] > high[variable-1] then
    drawarrowup(date[variable],low[variable])
    endif
    next

    return

    #32119

    Depends of what you want to return? If you want to get a signal to automate your strategy, you’ll need to create a boolean variable to get the value of your condition that draw your arrow. This is this boolean variable that you’ll use in the RETURN statement.
    Let me know if it’s clear or if you need an example?

    #32374

    Hello Nicholas.
    Thanks for your response .
    I would be happy if you give me an example of Boolean question.
    Thank you.

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