Making an indicator automatically reload/refresh?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12993 quote
    TheYangGuiziTheYangGuizi
    Participant
    New

    Hey,

    I wanna do this:

    Make an indicator automatically reload/refresh/update itself  whenever there’s a new candle.

    Is there any line of code you can add to accomplish this? Is it possible to make with proreal?

    Thanks for any help

    #12997 quote
    NicolasNicolas
    Keymaster
    Legend

    Please update your country flag in your profile. Thank you 🙂

    Hi, I don’t clearly understand your question as it is already the case for any indicator you can make. All calculation are made over history at the first load and then automatically refresh at each new tick received by the platform on the last candlestick.
    #13006 quote
    TheYangGuiziTheYangGuizi
    Participant
    New
    Fixed the flag 🙂 So, I have this specific indicator that “repaints”. It’s a channel/moving average bands of sorts. Basically if you let it run for  a while, and then close the chart (or switch to another timeframe and back), then the indicator will have changed. The channel/bands will have moved. It’s still useful despite of this, but having to manually switch between timeframes to make it repaint/update gets a bit annoying. So I’m trying to figure out if there’s a way to make it refresh automatically. I’m not the best at explaining things, but maybe you understand what I’m trying to say.
    #13008 quote
    NicolasNicolas
    Keymaster
    Legend
    I think you are using an indicator that have DPO in its calculation. DPO use data of the future, it only draws the good information correctly at first load of history, and because PRT don’t re-load it at each new tick, you’ll have to refresh the chart by switching between timeframes. So there is no real possibility to make it repaints itself i’m afraid.
    #13015 quote
    TheYangGuiziTheYangGuizi
    Participant
    New
    Yes, you’re right it has DPO in the code. Too bad there’s no way to make it auto-refresh. But thanks for the answer!
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

Making an indicator automatically reload/refresh?


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 09/12/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...