ONCE Instruction return values

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #201807 quote
    bbgg91
    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
    robertogozzi
    Moderator
    Master

    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.

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 robertogozzi
3 years, 4 months ago.

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