Function go to

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

    Hello,

    I hope you can help me.

    I want to use a function go to which is like I’m in a condition and if it is verified, we can go to a part further in the code.

    Thank you and best regards,

    Mayu

    #201788 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    There’s no instruction to skip some code. You need to use IF… ELSE.. (or ELSIF…) ENDIF to execute some code according to conditions.

    The language would need to use alphabetic labels (or line numbers like the old basic interpreters) to tag some parts of the code, but neither is supported.

    You might use custom indicators as functions that do something according to some parameters then return some data that they have processed, but it’s not that straightforward and they would still require using IF..ENDIF to make a choice.

    #201793 quote
    JSJS
    Participant
    Master

    There is an instruction “BREAK” for forcing an end in a “FOR” loop or “WHILE” loop.

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

Function go to


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Mayu @mayu Participant
Summary

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

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