Time_Open_RENKO free

by fernando.f.oficial in category Trend at 22/04/2022

As we all know, Renko is a type of chart used in the financial market to indicate price variations disregarding TIME and trading volume, however there is an OPENING TIME for each RENKO BOX, in relation to the previous BOX, it has a time variation of opening, between one and the other, which may vary in thousands of seconds, or even seconds, minutes, hours, depending on the size of the RENKO used,

so this indicator shows the OPENING TIME difference in relation to the previous BOX, where it paints the box when the CURRENT BOX has the LOWER time in relation to the previous BOX.

 Default is receiving the value of minutes, being able to change in the code, to other times like seconds, hours, etc. 

Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Formula / Source Code
Language: C#
Trading Platform: cAlgocTrader
using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;

namespace cAlgo
    [Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class Timer_Renko : Indicator

        [Output("Smaller", PlotType = PlotType.Histogram, Thickness = 2, LineColor="aqua")]
        public IndicatorDataSeries Result { get; set; }
        [Output("Bigger", PlotType = PlotType.Histogram, Thickness = 2, LineColor="blue")]
        public IndicatorDataSeries Resulta { get; set; }

        public override void Calculate(int index)
    var n = index;
               var CurrentTimeBar = Bars.OpenTimes[n].ToLocalTime();
               var PreviousTimeBar = Bars.OpenTimes[n-1].ToLocalTime();
               var CurrentTimeBar1 = Bars.OpenTimes[n-1].ToLocalTime();
               var PreviousTimeBar1 = Bars.OpenTimes[n-2].ToLocalTime();
               var  Time = (CurrentTimeBar - PreviousTimeBar);
               var Time2 = (CurrentTimeBar1 - PreviousTimeBar1);
               float x = float.Parse(Time.Minutes.ToString());             
               float z = float.Parse(Time2.Minutes.ToString()); 
                if (x < z)
             Result[n] =  x ;
            Resulta[n] = x;                
             if  (x < z && Bars.HighPrices[index] == Bars.ClosePrices[index])   Chart.SetBarColor(index, "Green");
             if  (x < z &&  Bars.LowPrices[index] == Bars.ClosePrices[index])   Chart.SetBarColor(index, "red");
            /*Days	            Obtêm o número total de dias representado pela instância
            Hours	            Obtêm o número total de horas representado pela instância.
            Milliseconds	    Obtêm o número total de milliseconds representado pela instância.
            Minutes	            Obtêm o número total de minutos representado pela instância.
            Seconds       	    Obtêm o número total de segundos representado pela instância.
            Ticks	            Obtêm o valor da instância expressa em ticks.
            TotalDays	        Obtêm o valor da instância expressa em dias totais e fracionários.
            TotalHours	        Obtêm o valor da instância expressa em horas totais e fracionárias.
            TotalMilliseconds	Obtêm o valor da instância expressa em milisegundos totais e não inteiros.
            TotalMinutes	    Obtêm o valor da instância expressa em miniutos totais e não inteiros.
            TotalSeconds	    Obtêm o valor da instância expressa em segundos totais e não inteiros*/


makegoalken - April 26, 2022 @ 06:01

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free run 3

fernando.f.oficial - April 26, 2022 @ 13:21

makegoalken - 

Este é um ótimo recurso que você está fornecendo e o distribui gratuitamente. Adoro ver blogs que entendem o valor de fornecer um recurso de qualidade gratuitamente 3

Thank you very much for the feedback

mhussey441 - April 29, 2022 @ 12:29

I usually visit this website to take information on different things like this blog, working with a university assignment help website as a developer I got lots of help from this website.

among012a - May 05, 2022 @ 11:56

Excellent article! I want everyone to realize how valuable the information in your essay is. Regarding this subject, your viewpoints are really similar to mine. Because I am aware, I will visit your blog on a daily basis. It could be quite advantageous to me.

coloring pages

diyagabriel911 - May 06, 2022 @ 11:34

It's easy to become caught in the endless possibilities and hours of fun that the enormous gaming world offers. Every game, from a little game like Candy Crush to a massive game like World of Warcraft, has its own difficulty level. This article will show you how to play online Io games as drift boss with easy controls. More ideas, approaches, and strategies can always be found in our other articles on the subject. 

panoramamerchent - May 11, 2022 @ 20:15

This is just the information I am finding everywhere. Thanks for your blog, I just subscribe your blog. This is a nice blog.. emergency dental care

valsoansalosn - May 12, 2022 @ 06:27

A new breed of day traders kicked the 2021 financial market in review with a novel speculative mania. Fueled by a desire to upend the status quo and also turn a profit, amateur investors used social media to drive up shares of companies that hedge fund professionals were shorting.

natasha.evans266 - May 12, 2022 @ 19:27

Thank you for sharing a lot of useful new knowledge for me. Waffle

panoramamerchent - May 14, 2022 @ 13:27

Always so interesting to visit your site.What a great info, thank you for sharing. this will help me so much in my learning. สล็อตแตกง่าย

panoramamerchent - May 15, 2022 @ 16:49

Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts. oakley 9377

billlawry74 - May 17, 2022 @ 09:14

Are You Looking for Assignment help In the UK, there are umpteen companies that claim to offer top-quality assignment writing services in the UK?. The Native assignment expert is available 24X7 to help students.UK assignment help online is priced quite reasonably so most of the students can take the service and become better in academic writing. That's why you can pay a low price for Java Coursework help UK.

panoramamerchent - May 17, 2022 @ 17:09

I will be interested in more similar topics. i see you got really very useful topics , i will be always checking your blog thanks เว็บพนันออนไลน์

murtazan405 - May 18, 2022 @ 08:35

I’m excited to uncover this page. I need to to thank you for ones time for this particularly fantastic read!! I definitely really liked every part of it and i also have you saved to fav to look at new information in your site. บาคาร่า

blackcut92 - May 18, 2022 @ 12:27

Very nice blog and articles. I am really very happy to visit your blog. Now I am found what I actually want. I check your blog every day and try to learn something from your blog. Thank you and waiting for your new post. pg slot

mw430331 - May 19, 2022 @ 15:16

Looking for Phd Thesis Writers in the UK for all your thesis assignments turnout to The Dissertation Help for all thesis services at an affordable price without any plagiarism.