Bull candle time WRONG OUTPUT (use exploration and see it)

Discussion in 'Trading Software' started by fxtraders, Nov 6, 2016.

  1. M.ST.

    M.ST.

    I have tried it already and it is working just fine.
    Only times of bull candle are getting output.

    So are you being a fool on purpose wasting other peoples time?

    [​IMG]

    [​IMG]
     
    #11     Nov 8, 2016
  2. I was writing something else..
    but ....

    Last few bars exploration without selecting last couple of bar in range box ..
    i guess here no need of addrow() for just one column..
    not working though ..
    Code:
    Plot( C, "Close", ParamColor( "Color", colorDefault ), styleNoTitle | ParamStyle( "Style" ) | GetPriceStyle() );
    expandmode = expandFirst;
    TF = in15Minute;
    TimeFrameSet( TF );
    dt = DateTime();
    bull = C>O;
    TimeFrameRestore();
    
    expanddt = TimeFrameExpand( dt, TF, expandmode );
    expandbull = TimeFrameExpand( bull, TF, expandmode );
    printf( "`15 Minute candle timeframe: " + DateTimeToStr( SelectedValue( expanddt ) ));
    for( i = BarCount-1; i >= BarCount -8  ; i-- )
        {      newexpand ="";         
         newexpand +=  DateTimeToStr( expanddt[i] );         
        }   
      
    Filter = 1;
    //AddColumn( newexpand, "Date", formatDateTime ); //eXPANDED VARIABLE
    //AddColumn( expandbull, "bull", 1, colorDefault, colorDefault, 70 ); (EXPANDED vARIABLE?)
    AddColumn( Null, "DateTime", 1, colorDefault, colorDefault, 160 );
    
    ======

    [​IMG]
    [​IMG]

    Code:
    Plot( C, "Close", ParamColor( "Color", colorDefault ), styleNoTitle | ParamStyle( "Style" ) | GetPriceStyle() );
    expandmode = expandfirst;
    TF = in15Minute;
    TimeFrameSet( TF );
    dt = DateTime();
    bull = C>O;
    TimeFrameRestore();
    expanddt = TimeFrameExpand( dt, TF, expandmode );
    expandbull = TimeFrameExpand( bull, TF, expandmode );
    
    expandmode = expandfirst;
    MF = 3*in15Minute;  // MF = inHourly; FOR hourly
    TimeFrameSet( MF );
    dt1 = DateTime();
    bull1 = C>O;
    TimeFrameRestore();
    mfexpanddt = TimeFrameExpand( dt1, MF, expandmode );
    mfexpandbull = TimeFrameExpand( bull1, MF, expandmode );
    
    //printf( "`15 Minute candle timeframe: " + DateTimeToStr( SelectedValue( expanddt ) ));
    //Filter = mfexpandbull;
    
    Filter = expandbull OR   mfexpandbull;
    AddColumn( expanddt, "15DateT", formatDateTime ); //eXPANDED VARIABLE
    AddColumn( mfexpanddt, "45DateT", formatDateTime );
    //AddColumn( expandbull, "bull", 1, colorDefault, colorDefault, 70 ); (EXPANDED vARIABLE?)
    
    [​IMG]



    [​IMG]

    Database used in attached file..
     
    Last edited: Nov 8, 2016
    #12     Nov 8, 2016
  3. M.ST.

    M.ST.

    I seem to be caught on candid camera.
    Is this candid camera? Because it suspiciously looks like a bad joke.
    Since it is a bad joke I'm going to zap to a different channel.
     
    #13     Nov 8, 2016
  4. M.ST.

    M.ST.

    BTW, keep staying in the TV business because your programming seriously sucks (same applies to your post writings).
     
    #14     Nov 8, 2016
  5. Atleast, it shouldn't be from someone. who doesn't even know, "How to write proper sentence!".
    Let's make it so politely.

    You can say, I do not have mutual understanding even after telling me lot of times. So, explain me, "What the heck do you want to say?"

    Then, I will tell you in the language that you do understand. Of course, with good manner. If you love to speak obnoxious word, I will be honoured to tell you in your beloved language.

    Do you want me to inspect thoroughly your posts ?
    No problem !

    I guess, I am not speaking hood language that bother you?
    Usually such over-exaggerated post comes from a non esc person.
    Either you're a saint looking for a person,"Who has patience after being bullied?" or a ....
     
    Last edited: Nov 9, 2016
    #15     Nov 9, 2016
  6. Elon Musk: Life is an illusion ..
    --
    Don't take anything seriously ..
    continuing my hood language ....

    Problem 1:

    Code:
    Plot( C, "Close", ParamColor( "Color", colorDefault ), styleNoTitle | ParamStyle( "Style" ) | GetPriceStyle() );
    expandmode = expandFirst;
    TF = in15Minute;
    TimeFrameSet( TF );
    dt = DateTime();
    bull = C>O;
    TimeFrameRestore();
    
    expanddt = TimeFrameExpand( dt, TF, expandmode );
    expandbull = TimeFrameExpand( bull, TF, expandmode );
    printf( "`15 Minute candle timeframe: " + DateTimeToStr( SelectedValue( expanddt ) ));
    for( i = BarCount-1; i >= BarCount -8  ; i-- )
        {      newexpand =""; 
         newexpand +=  DateTimeToStr( expanddt[i] ); 
        }
    
    Filter = 1;
    //AddColumn( newexpand, "Date", formatDateTime ); //eXPANDED VARIABLE
    //AddColumn( expandbull, "bull", 1, colorDefault, colorDefault, 70 ); (EXPANDED vARIABLE?)
    AddColumn( Null, "DateTime", 1, colorDefault, colorDefault, 160 );
    

    Without setting up Range in exploration .. we wanna do exploration couple of last bars without setting up range ..

    Simply, we wanna make an exploration that do exploration couple of bars .....
    Let's see, How we do it ..... ?
    ..c After that

    Problem 2:


    [​IMG]
    All are welcome
     
    Last edited: Nov 11, 2016
    #16     Nov 11, 2016
  7. M.ST.

    M.ST.

    Does anyone know what this TV show is about and what the heck the host of the show is talking about? It looks like a show that is going to be cancelled soon - before season 1 ends.
     
    #17     Nov 11, 2016
  8. M.ST.

    M.ST.

    #18     Nov 11, 2016
  9. ........:vomit:

    Hope All folks doing good ..

    Amazing!!
    There's no syntax error, still it shows syntax error..


    Code:
    SetBarsRequired( -2, -2 );
    Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
    
    function tf_ma(e,d)
    {
    for (i=e; i<d; i++)
    {
      tf = i * in1Minute;
      TimeframeSet(tf);
        meme =  MA(C,15);
       TimeframeRestore();
      return TimeFrameExpand(meme,tf,expandPoint);
      
    }  
    }
    m  = tf_ma(1,9);
    for( b = 0; b < BarCount; b++ )
       if(m[b])
               PlotText(" " , b, L[ b ], colorRed, colorDefault, -12 );
    
    [​IMG]
     
    #19     Dec 24, 2016
  10. M.ST.

    M.ST.

    There's very well a syntax error in there being visible from one mile distance.
     
    #20     Dec 24, 2016