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?

PRC is also 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 #

    //DAILY VALUES FOR INTRADAY v1.1
    //Author: LEO

    //Variable as input: DAYS

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

    DAYCLOSE=Dclose(1)
    TYPICALDAY=(DHIGH(1)+DLOW(1)+DAYCLOSE)/3

    IF TYPICALDAY TYPICALDAY[1] and DayOfWeek >= 1 THEN
    DayAverage0=0
    DAYHIGHER=Dhigh(1)
    DAYLOWER=Dlow(1)
    FOR i=1 to D-1 DO
    DayAverage0=DCLOSE(i)+DayAverage0
    DAYHIGHER=max(DAYHIGHER,Dhigh(i))
    DAYLOWER=min(DAYLOWER,Dlow(i))
    NEXT
    i=DayOfWeek
    ii=0
    WHILE i = 1 THEN
    DayAverage=(DayAverage0+close)/(D-ii)
    ENDIF

    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 • 01/15/2018 #

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

    • Leo • 01/15/2018 #

      I have to check

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
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. ...
Nicolas Questo indicatore è stato progettato solo per i dati intraday, ma potrebbe essere adattato a...
MrCrous //FR Bonjour, Dans le code ci dessus, je ne comprends pas ce que fait la ligne : linea...
Nicolas J'ai déjà répondu à cette question quelque part sur le forum. Il faudrait chercher un topic ...
julien1978 The ADR value that is plotted intraday does not match the value of the regular ATR indicator...
Fab666 I've tried to get a fix for this also but no luck, it doesn't print the correct data as far ...
Seabiscuit Hi! With the new PRT update, this indicator does not work anymore
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...
Bobbi Hola y gracias por compartir! Descubrí que en 5 minutos teníamos algo muy bueno! Pero no ...
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...
marcara Hi, Thank you very much for the Moving Average Daily indicator, I am using it as indicator i...
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...
pp_playaflamenca Excuse me,... reading your code about spanB: [ SenkouSpanBFutureW = (Highest[SenkouSpanPerio...
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 ?
Doctrading Thanks, man !
rajiwas How is it possible to add currentWeekHigh and currentWeekLow, currentWeekOpen and currentWee...
Takeshi Totally don't match the PRT basic pivots on weekly

Top