DaneSchell

Simple Moving Average Cross

DaneSchell Actualizado   
The script uses 3 simple moving averages that you can define (SMA Top, SMA Mid, SMA Long).

Once the SMA Top is above the SMA Mid and the SMA Mid is above the SMA Top a long position is entered.

Once the SMA Top is below the SMA Mid and the SMA Mid is below the SMA Top a short position is entered.

You may define how long before these positions are entered by adjusting the bars in the Inputs section.

A setting of 0 will enter a position as soon as the conditions are met,
whereas a setting of 5 will wait 5 bars after the conditions are met before entering the positions.
Notas de prensa:
UPDATING DESCRIPTION / TYPOS

The script uses 3 simple moving averages that you can define ( SMA Top, SMA Mid, SMA Low).

Once the SMA Top is above the SMA Mid and the SMA Mid is above the SMA Low a long position is entered.

Once the SMA Top is below the SMA Mid and the SMA Mid is below the SMA Low a short position is entered.

You may define how long before these positions are entered by adjusting the bars in the Inputs section.

A setting of 0 will enter a position as soon as the conditions are met,
whereas a setting of 5 will wait 5 bars after the conditions are met before entering the positions.
Notas de prensa:
Updated the when to close the position as it was improperly set.
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

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.

¿Quiere utilizar este script en un gráfico?