![]() ![]() Slope equals rise over run, so height and distance are required to create the slope. Depending on the length, price, and moving average type chosen, the MovingAverage function will do the math. Common choices include simple, exponential, weighted, or any other moving average type. ![]() On this line, the trader inputs the type of moving average preferred. ![]() In this example, the trader wants the average closing price. This could be the high, low, open, or close. This allows the trader to choose the data point to calculate the SMA. A 20-day SMA will likely be closer to the price bars than a 100-day SMA. A trader can select a length based on how far back (in days) they want to go to calculate the average. The number of bars needed to build the average. This tells the editor the script should be displayed on the lower subchart below a chart.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |