CosmonautCalls

Orderblocks [CosmonautC]

CosmonautCalls Updated   
Orderblock script, automatically finds orderblocks and then marks them out.

There are 3 inputs:

length == lookback length

Sensitivity == How small/big moves are needed to plot a new orderblock

levels == How many pairs of Orderblock levels to plot. 1 pair = 1 orderblock from a down move and 1 orderblock from an up move



I hope you enjoy it and hopefully can make some better decisions with it :D

#freeα
Release Notes:
Fixed a weird bug that recently appeared.

Max lookback can now be 4999 so anything above that will fetch and error, I'd recommend having len set at around 500-2500 depending on your style/timeframe

My normal setup is:

Len: 1000

Levels to show: 2 or 3

Sensititivty: Low

Show crossovers/crossunders: Off/False

Enjoy!
Release Notes:
Small change to the code

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?