Advanced Order Blocks w/ Volume
This will be a short guide on how to code an order block indicator that will show the volume. We will use HorizonAI entirely so no prior coding knowledge is needed
Last updated
This will be a short guide on how to code an order block indicator that will show the volume. We will use HorizonAI entirely so no prior coding knowledge is needed
Last updated
Get HorizonAI I'll be using the HorizonAI Chrome Extension, you can download the extension and follow along with a free account -> https://horizontrading.ai/
Open up HAI, and click into "Edit script" mode.
Open the Pine Editor and start a new script and make it blank (remove all the code).
Finally, connect HorizonAI to the Pine Editor
First, because we don't want to overwhelm the AI with tasks, we split the idea of "Order Blocks with Volume" into 2 parts. First being the order blocks, then adding the volume analysis
You can see HAI returned not only working code, but good looking order blocks
With the Order Blocks done, now lets ask the AI to add volume analysis
HorizonAI not only added the volume analysis, with the volume reading inside the box, it also made it so the color of the Order Blocks get darker the strong they are.
We also now have "Volume Threshold" multiplier in the settings, so we can not show the "weaker" Order Blocks.
Just like that you now have your very own Order Block with Volume Analysis indicator!