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.
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.
Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.