return in drawarrowup for exemple.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31457 quote
    balancebalance
    Participant
    Junior

    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 quote
    NicolasNicolas
    Keymaster
    Legend

    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 quote
    balancebalance
    Participant
    Junior

    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)
  • 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

return in drawarrowup for exemple.


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
balance @balance Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by balancebalance
9 years, 5 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 04/09/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...