Five Bar Trend Dashboard

Five Bar Trend Dashboard

This indicator creates a dashboard of dots to show the trend in five time frames.

So for example on a 5 minute time frame it calculates what a 5 minute, 10 minute, 15 minute, 20 minute and 25 minute candle would be and on a daily chart it would calculate what 1 day, 2 day, 3 day, 4 day and 5 day candles would be. It then compares the current price to those candles. It can the compare closing price to the open, median price, typical price, total price and weighted close price. It then draws five dots to show whether the comparison is down or up for each time frame. The upper of the five dots represents the fastest time frame candle comparison (so 5 minutes on a 5 minute chart) and the lowest dot is the slowest comparison (so 25 minutes on a 5 minute chart).

The separate upper row shows a red dot if all the time frame dots below are red and a green dot is all the time frame dots below are green. If they are mixed then an empty blue circle is drawn. If a set of 5 red or 5 green dots is followed by a mixed row of dots then an up arrow or down arrow is shown to highlight a possible market reversal after a strong trend. The number above this arrow highlights how long the previous run of five same colour dots has gone on for. This number can help analyse how strong the run was and can be used for position sizing or just to assist in deciding how likely a reversal is to be.

Change the price that you compare to by changing the ‘customclose’ value in the indicator window. If you select open,close,high or low then the comparison is always open to close. The others are close to typical price or close to median price etc.

By ticking or unticking ‘All’ you can remove the dots representing the five time frames. This allows the indicator to be reduced down in size so as to take up less chart space.

I suggest downloading and importing the ITF file to get full functionality.

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. marcosamo • 53 days ago #

    hello, thank you that seems very useful. I will try it.

  2. HStrader • 53 days ago #

    Hello Vonasi Its seem a nice job again thanks

  3. soulintact • 52 days ago #

    Dear Vonasi, thanks for a truly great indicator! Forgive me, but I tried to edit your flawless code so I could implement it in Autotrading, but I obviously failed. Anyone care to elaborate what I am doing wrong?

    I tried to use “Add PRT code”, but failed why I paste the code directly.

    defparam cumulateorders=false
    Defparam preloadbars=10000


    //Settings of orders
    amount = 100 //quantity of shares/contracts to open for each new order

    //Indicator type: Candle trend in 5 different time frames
    //Edited code originates from: Five Bar Trend
    //Author: Vonasi
    //Date: 20190822

    m5 = customclose

    //m5=(close or customclose = open or customclose = high or customclose = low)

    m10h = highest[2](high)
    m10l = lowest[2](low)
    m10o = open[1]

    m15h = highest[3](high)
    m15l = lowest[3](low)
    m15o = open[2]

    m20h = highest[4](high)
    m20l = lowest[4](low)
    m20o = open[3]

    m25h = highest[5](high)
    m25l = lowest[5](low)
    m25o = open[4]

    if customclose = typicalprice then
    m10 = (m10h + m10l + close)/3
    m15 = (m15h + m15l + close)/3
    m20 = (m20h + m20l + close)/3
    m25 = (m25h + m25l + close)/3

    if customclose = medianprice then
    m10 = (m10h + m10l)/2
    m15 = (m15h + m15l)/2
    m20 = (m20h + m20l)/2
    m25 = (m25h + m25l)/2

    if customclose = totalprice then
    m10 = (m10h + m10l + m10o + close)/4
    m15 = (m15h + m15l + m15o + close)/4
    m20 = (m20h + m20l + m20o + close)/4
    m25 = (m25h + m25l + m25o + close)/4

    if customclose = weightedclose then
    m10 = (m10h + m10l + (2 * close))/4
    m15 = (m15h + m15l + (2 * close))/4
    m20 = (m20h + m20l + (2 * close))/4
    m25 = (m25h + m25l + (2 * close))/4

    if customclose = close or customclose = open or customclose = high or customclose = low then
    m5 = open
    m10 = m10o
    m15 = m15o
    m20 = m20o
    m25 = m25o

    //Line 1, First time frame
    //Red dot
    if close m5 then
    up = up + 1

    //Line 2, Second time frame
    //Red dot
    if close m10 then
    up = up + 1

    //Line 3, Third time frame
    //Red dot
    if close m15 then
    up = up + 1

    //Line 4, Fourth time frame
    //Red dot
    if close m20 then
    up = up + 1

    //Line 5, Fifth time frame
    //Red dot
    if close m25 then
    up = up + 1

    //Market reversal
    if up[1] = 5 and down 5 and up 5 then
    reda = ucount[1]
    ucount = 0

    if down[1] = 5 and down 5 and up 5 then
    greena = dcount[1]
    dcount = 0

    BullCandle5=((L1=1)and(L2=1)and(L3=1)and(L4=1)and(L5=1)) or ((Arrow=1) and (greena>=3))
    BearCandle5=((L1=-1)and(L2=-1)and(L3=-1)and(L4=-1)and(L5=-1)) or ((Arrow=-1) and (reda>=3))

    //Conditions when to act
    if (not longonmarket and BullCandle5) then
    buy amount shares at market

    if (longonmarket and BearCandle5 and positionperf>0) then
    sell at market

  4. Vonasi • 52 days ago #

    soulintact – this is probably not the best place to discuss a strategy version of the indicator. I would suggest starting a topic in the ProOrder forum so that we can all discuss the idea.

  5. soulintact • 51 days ago #

    Of course Vonasi. Done!

  6. Alai-n • 39 days ago #

    Hello, where can I get a list of possible objects and their formulations to insert in the Dashboard (Square, Circle, Triangle etc …) Thank you

  7. Vonasi • 39 days ago #

    I use the Windows10 ‘Character Map’. Type it in your windows search box.

  8. Alai-n • 39 days ago #

    @Vonasi Thanks

  9. jiddan78 • 35 days ago #

    how to convert to afl amibroker ?

    • Nicolas • 34 days ago #

      We do not supply free coding assistance for AFL Amibroker on the website. You can ask for paid programming at:

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas Use the color variables R and G to test if the trend is bullish (R=0) or bearish (R>0).
s00071609 Where can i find the syntax to test the colour of the line, I am calling the indicator value...
Nicolas You should open a new topic to discuss about the strategy and its coding.
Sukhdev Golen Hi Nicolas, how to use this on tradingview?
Nicolas You can't. All codes here are made for the ProRealTime trading platform: https://www.proreal...
supertiti Bonjour Anthon...y ? On est vraiment tout près de ce que propose Julien , sur sa dernière...
anthon Salut à tous et merci ! Content que les indicateurs vous plaisent . Abonnez vous à ma page y...
Varadero54 Bonjour Anthon ... pourrais-tu me communiquer l'adresse ou le nom de ta chaine YOUTUBE ... j...
1 month ago
Jan Wind "There are two methods of using Kagi: We buy when there is a turnaround and sell when there...
Nicolas Thanks, let us know how it is going?
Jan Wind Hallo Nicolas, I have tested the pre-mentioned concept, and had to change the concept : ...
Zebra OpenTime < 090000 AND OpenTime > 190000 should probably be OpenTime < 090000 OR Op...
robertogozzi Well spotted Zebra!
alfcont Is this trading system generating profit on micro DAX future?
camporan You can use it 5M onwards, but the longer timeframe the more accurate it is. My preferred ar...
manchokcity can we have it in mql4 platform? or how or which platform do we use it?
camporan I don't use MetaTrader so I won't be able to do the translation myself. Sorry!
riz001 thnk u
geroniman bonjour Nicolas, j ai un indicateur le Tiger . J aiemrai placer des fleches buy et sell dire...
Nicolas Merci de formuler les demandes sur le forum. ça n'est pas le bon endroit et hors sujet ici ! ;)
GraHal Is there a switch to start / stop the Trailing SL / TP as when I GRAPH SL & TP neither a...
robertogozzi No GraHal, there's no topic open. It would be great if you could start one and post that lin...
GraHal Discussion Topic started here ...
vandenacker THANKS A A LOT FOR SHARING. I like your trade. I try to remproduce your board but i dont arr...
umebon Tnx for sharing!! Can someone help me how i can call for the mydayhigh and mydaylow for to u...
LucioleLucide Clean view, thanks for sharing
coscar Ottimo lavoro. come sempre!
luxrun Nello studio di Sepiashvili viene descritto anche un altro indicatore, il Q-indicator, che è...
Nicolas No. The code delivered on our website is for ProRealTime trading platform: https://www.pror...
growland1au Hi Nicolas, I am a beginner to this and I think your Pivot reversal strategy alerts indicat...
Nicolas I can't remember, if you can't find it anywhere in forums, open a new topic if you want it t...
Pablo Carmona del Moral hola juanjo, muchas gracias por este screener que nos has compartido. creo que lo voy a util...
Pablo Carmona del Moral para el volumen he cambiado: // Volumen significativo VS=volume>2*(average[10](volume[1...
Juanjo Muchas Gracias Pablo, ...Tengo varios screener, uno lo tengo adaptado para operar intradía, ...
Maik2404 wie kann ich den Code bekommen Paul?
jens_kittner Works with US Crude at 1h as well!
Jean-Claude REGIS Je préconise de regarder les graphiques H1 et M15 pour visualiser la tendance de fond et d'...
osupero Buenisimo Sr Nicolas, seria posible que sólo marcara por encima o por debajo de una media mo...
capgros Bonjour @Nicolas, Thanks a lot for this tool, it is very useful for me. I would like to s...
11 months ago
JvdG I meant of course: since ld56 is one of the constituents of ld48;
Nicolas You are right about ld56. Since this is a translation from another programming language, I d...
Florian Legeard C’est à dire sur le prix et non sur le temps ? Merci
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...
berga Hi, thank you very much for this very useful screener. I would like to get another very clos...
cfta Hi Fulvio, many thanks for sharing this clever indicator, much appreciated. As Pepsmile ment...
cfta Sorry adding the PRT to code didn't work in the above comment so I guess we will have to set...
juanj Something appears to be wrong with this formula as graphing t shows t to almost never be wit...
Nicolas Si il n'y a pas de volumes, le TVI ne pourra pas se calculer, donc oui le "problème" vient b...
eckaw Hi Nicolas, I'm using this indicator when there is confluence over 3 different timeframes (5...
Nicolas Yes it is indeed possible. Create a topic in the screener forum and explain what you need an...