Flag use on multiple time-frames

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

    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.

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 robertogozzi
1 year, 6 months ago.

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