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 • 218 days ago #

    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 • 217 days ago #

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

  3. Leo • 216 days ago #

    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 • 216 days ago #

    //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 • 216 days ago #

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

    • Vonasi • 215 days ago #

      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 • 215 days ago #

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

    • Gianluca • 15 days ago #

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

    • Leo • 14 days ago #

      I have to check

Register or


avatar avatar avatar avatar avatar
Related users ' posts
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...
lumarino Bom dia Ale. Obrigado pela partilha. Você tem alguma das suas estratégias operando em Modo R...
lumarino Qual é então a sua Estrategia de eleição ALE??
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. ...
Toto le Heros Hi Nicolas, Thanks for this. Looks interresting. Unfortunately the display on my price gra...
Nicolas Use vertical axis alignment only in indicators setting
DonMasser Nicolas ( or anyone) would you know how to program a 'WAIT'. In other words, in auto tradin...
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...