OPEN-SOURCE SCRIPT

EMA Cloud Intraday Strategy

Updated
********NOT TRADING ADVICE - USE AT YOUR OWN RISK - TRADING IS RISKY - DO NOT BLINDLY FOLLOW THE SIGNALS FROM THIS STRATEGY********

This strategy utilizes the 9 and 20 period exponential moving averages to create a colored cloud between similar to what is seen on the Ichimoku Cloud. The strategy closes all trades by the end of the trading day. Entry is when the price closes above a Green (9 EMA above 20 EMA) cloud or below a Red (9 EMA below 20 EMA) cloud. Exit is when price closes against the 9 EMA or at the end of the trading day. Running the strategy tester on different intraday time frames will show the best time frame for a given Symbol. For example, I have found that the best results are returned by this strategy for SPY on the 30 minute time frame.

********NOT TRADING ADVICE - USE AT YOUR OWN RISK - TRADING IS RISKY - DO NOT BLINDLY FOLLOW THE SIGNALS FROM THIS STRATEGY********
Release Notes
Updated trade execution logic to be more profitable. Also added setting for pull back trigger to adjust exit logic to bail on sudden reversals thus minimizing loss or return of profits.
Exponential Moving Average (EMA)Trend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer