MoonFlag

MoonFlag AI Cloud (JWTainsh)

This is a cloud that is based on a novel overshoot algo and also provides a 'central line' which represents to some degree an average moving in the direction of the trade (as indicated by the cloud).

Most indicators are based on moving averages which lag the price action.

This indicator uses a predictive overshoot algo that is different to a moving average. The algo overshoots the price action by following momentum. The cloud is made from multiple overshoot algo's all at different lengths (number of lookback bars).

In comparison to a moving average, the moving average will never give a reading greater than the price action in an up-trend. A moving average will lag the price action and eventually the price will come down and intersect with the moving average. In this overshoot algo (that forms the cloud), the parts of the algo with the shorter length will shoot way above the price action as the uptrend weakens.
The cloud is made from multiple overshoots algo's all with a different length. So when an uptrend weakens, the overshoot algo's with the longer length will still be below the price action and the price action will dip below the base of cloud - thus indicating an end to the uptrend - and possibly the start of a downwards momentum if the price action persists into the red.

So, when the price action dips below the cloud, it forms a line whereby below the line the cloud is colored red - indicating a possible downturn in the trend as the up momentum has receded. There is still a green part to the cloud above the lower line, as the up momentum could re-establish if the price action stays about the red.

Similarly, if in a down trend (price action in a red part of the cloud) and the price action breaks above the top of the cloud, the cloud will go green - until the price action falls below the cloud again.

There is also a half-way average line (although this is not entirely correct - it does describe what the mid-line does with some understanding). This mid-line only moves up when in an upward momentum. Similarly, the mid-line only moves down in a down momentum. Its interesting to see when the price action crosses the mid-line as this can indicate a change in momentum early on.
For example, if the price action remains above the mid-line, this can show a pump is still in progress.

If the price action just bounces above the cloud, then below, then above - it means the could length is not great enough - and the price action is probably governed more by RSI on a relatively fast timeframe.

When the cloud gets thin - this generally means the price action is in line with a steady momentum and has been for a while. This can be thought of as all the moving averages converging and this sometimes can indicate a biggish move is about to happen (and thus throw the cloud into a wider state - and get all the traders excited).

I started coding this cloud when trying to intersect with the start of shorts or to locate the end of a long trend cycle. Shorts generally happen on a faster timeframe than longs so I generally use separate cloud timeframes (or lengths) for longs or shorts.

I also find that market conditions change considerably every few weeks or months - so the cloud is best reliable on recent data.

Also use in conjunction with other indicators such as OCC, 1D ATR Trend or VRSI/MACD Confluence - as this is a predictive indicator based on price action overshoot from momentum information. This is not - a moving average - this cloud does not lag price action - it kind of predicts where the price action will go if the present momentum remains - and then detects when a change in this momentum occurs due to price action intersection.

Please get in touch for more information or, if you would like to see the webhooks bot strategy I linked to the code.

Sincerely,
Moonflag (Josef Tainsh PhD)







Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?