“Pure” Renko strategy

“Pure” Renko strategy

Hello everyone,  

Do you remember my work on the RENKO ?    

From this indicator, we will try a very simple strategy.

The simplest is the “PURE” Renko.

For the definition of the Renko, I refer you to other sites that explain it very well.

We go LONG if : we have 2 “bullish” Renko bricks in the same direction.

We go SHORT if : we have 2 “bearish” Renko bricks in the same direction.  

So we are constantly on the market. We are just following the trend.

Here is the result of the backtest, on the DAX : H1 graphs (no matter, because the important thing is the size of the Renko bricks), Renko size : 40 points, Spread: 1 point, test “tick by tick”.

As you can see, the strategy is profitable. Low success rate, compensated by some highly winning trades.

I think there’s plenty of way for improving this strategy idea, adding refined entry rules, a breakeven, a trend filter, and so on.

And one can test this strategy on the forex with other sizes of bricks.

Here is the code (very simple, but the indicator words well also) :

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. Nicolas • 174 days ago #

    Good job, but I think there is something wrong in the description since trade direction is changing with only 1 contrarian renko brick in your code.

  2. verdi55 • 46 days ago #

    Running a single Renko strategy with a fixed box size is usually not a good idea, because the results depend extremely on

    1. the box size, and 2. on the initial value of the first box.

    So, if Renko strategies should be useful, they must be used as statistical “grates”, that is, using many combinations of box sizes and initial positions of the first box at the same time. Then it is possible to get good results over the sum of all parameter sets, and purely accidental results are avoided.

    In principle, this holds for all “optimized” (curve-fitted) strategies as well, but in Renko charts there is the additional complication of the exact value of the first box that determines the behavior of all the rest.

  3. Fabrizio_T • 20 hours ago #

    Hi, have you tested on the period 30 julay – 30 September 2015?

Register or


avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
supertiti Bonsoir à tous For those who like me want to calibrate this indicator on a scale of 0 to ...
juanj This gets me thinking about creating a strategy on the 5min timeframe that only takes trades...
verdi55 You can find me at www.FXautomate.com Ahh. So i got it ? 4 different supertrends without th...
juanj What? This has nothing to do with the website. The site is simply a service to help people ...
Nicolas Advertising is allowed,as long as people are helping others and if provided services are abo...
Vonasi I noticed a couple of typo errors in the code. The list of variables lines 4 to 11 should be...
Genotik Thank you for your important contribution this week which is much appreciated! Happy New Yea...
Vonasi No problem. I hope they are useful to someone. Happy and hopefully prosperous New Year to y...
DarioMazza Hi Vonasi, i have a question for you, the comand "pricetype" where did you found it in the ...
Vonasi PriceType is just a variable that I use. The value decides what type of price is used in the...
Vonasi I noticed a couple of typo errors in the code. The list of variables lines 4 to 11 should be...
JohnScher Why do i have problems to insert a code with "add prt code" ??
Yannick Hello The problem of the code might the time of the candle if you modifiy by TradingtimeLon...
Yannick TradingDayLong = dayofweek = 1 or dayofweek = 2 or dayofweek = 3 or dayofweek = 4 or dayof...
2 months ago
larouedegann // ENABLED PARNER 1-0 / ON-OFF ONCE PrEnabled01 = P01 // SWITCH INDICATOR P0...
ALE P01 , it’s the first patner of the indicator, I hope to add others in future.
ALE We can discuss about the strategy here: https://www.prorealcode.com/topic/scalping-indicator/
2 months ago
Trinity Impulse
Trinity Impulse
ribou bonjour Nicolas Bravo pour l'ensemble de ton oeuvre très riche en informations de qualité ...
Nicolas Cet indicateur nécessite que l'instrument possède des Volumes. Sinon il ne pourra pas se cal...
ribou ah d'accord merci beaucoup
Yannick Hello There is a mistake in trailing stop code, I think that this should fix the problem s...
Paul About the trailing-stop the way it's coded. That works for backtesting only, just look at th...
Jonny sorry paul, but system says that is not possible to put many stop order combined...what have...
3 months ago
TempusFugit Thanks Bin, nice code, I can use several ideas of the way you build it
DarioMazza Thanks Bin, great concentration, i understand the first idea, but may u indicate me the asse...
Bin Hi Mazza This robot is optimized for DAX30.
3 months ago
Genotik Merci !
Rolanbay Merci beaucoup, c'est exactement ce qu'il fallait faire.
Youness Charif Bonjour Nicolas, L'indicateur s'affiche dans une fenêtre en bas et non pas sur le cours....
Nicolas Appliquer l'indicateur sur le prix à l'aide de la clé à molette située en haut à gauche de v...
TempusFugit Masala, thanks for your contribution. I don´t like the offmarket spreads neither ;) I unders...
Uveus Tempus, me da un error al validar el codigo, sobre la variable N. Al crear el indicador me ...
TempusFugit Hi Uveus, I am guessing you inserted the code of the indicator into the system code, is ...
4 months ago
Marcel For those who are interested, I post trade opportunities with this indicator on Twitter. (@M...
swapping Thank you for sharing, best regards
Tellie2015 tack ska du ha för dina delningar både här o twitter
Genotik Merci de votre contribution !
Leo Hi all, I posted a new version of this indicator ( I just add arrows to spot the local maxi...
Trading_En_El_Ibex35 Muchas Gracias por compartir este interesante indicador. Un saludo
4 months ago