How dhigh is calculated

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #180410 quote
    Amin1233Amin1233
    Participant
    Junior

    I am using a strategy for 5 min chart and I notice that the dhigh and dlow are not return correctly , when is the starting point to find the dhigh ? e.g for DAX? it seems that in 5 min chart calculates the day high from the close of the highest bar and not the highest point of the highest bar.

    #180411 quote
    Amin1233Amin1233
    Participant
    Junior

    If dhugh(0)-lowest[1]>10 then

    ….

    If the difference between day high from opening of the market and low of the last bar then …

    #180415 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Dhigh(0) is the current dailky HIGHEST price, Dhigh(1) is yesterday’s HIGHEST price, etc…

    The Daily candle closes at 00:00 (Utc +1 +DST). So now the new day starts at 00:00, but the daily candle (as well as 2h and 4h TFs) will change at 01:00. Next week, on Oct. 31st, DST will end and the daily candle will match ecah day change (till next spring).

    #180421 quote
    Amin1233Amin1233
    Participant
    Junior

    thanks. Is the day start time same for all markets? Eg Japan 225 or Australia 200?

    #180422 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    I don’t know, but you can check both the 2h or 4h chart of each instrument/asset you want to trade, or the trading hours in the platform’s settings.

    x-12.jpg x-12.jpg
Viewing 5 posts - 1 through 5 (of 5 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

How dhigh is calculated


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Amin1233 @amin1233 Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by robertogozzirobertogozzi
4 years, 10 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 10/27/2021
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...