TradeStation

2 MA Ratio Can Help with Moving Averages

Many technical analysts use moving average crosses to assess trend changes. A faster-moving MA crossing above a slower-moving line may be viewed as a bullish signal. The opposite can apply to the downside.

While these methods may help analyze price direction, they can often force traders to wait until the cross occurs. Sometimes it may be useful to anticipate the event – or at least know it’s getting close.

That’s where the custom script 2 MA Ratio can be useful because it tracks the fast and slow moving averages. The fast MA is then shown as a percent of the slow MA. Positive readings indicate a bullish condition and vice versa for the negative.

It’s also color-coded to clearly illustrate when the crosses occur.

2 MA Ratio can handle simple moving averages (SMAs) and exponential moving averages (EMAs). It even lets you compare SMAs to EMAs. Users can choose between using open, high, low or closing prices as the inputs. (It defaults to Close.)

The chart above shows the short-term pair of the 8- and 21-day EMAs on Tesla (TSLA). The second chart below shows the same stock with the slower 50- and 200-day SMAs. Notice the “Golden Cross” last summer and the “Death Cross” in May:

TradeStation has, for decades, advanced the trading industry, providing access to stocks, options, futures and cryptocurrencies. See our Overview for more.

Important Information
TradeStation Securities, Inc., TradeStation Crypto, Inc., and TradeStation Technologies, Inc. are each wholly owned subsidiaries of TradeStation Group, Inc., all operating, and providing products and services, under the TradeStation brand and trademark. You Can Trade, Inc. is also a wholly owned subsidiary of TradeStation Group, Inc., operating under its own brand and trademarks. TradeStation Crypto, Inc. offers to self-directed investors and traders cryptocurrency brokerage services. It is neither licensed with the SEC or the CFTC nor is it a Member of NFA. When applying for, or purchasing, accounts, subscriptions, products, and services, it is important that you know which company you will be dealing with. Please click here for further important information explaining what this means.

This content is for informational and educational purposes only. This is not a recommendation regarding any investment or investment strategy. Any opinions expressed herein are those of the author and do not represent the views or opinions of TradeStation or any of its affiliates.

Investing involves risks. Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. There is a possibility that you may sustain a loss equal to or greater than your entire investment regardless of which asset class you trade (equities, options, futures, or digital assets); therefore, you should not invest or risk money that you cannot afford to lose. Before trading any asset class, first read the relevant risk disclosure statements on the Important Documents page, found here: www.tradestation.com/important-information.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?