1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
Antigravity Superstar enters long or short only when at least the chosen number of those three signals agree, with an optional RSI momentum filter. Exits default to ATR take profit and stop loss, and can instead use fixed percentages or an opposite signal. Users set EMA, volume, MACD and RSI lengths, the confirmation count, and the exit mode. It does not add extra entries in the same direction.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Fast EMA
int
5
fast_ema_len
Mid EMA
int
10
mid_ema_len
Slow EMA
int
20
slow_ema_len
Volume MA Period
int
20
vol_period
Volume Spike Multiplier
float
2.0
vol_multiplier
Price Move Threshold %
float
1.0
price_move_thresh
MACD Fast
int
12
macd_fast
MACD Slow
int
26
macd_slow
MACD Signal
int
9
macd_signal
Min Confirmations (1-3)
int
2
min_confirmations
RSI Momentum Filter
bool
true
use_rsi_filter
RSI Period
int
14
rsi_period
Show all 17 settings
Setting
Type
Default
Variable
Exit Mode
string
ATR Trailing
exit_mode
ATR TP Multiplier
float
2.5
atr_mult_tp
ATR SL Multiplier
float
1.5
atr_mult_sl
Fixed TP %
float
3.0
fixed_tp
Fixed SL %
float
1.5
fixed_sl
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 calculates and plots 9, 21, 50, 90, and 200-period Simple Moving Averages on the main price chart. It constructs a modified On-Balance Volume (OBV) metric and calculates a MACD oscillator based on this custom volume series rather than price. Long
This strategy enters long when a fast EMA crosses above a slow EMA and RSI, ADX, and volume all clear their thresholds. It sizes the order from a percentage of equity and an ATR stop distance, then sets a partial profit target at a multiple of that risk. After
This strategy plots buy and sell markers on the price chart by combining a fast and slow ALMA crossover with a simple close-to-close momentum check. A long marker appears when the fast ALMA crosses above the slow ALMA and momentum is positive. A short marker a
The Golden Strategy is a Pine Script v6 strategy that overlays EMA and SMA on the price chart to detect crossovers for trend direction. It adds MACD for momentum confirmation and RSI to identify overbought and oversold conditions. Volume average filters out lo
This strategy is written for Bitcoin and draws on the price chart. It combines moving averages, an SSL channel, ADX, RSI, stochastic, and a volume oscillator with high-volume thresholds to generate buy and sell signals. Users can limit testing to a date range
This strategy plots a volume-weighted moving average, a Hull moving average, and a linear regression on the price chart. It enters long when the Hull average crosses above the volume-weighted average while stochastic is above 50, on-balance volume is rising, m