Indicator for one period on same chart for another period

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #211261 quote
    iac381iac381
    Participant
    Junior

    Is it possible to eg 1) have a(ny) MA of 5 mins on a chart of 1 min or eg 2) vice versa? If so, can this be applied to other indicators and are there limits? I use a 5 min indicator below another 1 or 2 min chart (don’t always need a 5 m price bar), but really would like to be able to integrate my key indicators in one price chart of my my preferred time frame(s). The objective is more efficient entry/exit for day trading indexes.

    My main periods of watch are 1m and 5m but I also look at 2 and 15m especially in sideways periods.

    If so how? I have no coding skills although have a basic understanding.

    Would be grateful for any replies.

    #211279 quote
    ZeroCafeineZeroCafeine
    Participant
    Senior

    hi @iac381

    Maybe my answer will help you,

    if for example you use a 20 period moving average on M5 and you want to display it on an M1 chart, you have to calculate the ratio between M1 and M5 time unit which is 5 ( M5 / M1 = 5 ),

    so to display a 20 period moving average M5 on a M1  chart, you have to display a moving average of 20*5 = 100

    MA(20) of M5 = MA(100) of M1

    hope it’s clear and I don’t do an error 😉

    iac381 thanked this post
    M11.png M11.png
    #211295 quote
    ZeroCafeineZeroCafeine
    Participant
    Senior

    Nice candle Today 🙂 Renault

    Capture-decran-2023-03-10-a-09.21.35.png Capture-decran-2023-03-10-a-09.21.35.png
    #211308 quote
    iac381iac381
    Participant
    Junior

    Very many  thanks @ZeroCaffeine

    That does give one a very good idea of what it looks like even if it is not 100% accurate. And when you use more complex MA’s eg EMA, Hull, Wilder’s, Zero Lag etc it gets less accurate. But it is close enough.

    I had seen some time back that there is a “Multi-time frame indicator” capability within PRT but I cannot understand that discussion as it leapt into coding without full explanation for a basic level operator such as I!

    #211392 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    @iac381

    This is where you should start from https://www.prorealcode.com/blog/learning/approach-multi-timeframe-trading-prorealtime/.

    Then you can search this forum for MTF to get many links to topics and codes, tu further improve your knowledge.

    ZeroCafeine and iac381 thanked this post
    #211435 quote
    ZeroCafeineZeroCafeine
    Participant
    Senior

    @iac381

    There are good moderators here on the forum and I think you will find help and information easily

    iac381 thanked this post
Viewing 6 posts - 1 through 6 (of 6 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

Indicator for one period on same chart for another period


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
iac381 @iac381 Participant
Summary

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

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 03/09/2023
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...