An indicator on the price chart that follows an ATR-based trend line with a factor setting, plus a fast and slow EMA cloud, and prints signals with fixed dollar stop loss and three take profit distances.
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 indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
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
Signals can be limited to two time sessions in a chosen timezone. A dashboard tracks outcomes over a date range, with a selectable final target. Alerts can be sent as JSON messages for up to five Telegram chat IDs. Distances are in price units, not percentages.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
ATR Period for Trend Calculation
int
10
atrPeriod
Trend Sensitivity Factor
float
3.0
factor
Cloud Fast EMA
int
50
cloudFast
Cloud Slow EMA
int
150
cloudSlow
Stop Loss Distance ($)
float
20.0
sl_dist
TP 1 Distance ($)
float
10.0
tp1_dist
TP 2 Distance ($)
float
20.0
tp2_dist
TP 3 Distance ($)
float
30.0
tp3_dist
Use Chat 1 (Optional)
bool
false
useChat1
Telegram Chat ID 1
string
chatID1
Use Chat 2 (Optional)
bool
false
useChat2
Telegram Chat ID 2
string
chatID2
Show all 29 settings
Setting
Type
Default
Variable
Use Chat 3 (Optional)
bool
false
useChat3
Telegram Chat ID 3
string
chatID3
Use Chat 4 (Optional)
bool
false
useChat4
Telegram Chat ID 4
string
chatID4
Use Chat 5 (Optional)
bool
false
useChat5
Telegram Chat ID 5
string
chatID5
Use Time Filters for Trading
bool
true
useTimeFilter
Trading Session 1
session
2100-0700
session1
Trading Session 2
session
0925-1255
session2
Timezone (America/New_York handles UTC-4/UTC-5)
string
America/New_York
tz
Use Date Filter for Dashboard Stats
bool
true
useDateFilter
Start Date
time
timestamp("2022-01-01T00:00:00")
startDate
End Date
time
timestamp("2030-01-01T00:00:00")
endDate
Final Take Profit (Win Condition)
string
TP3
closing_tp
Show TP1 on Chart
bool
true
show_tp1
Show TP2 on Chart
bool
true
show_tp2
Show TP3 on Chart
bool
true
show_tp3
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 indicator plots auto trade signals for E-mini S&P 500 futures on the price chart. It computes an EMA200 filter along with day ETH RTH session levels and percentage-based entry zones. Signals trigger CALL or PUT cases when price crosses defined thresholds
This indicator classifies the market into gamma regime types (negative gamma trend, positive gamma mean-reversion, or transition) by calculating a composite score based on daily ATR ratios, session VWAP crossover frequencies, and opening range displacement. It
Equity Intraday Analyst is a comprehensive intraday overlay indicator for US equities and ETFs. It evaluates multi-EMA ribbons, session-anchored VWAP bands, OBV trends, momentum oscillators, TTM Squeeze, and optional market breadth indicators like NYSE TICK an
This script combines Smart Money Concepts including Break of Structure, Optimal Trade Entry Fibonacci levels, Fair Value Gaps, and Order Blocks to identify setup entries on the price chart. It tracks 15-minute higher timeframe structure, restricts trades to th
Calculates Smart Money Concepts market structure elements including internal and swing breaks of structure, change of character, and order blocks directly on the price chart. It highlights bullish and bearish structures, customizable internal and swing order b
42H Map calculates custom time cycle structures and session ranges directly on the price chart. It partitions market action into forty-two-hour cycles, ten-and-a-half-hour micro-sessions, half-week periods, and quarter-month segments to track highs, lows, and