The “Mid-Level Day” indicator (for day trading)

The “Mid-Level Day” indicator (for day trading)

Hi all,

Here is an indicator that could be particularly useful for day traders. I found this idea on a website, obviously not well-known because I can not find it anymore.

This indicator works like pivot points, but it is more simple.

As a reminder, the pivot point is calculated as follows : average between the high of the day before, the low of the day before and the close of yesterday.

I have some problems with the calculation of the pivot point : the closing clearly depends on the closing time of your broker, and also the time zone.

Indeed, according to your broker:

– if you trade for example a CFD on France 40, you will have candles from 00H to 00H with some brokers like IG, or from 08H to 22H with some other brokers, etc.

– if you trade forex, candles can go from 23H to 23H, or from 00H to 00H : they will not be quite the same, so the calculation of the pivot points will not be the same.

Here, this indicator will clearly get rid of this problem, since it will only consider the highest and the lowest of the previous days.

Here’s what this indicator shows:

– a GREEN line for the average of the highest and lowest of the previous day

– a BLUE line for the average of the highest and the lowest of the last 3 days

– a RED line for the average of the highest and the lowest of the last 5 days

What is the purpose of this indicator ?

– It allows to have a visualization of the current momentum : as for the pivot points, the position of the prices with respect this set of levels (which can almost be considered as a kind of pivot points) makes it possible to visualize the trend

– It allows to consider entries for « long » trades (break of the highest line), or for « short » trades (break of the lowest line)

You are free to set the rules of your strategy, such as :

– stop loss (eg at the opposite line / precise number of points)

– take profit (number of points / last higher or lower / stop follower)


Personally, I didn’t yet dig the question more than that ; but…

– I think this simple approach must be effective, also limiting the risk of overtrading, and could serve as a basis for an effective day trading strategy.

– I propose you to try to use this strategy, to test different rules, and to communicate to me the results

So, together we could develop an effective day trading strategy, shared by all.

Best regards and Happy trading

Here is the code :

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. Jessar • 10/27/2017 #

    Hallo, wirklich ein sehr guter Indikator!

    Ich bin Programmier technisch leider noch ein Anfänger, könnten sie mir helfen diesen Indikator in einen Code einzubauen.

    Würde in gerne als Trend Filter verwenden, hätte mir sowas gedacht wie IF mid1day > mid5day then c1 = 1 aber wenn ich mid1day verwende findet er es nicht! danke

  2. Jessar • 10/27/2017 #

    Wäre auch super wenn wir dieses Gespräch in das Forum verlegen könnten.

  3. Andyswede • 10/27/2017 #

    Really good, thanks a lot 🙂

  4. Paul • 10/27/2017 #

    Thanks for posting. I was currently searching how to improve day-trading based on support and resistance levels. Definitely will focus next strategy based on this indicator and will post back!

  5. Jessar • 10/27/2017 #

    Könntest du im Forum etwas öffnen und später darüber zu sprechen?

  6. arahussein • 10/27/2017 #

    Hi All,
    I am new to trading and i find this indicator very logicail! Hence my (dumb?) question, has anyone had tried this for swingtrading? If yes, any guidence on how to proceed?
    Many thanks in advance,

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+5 more likes

Related users ' posts
KimmyMac Great work !! Thank you
Razz Hello, thank you for your indicator. Can you please tell me how I can change the text size,...
Iván Hi! you have all information about it here (
Regisnew Hello Ivan, thank you for your good work, is it possible to create a sceener to find actions...
Iván Hi! Yes it's possible. I will add this to my list of tasks to do :)
Regisnew finaly the screener could be something like this for green blocks but it probably could be b...
2 months ago
luiskohnen This indicator re-paint?
Iván Hi, Sorry, but what do you mean?
luiskohnen Hola, queria saber si el indicador repinta, porque a mi me parecio que si. Saludos y gracias...
14starwberryhill Such a wonderful work, thanks Ivan..............
Iván Hi We could find stocks with sweep on: //PRC_Sweep Institucional //version = 0 //28.0...
inverse Like the way you think Ivan ... :)
ar Bonjour Ivan et merci pour ton partage, Est-il possible d'avoir ce code en ITF
1 year ago
Maxime Baudin Well done Nicolas, creative!
Stenozar Hi Nicolas, please can you explain how to read/use this indicator? thanks!
YvesRobert Hi smp, how should I configure this indicator because everything is at zero -> High, Clos...
smp Hi, this is an end of day pivots indicator, so you need to find the end of day pivot info; t...
YvesRobert Thank you smp.
smp I also have an End Of Day (EOD) cash pivot indicator for use on cash markets; this indicator...
cdc.andersson Hej! Jag försöker lära mig att koda PRT. Jag vill testa en strategi med RSI-värde, ATR-värde...
Swingforfortune Du kan väl jämföra om open > close (röd) eller open < close (grön)
venugopal Hi Nicolas, Thanks for this code. Is it possible to build a screener using this indicator?. ...
Nicolas It has been done in that topic. Enjoy.
Abouadam2 EFFICACE
IV Mcm I don't speak English and the translation is not clear. Do you have a different turn of ...
IV Mcm stonk ?
Anonymous Thanks very much for sharing, look forward to testing this idea out.
Noobywan (My apologies for unformatted code, the formatting only works in forum or library posts not ...
Noobywan Hi FXTT, no problem for requests (as long as no one requests me singing), just usually it’s ...
JC_Bywan Bug fix at line 38, should be: if changebarre or (opentime[1]=start) then (same as in ...
Nicolas Oui le code est correct et il fonctionne, j'ai de bons résultats sur la liste NASDAQ par exe...
pincherman Bonjour :-) J'ai coller le script dans prorealtime pour jouer avec le supertrend et j'ai un...
Nicolas Vous l'avez sans doute collé au mauvais endroit, dans l'éditeur de code pour les stratégies,...
Bhanu Pratap Great Work Sir, Hats Off.
bolsatonimora2 Hi Roberto, It is possible to modify this indicator which it marks the supports and resist...
robertogozzi What do you mean by "very high volume"? What do you want to be printed exactly?
Bard Very interesting approach Vonasi! I'm getting a 404 error when trying to download though?
Vonasi I just tested and I was able to download with no error.
Psari Hi Vonasi, I am a newbie and was wondering whether you could possibly help me with this pro...