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 #

    //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
Related users ' posts
Maxime Baudin Very useful! Thanks Mat, and Happy New Year
Om Hello, thanks for sharing! Getting a message that Variable P is undefined?
LucioleLucide Clean view, thanks for sharing
dertopen hi where i can found the window for candle configuration?
paolosab69 Ciao! . I have seen the pictures that explain this metod but i don't understand when is mome...
Thomas
10 months ago
atlante sigue sin funcionar puedes corregir el codigo gracias es que no se ve nada se queda en negro...
Thomas Como? no intiendo. Can you write in english . It works! Download the itf file.
Thomas New Version comin soon...
Vonasi It is possible but I will need to reread the code and remind myself how it works as I coded ...
Giogio hello dear Vonasi, thank you for your indicator, can I ask you for some help in order to let...
Pottar24 HI Vonasi I would like to know how can this algorithm give me the value of the last max e mi...
Razz Hello Vonasi I found out myself how I can change it. Thanks again for the indicator
Pottar24 HI Razz can you tell how you managed to do it ?
Pottar24 VONAZI super indicator thank you. Can you provide me a code that gives me the two latest max...
Balmora74 Thanks for this code but there is 4 different versions and i don't know wich is the good one ?
Vonasi I don't understand. There is only one ITF file here not four. Download and import it. You mi...
Balmora74 Ok i understand now... I make a confusion with a other code... Thanks Vonasi.
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...
Steffen Schmauch hello Nicolas, can I change the indicator that I only get the time of 8-9 clock displayed? a...
bertrandpinoy je constate que de plus en + de trader utilise des zones de prix pour leur positions. elles ...
Nicolas Pas à ma connaissance, mais on pourrait le coder, merci de formuler une demande dans le forum.
Kris75 Hi Bala, you need first to install ZeroLagMACDWeek indicator and then add on it the diverg...
berga Hi, thank you very much for this very useful screener. I would like to get another very clos...
leoulve Hello, I uploaded correctly the screener and it is not selecting any. Is it normal? cheers
Nicolas A tweaked version which allow to use timeframe in minutes: https://www.prorealcode.com/topic...
mcha Bonjour Nicolas J'ai mis cet indicateur sur une période graphique 1 heure. J'ai choisi 1...
marzibre Bonjour Nicolas. I work mainly on Daily timeframe. I was looking something similar but usi...
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...
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...
LancerX This catch my attention, tried to load in pro order but not coming through. What variables n...
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 ...
Fab666 Hi Nic No luck, the ATR for USDJPY should be 46.2 (20ATR) but the indicator sais 39.9 with t...
Fab666 Sry the above message had gone banana's duplicating, I try to edit and it duplicates again.....
Fab666 Playing around with the weekend data button and I get a can of worms trying to figure out th...
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...

Top