OPEN-SOURCE SCRIPT

MACD/EMA/SMA/Ichimoku Confluence Strategy

Actualizado
This strategy uses a number of chart indicators to provide a Bullish/Bearish signal. Using a combination of the 200 SMA, the 20 EMA, the MACD and the Ichimoku cloud, the strategy logic will adjust the amount of confluence required between the indicators depending on how bullish or bearish the chart is looking. The logic looks for the following:

- Are we above or below the 200 SMA?
- Are we above or below the 20 EMA?
- Have we had a bullish MACD cross?
- Where are we in relation to the Ichimoku cloud?

If the coin is below the 200 SMA, then the strategy will only give a buy signal if the coin closes a candle above the 20 EMA AND the MACD is bullish and either the Ichimoku cloud is green, or the coin is above the Ichimoku cloud (regardless of colour).

If the coin is above the 200 SMA, Then the strategy will give a buy signal if the coin closes a candle above the 20 EMA AND the MACD is bullish and the coin is either IN the cloud (not necessarily above it) or the cloud is green.

The reverse is true for a sell signal, i.e. when the coin is above the 200 SMA it must close a candle below the Ichimoku cloud and be bearish in relation to the 20 EMA and MACD. If it is below the 200 SMA, then the strategy will give a sell signal if the the EMA/MACD conditions are true and the coin enters the cloud.

This strategy gives a fairly conservative signal for entry and exit points, but is fairly successful across a number of time frames, both short term and long term. As with all my strategies, I only include LONG entries and closes, not SHORT entries (as I find they make for inaccurate backtesting).

Please feel free to like, share, critique and suggest any improvements to this strategy. All feedback, positive and negative, is appreciated.
Notas de prensa
Update: Noticed the logic was overly conservative, basically an AND present instead of an OR. Logic updated
Notas de prensa
Update: Strategy has been updated to include the Daily Bollinger Bands and Parabolic SAR.

In the event of a buy or sell condition being met outside the boundaries of the Bollinger Bands, the signal will be supressed until a candle closes back within the bands.

For the Parabolic SAR, the buy condition will only fire if the chart is bullish (i.e. the Parabolic SAR dots are below the candle closes). This was implemented as an additional filter to prevent spurious trades occurring in a sideways market.
Moving AveragesOscillatorsTrend Analysis

Script de código abierto

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.

¿Quiere utilizar este script en un gráfico?


También en:

Exención de responsabilidad