OPEN-SOURCE SCRIPT

CCI + EMA with RSI Cross Strategy

Updated
This strategy uses the CCI + 2 RSIs + 2 EMAs to generate trade signals. Trades are only taken during the normal trading session and all open trades are closed 15 min before the close of the current session. A trailing stop loss is used and is customizable.

Not trading advice, use at your own risk.
Release Notes
Updated name and title to be more accurate.
Release Notes
Updated default stop loss to reflect best starting point.
Release Notes
Minor cleanups and better labeling of inputs.
Release Notes
Added crosses to indicate trailing stop position. Also set for orders to fire on close of trigger bar and not the bar after.
Release Notes
Modified default values for CCI Cutoff and Trail Loss settings for current max profit on 5 min chart (SPY).
Changed Trailing Stop track point from Close to SlowEMA (20 period).
Fixed a bug in display of current Stop Loss indicator so that only shows for valid trade. Previously would show stop loss for a long trade when short and vice versa.
Release Notes
Corrected error in stop price calculation.
Release Notes
Updated entry conditions.
CCI-EMAExponential Moving Average (EMA)EMASRelative Strength Comparisonrsi2Trend 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