Renko Candles OverlayHello All,
For long time I got many request for Renko Candles and now here it's, Renko Candles Overlay . I tried to make almost everything optional, so you can play with the options as you want.
Let see the options:
Method: the option for brick scaling method: ATR, ATR/2, ATR/4, Percent, Traditional
- ATR Period: period for Average True Range and it's valid if the method is ATR
- ATR/2 Period: period for Average True Range and it's valid if the method is ATR/2
- ATR/4 Period: period for Average True Range and it's valid if the method is ATR/4
- Traditional: User-defined brick size, it's valid if the method is Traditional
- Percent: Percent of Close price, it's valid if the method is Percent
if the method is not Traditional (fixed brick size) then Brick size is calculated/updated when new bricks added. so The box sizes may be different because of the calculation is dynamic.
Levels & Lines for new Bricks: if you enable this option then the script shows the levels for new brick
Change Bar Color: optionally the script changes the bar color by using direction of the bricks
and some other options for coloring.
The script shows the bricks for visible area, which is approximately 280 candles. so if you change the width and number of the bricks then number of bricks that is shown is adjusted automatically to fit the screen. you can see the examples below:
The script shows the levels to new brick as a line and label:
Because of real-time bar is not confirmed until the candle close, the script shows the bricks as Unconfirmed , and unconfirmed bricks shown in different color:
You can change the width of the bricks (width is 10 in following example):
Optionally candle colors are changde by the direction of the bricks:
If you have any recommendation then please drop a comment under the script ;)
Enjoy!
Renkowaves
Alnami_Quantum_blocks v.11The (Al Nami Quantum Blocks v.11) script is based on Renko chart that is based on % move of the selected symbol. This is different from the traditional or ATR based Renko charts..
box size = user selected percentage x current price
Alnami Quantum Blocks Channel is composed of 5 levels that are calculated based on the box size:
1- Base
2- Green Box High (GBH) = Base + box size
3- Next Green Box trigger (GBN) = base + (box size x 2)
4- Red Box Low ( RBL ) = Base - box size
5- Next Red Box trigger ( RBN ) = base - (box size x 2)
Those levels will appear in the chart with the following order:
------GBN-------
------GBH-------
------BASE------
------RBL-------
------RBN-------
Usually when prices are trending up, the price will stay above the base for most of the time,, when it trending downwards, price stays below base most of the time..
Now how to time your entries based on the channel?
This strategy draws two levels, breakout level (top red line) and stop level (bottom green line).
If the price is above red line, place a buy order
If the price is below the green line, place a sell order
In version 11 of the Quantum blocks, you can choose to make the those two lines drawn using:
recent/near term price actions (less accurate) and fast - set the number of Legs to low value
or
wider term price actions (more accurate) and slow - set the number of Legs to high value
This version also tracks the last three changes for the red and green lines as following:
1- Above, Above, Above = 3
2- Above, Above, Below = 2
3- Above, Below, Below = 1
4- Below, Below, Below = 0
I did run full optimization for the settings of this strategy on Bitcoin (Binance:BTCUSDT) for the following multiple time frames using Amibroker scrips and data downloaded from Binance through a REST API call. The TFs were for 1min, 15min, 30min, 45min, 90min, 120min, 180min, and 240min.
pair Input Settings
btc TF Profit% Sys DD% Trade DD% sharpe% # Trades Win% Wave% # of Legs up lo
1 204 40.16 15.04 1.33 132 40.15 1.5 4 3 3
15 249 35 14.3 2.96 35 51.43 1.8 3 1 3
30 469 28.95 14.04 3.82 34 67.65 1.4 3 1 3
45 712 54.48 23.3 2.49 46 54.35 1.7 3 3 3
90 1114 40.51 21.41 3.3 48 54.17 1.4 2 3 3
120 602 25.32 16.8 2.82 51 43.14 1.2 2 3 3
180 960 35.9 20.09 3.33 42 52.38 0.9 2 2 3
240 819 46.84 28.27 3.48 46 65.22 0.6 2 3 3
I spent a lot of time and resource in providing the above, If this script/back tests helped in making some profits, then kindly express your appreciation and support to this work by sending some altcoins to any of the following wallets, this will encourage me sharing more stuff with the public:
BTC : 15VLCLZRkEhhZn6E4gNjMLVYnmCcUzKvWU
LTC : LN6mE6aZhEqVVfssmaQ3kk8PPspWQ5wToy
ETH : 0x7901035f2b6f334fa404d0ceb187d7bfcfdb72ce