Based on the work done by sirolf2009
Many many conditionals
Best on high liquidity / high
volume markets
Not so great on low
volume alts (still better than manual trading for me)
This is a stripped-down version of the code in buyBot, converted to Pine