Flag use on multiple time-frames

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #236312 quote
    borderlineJimborderlineJim
    Participant
    Senior

    Good morning from Northern Ireland, UK.

    I have a coding question which hopefully someone can help me with.

    I would like to know if it is possible to create a flag on a higher timeframe that can be read again on a lower timeframe, without defining the variables both timeframes (which is allowed)?   For example, the loop could check for a moving average crossover on the higher timeframe, mark it with a flag, then wait for an RSI crossover on the lower timeframe as the entry signal.  The loop is then started again.

    Kind Regards

    J

    #236313 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    All variables can be read globally, in any TF.

    They can only be assigned values in ONE timeframe.

    Iván González and borderlineJim 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

Flag use on multiple time-frames


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

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

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 08/10/2024
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...