Higher timeframe charts Moving average displayed on lower charts

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #160311 quote
    KyleReedKyleReed
    Participant
    Junior

    Hi,

    having scanned through the indicators libray, I was unable to find(or missed it) if there was an indicator that shows the 1 day moving average lines on lower timeframe charts.

     

    My usecase: i spend alot of time in the 1 hour chart and need to flip back to the 1 day chart to see the 20day moving average there and was wondering if that couldnt just be inserted directly?

    #160323 quote
    NicolasNicolas
    Keymaster
    Legend

    What you need is below:

    timeframe(daily)
    ma20=average[20]
    timeframe(default)
    
    return ma20

    You will be able to view the current live value of the 20 period SMA of the daily timeframe on the current timeframe of the price chart.

    #160338 quote
    KyleReedKyleReed
    Participant
    Junior

    Nicolas, that works :super sexy !!!

    I had to enable 15K units to be able to see the daily MA on a 10 minute chart(which makes sense now)

     

    Thank you

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

Higher timeframe charts Moving average displayed on lower charts


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
KyleReed @kylereed Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by KyleReedKyleReed
5 years, 7 months ago.

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