Duration:09:07
Variable speed version:
Watch
This video on RTX Development details the important calc() function which takes the bar data and transforms it into an array of output data which can then be used by the draw function. In this example, the close price is converted into a simple moving average of close.