anas_algo

Alnami_Quantum_blocks v.11

anas_algo Uppdaterad   
The (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

Versionsinformation:
minor enhancement.
Versionsinformation:
the renko % based channel is shown now
Versionsinformation:
The entry trigger is crossing over a middle line of the channel. If the value of the split entry is 1, then buy triggers only when price move above the upper level of the channel. If it set to 2, the a middle line will be the trigger. If it was set to 4 then the lower 4th quarter line will be the trigger...etc
Versionsinformation:
https://i.ibb.co/fvKZGn0/Settings.jpg

Above link shows the latest settings for the added features..
Versionsinformation:
Makes the signals lag one bar to avoid live bar repainting
Versionsinformation:
added more controls on entry and exit points to increase accuracy

Skyddat skript
Detta skript publiceras med stängd källkod och du kan använda det fritt. Du kan ange den som favorit för att använda den i ett diagram. Du kan inte visa eller ändra dess källkod.
Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?