Longs open when the CCI is above its long level, optionally above an SMA of the CCI, and the long RSI crosses a buy level; they close when that RSI crosses a sell level. Shorts use the opposite CCI zone and a separate RSI. Invert switches can swap those crosses. A date filter and a win-loss display can be enabled. There is no stop loss.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
use sma( cci , len )
bool
false
use_sma
len
int
200
len_sma
Open Trad Long
bool
true
trad_Long
level_CCI_ZON
int
30
level_CCI_ZON_L
len RSI Long
int
9
len_RSI_L
cross B
int
54
level_RSI_LongB
cross S
int
28
level_RSI_LongS
invert
bool
true
cross_invert_L
Open Trad Short
bool
true
trad_Short
level_CCI_ZON
int
-70
level_CCI_ZON_S
len RSI Long
int
13
len_RSI_S
cross B
int
51
level_RSI_ShortB
Show all 22 settings
Setting
Type
Default
Variable
cross S
int
39
level_RSI_ShortS
invert
bool
false
cross_invert_S
═════ Date Range Filtering ═════
bool
false
i_dateFilter
From Year
int
2020
i_fromYear
From Month
int
1
i_fromMonth
From Day
int
15
i_fromDay
To Year
int
2023
i_toYear
To Month
int
12
i_toMonth
To Day
int
31
i_toDay
Show win loss
bool
true
Win_Loss_Show
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
MACD + Divergences [Alorse] is a momentum strategy that calculates the MACD oscillator and identifies regular and hidden divergences using pivot high and low points. It filters trade signals with dual Exponential Moving Averages (EMA 150 and 600) to ensure tra
This strategy combines the ATR-banded Q-Trend indicator with the Klinger Volume Oscillator (KVO) to execute confluence trades. It enters long when a Q-Trend buy trigger aligns with a positive KVO value and a bullish candle confirmation, taking short trades und
This strategy calculates the Moving Average Convergence Divergence indicator and plots the MACD line, signal line, and histogram in a separate pane. It enters long positions when the MACD line crosses above the signal line and enters short positions when it cr
This strategy estimates price behavior using ordinary least squares regression between higher-timeframe data and a generated dataset, smoothed by a Karobein oscillator. It enters long positions when the oscillator turns upward and short positions when it turns
This strategy calculates a 20-period Relative Strength Index (RSI) and generates entry orders based on crossovers and crossunders of the 50 level. When RSI crosses above 50, it places a long stop entry at the current high price with a custom alert message. Whe
This strategy plots a MACD oscillator in a separate pane and trades Bitcoin futures from zero-line and signal-line crosses. Optional early momentum signals, a volume filter, and a trend moving-average filter can confirm entries. It sizes positions as fixed con