ONCE Instruction return values

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #201807 quote
    bbgg91bbgg91
    Participant
    New

    I need some wisdom on this one please.

    If I say

    once val = close

    on a 10 min chart, what value am I actually getting?

    If I run this command in the demo version and then my live I get different results

    #201839 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    VAL is assigned the very first CLOSE value when it is started, backtests start where you want to. In autotrading it starts when you launch it.

    They cannot be the same.

    bbgg91 thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

ONCE Instruction return values


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
bbgg91 @bbgg91 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
3 years, 11 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/03/2022
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...