Tutorial 174 | Markplex Centered Moving Average

visibility 0 tontonan schedule 4 tahun yang lalu timer 5:58
open_in_new Dailymotion
Tutorial 174 demonstrates how to write Markplex’s version of the Centered Moving Average (CMA) using TradeStation EasyLanguage. A centered moving average is placed at the center of the range rather than the end of it. This positions the moving average values at their central positions in time and is easy to accomplish by using EasyLanguage’s displace capability.<br /><br />A disadvantage of the CMA is that because the values are displaced there are a number of bars at the end of the chart where there are not a sufficient number of future bars to calculate the average, by definition.<br /><br />This tutorial demonstrates one approach to estimating the average for the last bars by replacing “missing” bars with the Close of the last bar and then re-calculating and re-plotting the last few bars whenever the close is updated.<br /><br />https://markplex.com/free-tutorials/tutorial-174-markplex-centered-moving-average/<br />