Daily data for intraday timeframe

Daily data for intraday timeframe

Hi all,

This indicator  creates lines in a intraday timeframe chart:

  • highest daily price
  • lowest daily price
  • average close price
  • yesterday close
  • yesterday typical price

Hope it is useful for you as for me.

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Vonasi • 01/15/2018 #

    Thanks for sharing this Leo. I love anything that helps us understand where we are at in the price action. Mondays are a bit of an issue though as they will use the normally very flat Sunday levels. You could possibly add some code so that on Monday Friday’s levels are used?

  2. swapping • 01/15/2018 #

    Merci Leo, very cool simplement pour la visualisation des plus haut et bas de la journée passée cela va servir…

  3. Leo • 01/15/2018 #

    Thanks for the suggestion @Vonasi
    Here my code.
    I also made another modification that is to calculate the average in day frame with the close of the each bar

  4. Leo • 01/15/2018 #

    //Author: LEO

    //Variable as input: DAYS

    once DAYHIGHER=Dhigh(1)
    once DAYLOWER=Dlow(1)
    once DayAverage=DCLOSE(i)


    FOR i=1 to D-1 DO
    WHILE i = 1 THEN

    return DayAverage as “Day Close Average”, DAYCLOSE as “Yesterday Close”, TYPICALDAY as “YesterdTypical Price”, DAYLOWER as “Minimum day”, DAYHIGHER as “Maximum Day”

  5. Leo • 01/15/2018 #

    ..for some reason I can not add PRT code properly… anyway

    • Vonasi • 01/15/2018 #

      Thanks for that Leo. Apparently there is some fault with the site that means posting code is not working in the library comments – so don’t worry it is not just you.

    • Nicolas • 01/15/2018 #

      Sorry again, doing my best to fix this problem..

    • Gianluca • 193 days ago #

      Sorry but the 2° code that you posted have some problem it doesn’t work

    • Leo • 193 days ago #

      I have to check

Register or


avatar avatar avatar avatar avatar
Related users ' posts
Nicolas Try to restrain to trading hours when Volumes are present (customized trading hours: righ cl...
Choliver Bonsoir Nicolas, Merci pour cet indicateur. Même s'il n'y a officiellement pas de volume s...
Nicolas Bene, perché no, trovi che sia affidabile a lungo termine?
Billy Ray Valentine Non saprei, che ne dici di provare?
Steffen Schmauch hello Nicolas, can I change the indicator that I only get the time of 8-9 clock displayed? a...
Yannick Hello Thanks for sharing your code, I will put in a more complex code. You can reduce CPU ...
bala Hi Kris, I have imported the screen. I don't see any instrument loaded under this screen....
Kris75 Hi Bala, you need first to install ZeroLagMACDWeek indicator and then add on it the diverg...
Nicolas Please don't spam the comments. Should be hard because Smoothed Heikin Ashi are made with mo...
fabioerliam Sorry Nicolas...wasn't what I was thinking to do...I thought you couldn't received the notif...
Nicolas A tweaked version which allow to use timeframe in minutes: https://www.prorealcode.com/topic...
Vonasi An interesting idea that was easily turned into a strategy on a shorter time frame that appe...
Stenozar Hi Vonasi, is it possible for you to share your code here? thanks in advance
Vonasi Sorry Stenozar. I have only really spent an hour or so on this strategy so far and it is far...
ALE Nasdaq!
Wester HI, which values do I need to change before I can use it?
ALE Hello Wester, you can change or not every variables that are in the code. if you need as...
Mirko Vaglio Interesting idea to bypass the limit of PRT about multiple timeframe, and I am just trying t...
Mirko Vaglio Looking a little bit more, now I understand what had to be absolutely obvious from the first...
Seb nice code! I'm trying to use your method to do a higher timeframe EMA, without success yet. ...
poldoposta Con time frame daily funzionerebbe correttamente? per multiday
poldoposta con tf daily funzionerebbe per Mday???
Nicolas Questo indicatore è stato progettato solo per i dati intraday, ma potrebbe essere adattato a...
Nicolas Yes, but that's a translation of the original code someone asked in forums.
crolakstrading hi Nicolas.. please is there's a way to fix this? what am i doing wrong? iis everyone else g...
crolakstrading what can i do to change this in to the right daily ATR? is it something to do with the timez...
larouedegann Bonjour Nicolas, comment se fait-il qu'avec cette stratégie stop loss à 5 pips, PRT mettant...
Nacho Buenos días Raul, tengo puesto este sistema desde hace unos días en una cuenta demo en la ve...
Dominik Hola Raul ... it looks wonderful :-) Why does it not work if I use less than 100,000 € capi...
David Nicolas I've looked at it again and there's a problem.  As an example here's a simple cross...
Nicolas You'll need to preload bars to get the good calculations of you indicators. I did not test i...
David Nicolas I tried DEFPARAM Preloadbars = 5000 And still the same drawn output of entries/exit...
Nicolas Thanks for contributing to the "ichimoku section" of the prorealtime code library Don't he...
sourberry Thank you , this is a great indicator works beautifully. Could you kindly modify to scr...
Doctrading Yes, nice idea.
noisette I tried some backtests with "9:30 MACD" with "Breakout strategy" but results are much better...
Doctrading Hello, can you send us your code ?
Adolfo Onrubia Fantastic Job!  Thanks
Doctrading Thanks, man !
rajiwas How is it possible to add currentWeekHigh and currentWeekLow, currentWeekOpen and currentWee...