Two MA Sys by Jchang274

jchang274 已更新   
The MA System is indicating historical cost on the market.
This script will help you observe the relationship among MA.

This script is inspired by LEI & LoneCapital.
Thanks to LEI.

Welcome to enjoy and test it!

Version 1.0
MA+EMA System
Add background to recognize time,editable.
Fix some bugs
It can move with the Label now.
Bug Fix:
When use period below 1D,the chart refresh rapidly. It shows more than one label or DKJ dot.
Change Simple Moving Average to Dashed Line.

And force to show the first bar's SMA Line.
Add Reference Book ,you can close any function as you wish.
Change the label position due price.

Make the price label show two numbers after dot.
Bug fix: Price Label get wrong data.
Show gap that not fill until now.

In volatile markets, traders can benefit from large jumps in asset prices, if they can be turned into opportunities. Gaps are areas on a chart where the price of a stock (or another financial instrument) moves sharply up or down, with little or no trading in between. As a result, the asset's chart shows a gap in the normal price pattern. The enterprising trader can interpret and exploit these gaps for profit. This article will help you understand how and why gaps occur, and how you can use them to make profitable trades.
The moving average (MA) is a simple technical analysis tool that smooths out price data by creating a constantly updated average price. The average is taken over a specific period of time, like 10 days, 20 minutes, 30 weeks or any time period the trader chooses. There are advantages to using a moving average in your trading, as well as options on what type of moving average to use. Moving average strategies are also popular and can be tailored to any time frame, suiting both long-term investors and short-term traders.
With TradingView's if statements we execute code based on a condition. That way our script takes specific actions in certain situations. But not any action (function) can run inside an if statement. Some are excluded. Let's see which ones and what the solutions are.
In statistics, a moving average is a calculation used to analyze data points by creating a series of averages of different subsets of the full data set. In finance, a moving average (MA) is a stock indicator that is commonly used in technical analysis. The reason for calculating the moving average of a stock is to help smooth out the price data by creating a constantly updated average price.
By calculating the moving average, the impacts of random, short-term fluctuations on the price of a stock over a specified time-frame are mitigated.