SmartMA on Bars
SmartMA is a custom indicator.
This script is intended to record the values of SmartMA and OHLC
prices for every bar on the chart. The data is saved as a CSV
file so you can conduct a quantitative analysis of trading.
When the script is stopped, it tells the path where the data file is saved.
Adjust the SmartMA on Realtime Deals in a way you like using the input parameters.
For this script to work, the SmartMA indicator is required.