OPEN-SOURCE SCRIPT

MACD/EMA/SMA/Ichimoku Confluence Strategy

Обновлено
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.
Информация о релизе
Update: Noticed the logic was overly conservative, basically an AND present instead of an OR. Logic updated
Информация о релизе
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

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?


Мои профили:

Отказ от ответственности