Is this a noble attempt to hard-code HA candles? If so, the results appear not to align exactly with the TV HA candles, which is disappointing. However, it may only need a few tweaks to get it right as it's not far off. Personally, I would really like to hard-code HA into my scripts so I'd like to encourage the developer on this one because I think the idea could be useful to lots of HA traders in the TV community.