Multitime frame indicator- wrong value

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #167753 quote
    pavix
    Participant
    Average

    Hello

    See attached :
    – the value of the ADX in the timeframe 4hours (on the left) is different from the calculated 4h ADX indicator under the 15min timeframe

    the code is quite simple

    timeframe(4hours, default)
    a1 =adx[8]
    return

    The variable “8” is the same in both timeframes, and it seems, according to the “steps” under the 15min timeframe that the indicator follows the same 4h period.

    How to get the correct version of ADX 4h in the 15min timeframe ?

    thank you in advance

    varADX.png varADX.png
    #167757 quote
    Vonasi
    Moderator
    Master

    It is most likely for the same reasons as described in the answers to this post.

    Multi timeframe – MTF indicators for ProRealTime

    pavix thanked this post
    #167759 quote
    pavix
    Participant
    Average

    It is most likely for the same reasons as described in the answers to this post.

    https://www.prorealcode.com/topic/multi-timeframe-mtf-indicators-for-prorealtime/page/4/#post-162444

    Thank you a lot.
    Sorry, I have however read (too quickly obviously) this topic….

    so the answer would be, as per Nicolas :
    Expand the units displayed of the 5-minutes TF chart, in order to get the necessary data to calculate the historical volatility of the daily timeframe.

    and it works !!!!

    thank you everyone

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

Multitime frame indicator- wrong value


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
pavix @pavix Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 04/22/2021
Status: Active
Attachments: 1 files
Logo Logo
Loading...