TradingView
rwestbrookjr
2022年4月25日午後7時6分

CCI + EMA with RSI Cross Strategy 

SPDR S&P 500 ETF TRUSTArca

詳細

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.

リリースノート

Updated name and title to be more accurate.

リリースノート

Updated default stop loss to reflect best starting point.

リリースノート

Minor cleanups and better labeling of inputs.

リリースノート

Added crosses to indicate trailing stop position. Also set for orders to fire on close of trigger bar and not the bar after.

リリースノート

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.

リリースノート

Corrected error in stop price calculation.

リリースノート

Updated entry conditions.
コメント
Asanciara
Amazing script sir. Can you please post the time frame and the setting you using?
rwestbrookjr
@Asanciara, the time frame depicted is 5 min and the default settings for the script are for this time period on SPY. For other symbols, I would adjust the Stop Loss value and or the CCI-Cutoff value.
Elmept
Can you do a version for Daily time frame and add volatility? I was thinking in doing a similar version but for Daily Time Frame with a ATR Stop loss and Trailing until the emas cross again as take profit.
rwestbrookjr
@Elmept, This script functions on all time frames, so no script change needed for that. I will look in to adding an option for the stop loss to be based on a multiple of the ATR with the ATR length as a setting as well.
詳細