Cumulative Moving Average (CMA)This script calculates a Cumulative Moving Average (CMA) with an optional anchoring by date. It enables users to analyze long-term trends either within a specific date range or across the entire historical data of the asset