Experts: Renko 2.0 Offline - page 7

 
crixtiano #:

Guys, Guilherme replied to me by email. He gave me this solution:

"You can play the opening timestamp in the volume"

I'll try it here.

Can you explain how?
 
Na Onda # Can you explain how?

The following material can be very useful:

Forum on trading, automated trading systems and testing trading strategies

I want to place an order at the beginning of a new candle in Renko chart.

Fernando Carreiro, 2023.02.13 11:29

// Default tick event handler
   void OnTick() {
      // Check for new renko brick
         static datetime dtBrickTimeCurrent  = WRONG_VALUE;
         static double   dbBrickOpenCurrent  = WRONG_VALUE;
                datetime dtBrickTimePrevious = dtBrickTimeCurrent;
                double   dbBrickOpenPrevious = dbBrickOpenCurrent;
                         dtBrickTimeCurrent  = iTime( _Symbol, _Period, 0 );
                         dbBrickOpenCurrent  = iOpen( _Symbol, _Period, 0 );
                bool     bNewBrickEvent      = ( dtBrickTimeCurrent != dtBrickTimePrevious ) ||
                                               ( dbBrickOpenCurrent != dbBrickOpenPrevious );
      // React to a new brick event and handle it.
         if( bNewBrickEvent ) {
            // Detect if this is the first tick received and handle it.
               /* For example, when it is first attached to a chart and
 the brick is somewhere in the middle of its progress and
 it's not actually the start of a new brick. */
               if( dtBrickTimePrevious == WRONG_VALUE ||
                   dbBrickOpenPrevious == WRONG_VALUE    ) {
                  // Do something on first tick or middle of brick ...
               } else {
                  // Do something when a normal brick starts ...
               };
            // Do something irrespective of the above condition ...
         } else {
            // Do something else ...
         };
      // Do other things ...
   };



Code Base

Renko Scalper

Adam Pogorzelski, 2011.12.19 11:19

EA achieved best results on Renko Chart. Renko Chart is not mine but I used it to write EA on it. EA can trade every pair but I got best results on GBP/USD and EUR/JPY. I'll appreciate any comments.
 
There's a problem: the Renko (0) doesn't change colour when it goes from high to low (blue to red) or from low to high (red to blue). Is this an error or is it just the way it is?
 

Thank you for providing this indicator! It's the most effective Renko indicator I've found for MT5 and it works perfectly.

I have one question. Is it feasible to make a small visual adjustment so that the bricks connect at the corners? Currently, there is a small gap between each brick. Could it be adjusted to look something like the configuration in the attached image?

Thanks!
Chris

Automatic translation applied by the moderator.

Files:
renko.png  24 kb
 

@87280 #: Obrigado! Chris

Automatic translation applied by the moderator.

In this forum, please comment in Portuguese. Use the automatic translation tool or comment in one of the forums in another language.

 
can someone help me i'm using renko, i'm making a robot using renko and medias my problem is that my orders are not launched at the opening of the new box. example: my strategy gave a signal to open a sell order at the price of 124500 but the real asset that sends the orders entered the order 124300, it's as if renko was late with the chart of the real asset.
 
How to install