Same Candle Run Analysis Graph

Same Candle Run Analysis Graph

Same Candle Run Analysis Graph returns in graphical format the won/lost total amount results of my Same Candle Run Analysis Tool. The graphical format allows you to more easily see how consistent over time the results have been. It can be used to analyse runs of the same colour candle in any market and on any time frame. Runs of up to 12 candles of the same colour are analysed.

It calculates a simulated result as if you placed a long trade at the close of a run of the same coloured candles and then closed it one candle later. This can give us an idea what has the highest probability of happening next based on historical data. Although it can be used on any time frame on shorter time frames the results can be fairly meaningless due to the amount of market noise. I would advise using it on anything from yearly to 4 hour time frames.

You can select which lines to display by selecting or deselecting Up, Down, or any combination of numbers from One to Twelve. Hover over the graph to identify each line.

The setting ‘CountAll’ can be turned on and off. If ON then the results are calculated using every occurrence of a run. For example a run of three up candles is in fact three runs of one up candle, two runs of two up candles and one run of three up candles and all will be calculated in the results. If set to OFF then just the first occurrence is used – so a run of three up candles for example must be a down candle followed by three up candles.

A spread amount can also be input and is deducted from the results of each trade. Set to zero if you do not want to analyse with spread.

If you want to know what would have happened if you had gone short then obviously short trades would have resulted in the direct opposite results. So a return of +1255 for long trades would be a loss of 1255 if you had done short trades.

I recommend using this tool alongside my Same Candle Run Analysis Tool as that gives additional information such as percentage of winning trades and average return to help with better analysis.

I advise you to download the .ITF file and import it rather than cut and paste the code to ensure that you 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. Real Pro • 04/08/2018 #

    Thanks for sharing so much work. This goes in the indicator window, yes?

  2. Real Pro • 04/08/2018 #

    It’s ok, I imported the rtf as suggested now it works.

    What I’m seeing is this – in a solid uptrend, mean reversion is best. In a volatile market, best to follow the immediate trend.

  3. Vonasi • 04/08/2018 #

    Thanks for your thanks Real Pro and yes everyone should import the itf file to make sure that it works. Your conclusions of the graphs will depend upon which market and which time frame you are testing. On indices and longer time frames it clearly confirms the benefits of buying in dips but we must remember that we are always dealing with what has happened and not what will happen! Some markets can clearly be seen to have changed their character at some point. The invention of the computer and automatic trading is quite often a changing point so we should consider putting less interest in earlier data results.

  4. Pepsmile • 04/08/2018 #

    Good job, which could be applied for a spectrum of another indicators.

  5. Pepsmile • 04/08/2018 #

    As to better understand which parameters are better for an indicators in a specific period (and above all, why ?…..)

avatar
Register or

Likes

avatar avatar avatar avatar
Related users ' posts
Bard I was talking to a Machine Learning coder today who's algos have apparently managed to get 7...
FULVIO09 Attualmente non c'è sufficiente volatilità : la condizione "C0 = AverageTrueRange[1500](Clos...
vlongobardo67 Ma io intendevo in backtest ! Scusa non l’ho menzionato.
ciniselloftse salve fulvio .il trading sistem e sempre profittevole?
Bard Hi Violet, Thanks so much for making this screener. Bulkowski's work is thorough. I though...
baaz Thanks for this simple code. How would you readjust it to only show reversals? Chesler ad...
Gianco Violet, congratulations, I checked your code in different time frames, and in many situation...
rama I am using if [Wpattern=1 and (exactness) then buy at market endif however system ...
Breeze Hi Leo. I am not an IT person so I need help to know how I can run this code. I am a trader ...
Nicolas Download the itf file on this page, import it into your platform and run it through the ProS...
Nicolas Il vaut toujours mieux télécharger le fichier .itf et l'importer directement dans la platefo...
Breeze I am using an online trading platform in South Africa, I don't know how to code, how would I...
Nicolas All codes on our website is made to be used with the ProRealTime trading software, you can t...
4example excellent, thank you
avatar
Anonymous Thanks for sharing! On the other hand can we remove the vertical gray lines?
avatar
Anonymous Sorry I mean vertical red / green line
avatar
Anonymous Found: just remove "T coloured(r,g,b) as "Top", Bo coloured(r,g,b) as "Bottom"... after return
avatar
Anonymous Thanks for sharing! On the other hand can we remove the vertical gray lines?
ShaunG Appreciated! Thanks 100%
atxeel Real Awesome, thank you man!
rispardin no entiendo como funciana este indicador, por favor alguien podria explicar como utilizarlo???
AVT No se trata de un solo indicador, pero cada linea muestra otra información, de abajo hacia ...
dzim0032 J'avais oublié de mettre un commentaire pour la vente du scalper dont les règles sont justes...
andreag76 Thank you Francesco78 !
juanj What happened after August 21?
jpgcreatestrading Hi Manel, i have found this same issue, some strategies (but not all) that are written with ...
Nicolas Hi, our website is dedicated to ProRealTime trading platform programming. This is not MT4 code!
singha Hi, I have one question in the form of candles, source code and I do not know the number of ...
Dilip Vasudeva Hi ,I tried adding this to the indicator list keeps popping up with syntax error that tds i...
Maxime Leleux Nice screener but the 2 candelsticks around the doji should be long sticks (red and green). ...
Nicolas Hi, there's no reason why it should not work on a 5 min chart. Just apply the indicator on y...
Percygreen77 good evening sorry for my english but the indicator don't work can you help me i have 10.3 v...
Nicolas By adding it on price, it should display the pattern detection on the price chart, and not ...
supertiti Bonjour à tous , bonjour Nicolas Est-il possible d'avoir trois screeners qui sache différ...
Nicolas Je ne comprends pas, c'est bien le rôle de celui-ci
Nicolas EDIT: identifying pattern number in the ProScreener window: https://www.prorealcode.com/to...
Nicolas Well done supertiti, nicely coded and very accurate.
Dimi.A Beautiful.

Top