Athena Momentum Squeeze - Autoview generates long and short entries based on squeeze momentum bar conditions and an optional pre-squeeze dot count filter. Exits can trigger on momentum shifts, ATR or percentage stops, or risk-to-reward targets. The strategy includes customizable alert syntax strings formatted for Autoview automation and plots directly on the price chart.
Bollinger Bands and Keltner Channel squeeze detection
Momentum bar color triggers with squeeze count filter
Configurable ATR, percentage, and risk-to-reward stops
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Broker
string
tradovate
broker
Pair:
string
MSFT
pair0
Qty:
string
1
qty
Long entry
string
entry_long_light_green
in_entry_sqz_bar_type_long
Short entry
string
entry_short_light_red
in_entry_sqz_bar_type_short
Enable squeeze filter?
bool
true
in_entry_sqz_filter_en
Squeeze dot count
int
6
in_entry_sqz_filter_cnt
Long close
string
exit_long_dark_green
in_exit_sqz_bar_type_long
Short close
string
exit_short_dark_red
in_exit_sqz_bar_type_short
Close only in profit
bool
false
in_exit_sqz_bar_close_in_profit
Take profit type
string
exit_type_none_tp
in_exit_type_tp
Take profit value
float
2.0
in_exit_val_tp
Show all 30 settings
Setting
Type
Default
Variable
Stop loss type
string
exit_type_atr_sl
in_exit_type_sl
Stop loss value
float
2.0
in_exit_val_sl
ATR length
int
14
in_exit_atr_len
BB Length
int
20
in_sqz_length
BB MultFactor
float
2.0
in_sqz_mult
KC Length
int
20
in_sqz_lengthKC
KC MultFactor
float
1.5
in_sqz_multKC
Use TrueRange (KC)
bool
true
in_sqz_useTrueRange
Enable moving average filter?
bool
true
in_ma_en
Type
string
ma_type_sma
in_ma_type
Source
source
close
in_ma_src
Length
int
200
in_ma_len
Plot?
bool
true
in_ma_show
in_ma_col
color
color.yellow
in_ma_col
in_ma_w
int
2
in_ma_w
Entry Price
color
color.gray
in_disp_ep_col
Take Profit
color
color.green
in_disp_tp_col
Stop Loss
color
color.red
in_disp_sl_col
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.
This strategy plots exponential-moving-average Bollinger bands on the price chart and calculates RSI. It opens a long position when close crosses above the upper band while RSI is at or above a threshold, the date filter allows trading, and no position is open
This strategy plots MACD line, signal line, Bollinger Bands, and RSI on the price chart. It signals long entries on MACD crossover above signal with RSI below 50 and price below BB basis, plus optional DMI filter. Short entries are available but disabled by de
This price-chart strategy plots a simple moving average and upper and lower bands built from the standard deviation of close, scaled by separate offset inputs. It enters a fixed quantity long when close crosses above the upper band and a fixed quantity short w
This strategy trades long breakouts of a fast and a slow moving average on the price chart. It opens a long position when price crosses above either average, using a percentage of equity as size. It reduces the position by a set share when the high reaches the
This educational strategy demonstrates moving average crossovers filtered by RSI momentum, incorporating ATR-based risk management. It calculates a 10-period SMA, a 30-period SMA, a 14-period RSI, and a 14-period ATR. Long entries trigger when the fast SMA cro
This strategy combines exponential moving averages (EMA 9, 21, 50), RSI, MACD, and Supertrend indicators to enter long positions. It triggers trades using six dynamic setups based on momentum breakouts, EMA crossovers, and pullbacks. Position sizing is compute