![]() ![]() ![]() The current price is plotted with the default blue line with an SMA calculation with 1 period to allow customization of smoothing if necessary to identify trends.ĭISCLAIMER: For educational and entertainment purposes only. Green candles have an ohlc4 greater than the previous candle, all other candles are red. Candle colors are determined by using the same HMA calculation on the ohcl4 and comparing it to the previous candle. Open, High, Low and Close (o, h, l, and c) are all calculated using an HMA calculation based on a user input length/period, defaulted at 10. These custom candles somewhat resemble Heikin-Ashi candles in their appearance. The purpose of the custom candles is to try and reduce noise from candles and help identify trends. This script is for custom candles based on an HMA calculation with a default period of 10 as well as an SMA of the close price, defaulted to 1 period to only show the current price. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |