Multitime frame indicator- wrong value

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #167753 quote
    pavixpavix
    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
    VonasiVonasi
    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
    pavixpavix
    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.
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

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 pavixpavix
5 years, 5 months ago.

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