Weekly high / weekly low and monthly high / monthly low of the past period?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #177181 quote
    phoentzs
    Participant
    Master

    Hello, if I want to trade the breakout of the range of the past week or the past month … how do I define the high and the low of the past week or the past month?

    #177182 quote
    Nicolas
    Keymaster
    Master

    Use TIMEFRAME instruction to get the last closed candlestick High and Low, example with weekly timeframe:

    TIMEFRAME(weekly, updateonclose)
    weekhigh = high
    weeklow = low
    Bel thanked this post
    #177183 quote
    phoentzs
    Participant
    Master

    Oh, timeframe weekly works? And then weekhigh (1) is the past week?

    #177236 quote
    robertogozzi
    Moderator
    Master

    Yes, TIMEFRAME(Weekly) works finely.

    weekhigh is the high price of the last closed weekly bar. That value will be valid Sunday through Friday next week.

    #177242 quote
    phoentzs
    Participant
    Master

    Very good thank you.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Weekly high / weekly low and monthly high / monthly low of the past period?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
phoentzs @phoentzs Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by phoentzs
4 years, 5 months ago.

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