Looking for candle count indior

thread: Looking for candle count indior

  1. #1

    Looking for candle count indicator

    Hello men, does anybody have indior that rely candle for the past 24 hour?

    I mean the purpose of this indior would be to know that no candle is lost due to broker link or such

    because 1 candle is overlooking very matter on 15 second system or 5 minute program

    because most of indior relies on price

    thanks please reply

  2. #2
    its not what im looking for, its not counting total candle to your day illuion 1 day should I use 1 hour chart and now previously 8 hour there should be info total 8 candle already form, 16 candle left.

    Thanks anyway for your article and attempt

  3. #3
    Askingkalz


    This code Block will tell you how meny bars are missing between your brokers near and his receptive times based on the specified chart period.

    It is possible to alter it to find holes in data on any given day.

    Keit







    Inserted Code /*================================================= ==============================================| || || || TheBlackHole Function Process v1.00 Date 03.08.2012 KTL || || || || Returns: The missing bar count based on the chart scale, for which your broker is || || closed for the week end. If weekly or monthly charts are imputed the yield || || value will be zero as there are not any missing bars in either of the time scales. || || || || Goal: Is to make alterations in bar count for indiors based on time or pub || || counts were the missing bars that occures over the week end effect Effects. || || || || Parameters: ServerTime -- This in most cases will probably be TimeCurrent() however, the alternative exist || || to ship additional times like in GMT etc.. || || TimeScale -- The time scale of this chart time, in most caes here the || || Current chart scale will probably be inputted. || || || || Notice: Noon times was used because most of brokers will be available at noon time on fridays || || and at noon on monday, we do not have to Search for each different brokers || || times of opperations. Then additionally to consider holidays that occure on mondays || || and or fridays which occurs offen. We move the testing times to thursday and || || tuesdays at noon. 12 noon, will additionally, match all chart time scales which || || comprise the 4Hr chart. This function returns zero in the Event That You ship it || || monthly time scales as there Won't be any missing bars within those time || || periods. We're left with the problem of missing bars that will occure || || in case your broker closes for a vaion during the week That Might occure a few || || times a year. || || || || Example: int AdjustBars = TheBlackHole( TimeCurrent(), Stage () ); || || || |-----------------------------------------------------------------------------------------------*/ int TheBlackHole( datetime ServerTime, int TimeScale ) int Index = @_Empty; int MissingBars = @_UnKnown; int MinutesInDay = PERIOD_D1; int MinutesInBar = TimeScale; int NormalBarCount = MathAbs(( MinutesInDay / MinutesInBar ) * 5 ); int ActualBarCount = @_Empty; int SearchDay = 2; int TuesdayBar = @_Empty; int ThursdayBar = @_Empty; datetime TuesdayNoon = @_Empty; datetime ThursdayNoon = @_Empty; if( TimeScale gt;= PERIOD_W1 ) return( 0 ); for( Index = 1; Index lt;= 2; Index ) while( TimeDayOfWeek( ServerTime ) ! = SearchDay ) while( TimeHour( ServerTime ) ! = 12 ) while( TimeMinute( ServerTime ) ! = 0 ) ServerTime = 60; // End While Loop, TimeMinute: if( TimeHour( ServerTime ) lt; 12 ) ServerTime = 3600; else ServerTime -= 3600; // End While Loop, TimeHour: ServerTime -= 86400; // End While Loop, TimeDayOfWeek: if( SearchDay == two ) SearchDay = 4; TuesdayNoon = ServerTime; else ThursdayNoon = ServerTime; // End If, SearchDay: // End For Loop, Index: TuesdayBar = iBarShift( $_Pair, TimeScale, TuesdayNoon ); ThursdayBar = iBarShift( $_Pair, TimeScale, ThursdayNoon ); ActualBarCount = ThursdayBar - TuesdayBar; MissingBars = NormalBarCount - ActualBarCount; return( MissingBars ); // End Function Procedure, TheBlackHole:






    hello guys, does anybody have indior that count candle for the Last 24 hour?

    I mean the purpose of this indior is to understand that no candle is missing because of broker connection or such

    since 1 candle is overlooking very matter on 15 second system or 5 minute program

    because most of indior is based on price

    thanks please answer

  4. #4

  •