This is example to show how you can combine two and more strategies for get a cumulative signal. Result signal will return 1 if two (or more) strategies is long, -1 if all strategies is short and 0 if signals of strategies is not equal.
First strategy Chaikin's Volatility indicator compares the spread between a security's high and low prices. It quantifies volatility as a widening of the range between the high and the low price. You can use in the xPrice1 and xPrice2 any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
Secon strategy The Moving Average Crossover trading strategy is possibly the most popular trading strategy in the world of trading. First of them were written in the middle of XX century, when commodities trading strategies became popular. This strategy is a good example of so-called traditional strategies. Traditional strategies are always long or short. That means they are never out of the market. The concept of having a strategy that is always long or short may be scary, particularly in today’s market where you don’t know what is going to happen as far as risk on any one market. But a lot of traders believe that the concept is still valid, especially for those of traders who do their own research or their own discretionary trading. This version uses crossover of moving average and its exponential moving average.
Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.