TR MAIN Trading Guide
Last updated: July 22, 2026
The Traders Reality Main is a quantitative technical analysis tool. TR_MAIN: Traders Reality Main Indicator Ported to v2.0 format Features:
What does the indicator show?
- Market Structure & Momentum: Visualizes prevailing trend directions and key reversal zones.
- BUY / SELL Signals: Highlights confirmed entry and exit opportunities based on quantitative rules.
- Dynamic Boundaries: Provides adaptive levels for managing trade risk and reward expectations.
Key Settings
- Show EMA 1 (
showEma1): Controls the calculation period and sensitivity for market detection. - EMA 1 Length (
ema1Len): Controls the calculation period and sensitivity for market detection. - Show EMA 2 (
showEma2): Controls the calculation period and sensitivity for market detection. - EMA 2 Length (
ema2Len): Controls the calculation period and sensitivity for market detection. - Show EMA 3 (
showEma3): Controls the calculation period and sensitivity for market detection. - EMA 3 Length (
ema3Len): Controls the calculation period and sensitivity for market detection. - Show EMA 4 (
showEma4): Controls the calculation period and sensitivity for market detection. - EMA 4 Length (
ema4Len): Controls the calculation period and sensitivity for market detection. - Show EMA 5 (
showEma5): Controls the calculation period and sensitivity for market detection. - EMA 5 Length (
ema5Len): Controls the calculation period and sensitivity for market detection. - Show EMA 6 (
showEma6): Controls the calculation period and sensitivity for market detection. - EMA 6 Length (
ema6Len): Controls the calculation period and sensitivity for market detection. - Show EMA 7 (
showEma7): Controls the calculation period and sensitivity for market detection. - EMA 7 Length (
ema7Len): Controls the calculation period and sensitivity for market detection. - Show Labels (
showLabels): Controls the calculation period and sensitivity for market detection. - Show Daily Open (
showDailyOpen): Controls the calculation period and sensitivity for market detection. - Show Cloud (
showCloud): Controls the calculation period and sensitivity for market detection. - Show PVSRA Colors (
showPVSRA): Controls the calculation period and sensitivity for market detection. - Hide Data (
hideData): Controls the calculation period and sensitivity for market detection. - EMA 1 (
ema1): Controls the calculation period and sensitivity for market detection. - EMA 2 (
ema2): Controls the calculation period and sensitivity for market detection. - EMA 3 (
ema3): Controls the calculation period and sensitivity for market detection. - EMA 4 (
ema4): Controls the calculation period and sensitivity for market detection. - EMA 5 (
ema5): Controls the calculation period and sensitivity for market detection. - EMA 6 (
ema6): Controls the calculation period and sensitivity for market detection. - EMA 7 (
ema7): Controls the calculation period and sensitivity for market detection. - Daily Open (
dailyOpen): Controls the calculation period and sensitivity for market detection. - Cloud Upper (
cloudUp): Controls the calculation period and sensitivity for market detection. - Cloud Lower (
cloudDn): Controls the calculation period and sensitivity for market detection. - Cloud Fill (
cloudFill): Controls the calculation period and sensitivity for market detection. - Green Vector (
greenVector): Controls the calculation period and sensitivity for market detection. - Red Vector (
redVector): Controls the calculation period and sensitivity for market detection. - Blue Vector (
blueVector): Controls the calculation period and sensitivity for market detection. - Violet Vector (
violetVector): Controls the calculation period and sensitivity for market detection. - EMA 50x200 Up (
ema50_200_up): Controls the calculation period and sensitivity for market detection. - EMA 50x200 Down (
ema50_200_down): Controls the calculation period and sensitivity for market detection. - EMA 200x800 Up (
ema200_800_up): Controls the calculation period and sensitivity for market detection. - EMA 200x800 Down (
ema200_800_down): Controls the calculation period and sensitivity for market detection. - EMA 5 < 13 Count (
ema5_below_13_count): Controls the calculation period and sensitivity for market detection. - EMA 13 < 5 Count (
ema13_below_5_count): Controls the calculation period and sensitivity for market detection. - EMA 5-50 Dist in Clouds (
ema5_ema50_dist_cloud_ratio): Controls the calculation period and sensitivity for market detection. - EMA 50-200 Dist in Clouds (
ema50_ema200_dist_cloud_ratio): Controls the calculation period and sensitivity for market detection. - EMA 50-800 Dist in Clouds (
ema50_ema800_dist_cloud_ratio): Controls the calculation period and sensitivity for market detection. - Cloud Thickness % (
cloud_range_pct): Controls the calculation period and sensitivity for market detection. - EMA 5-50 Dist % (
ema5_ema50_dist_pct): Controls the calculation period and sensitivity for market detection. - EMA 1 (
ema1): Controls the calculation period and sensitivity for market detection. - EMA 2 (
ema2): Controls the calculation period and sensitivity for market detection. - EMA 3 (
ema3): Controls the calculation period and sensitivity for market detection. - EMA 4 (
ema4): Controls the calculation period and sensitivity for market detection. - EMA 5 (
ema5): Controls the calculation period and sensitivity for market detection. - EMA 6 (
ema6): Controls the calculation period and sensitivity for market detection. - EMA 7 (
ema7): Controls the calculation period and sensitivity for market detection. - Cloud Upper (
cloudUp): Controls the calculation period and sensitivity for market detection. - Cloud Lower (
cloudDn): Controls the calculation period and sensitivity for market detection. - Daily Open (
dailyOpen): Controls the calculation period and sensitivity for market detection. - Green Vector (Climax Bull) (
greenVector): Controls the calculation period and sensitivity for market detection. - Red Vector (Climax Bear) (
redVector): Controls the calculation period and sensitivity for market detection. - Blue Vector (Rising Bull) (
blueVector): Controls the calculation period and sensitivity for market detection. - Violet Vector (Rising Bear) (
violetVector): Controls the calculation period and sensitivity for market detection. - EMA 50x200 Bull Cross (
ema50_200_up): Controls the calculation period and sensitivity for market detection. - EMA 50x200 Bear Cross (
ema50_200_down): Controls the calculation period and sensitivity for market detection. - EMA 200x800 Bull Cross (
ema200_800_up): Controls the calculation period and sensitivity for market detection. - EMA 200x800 Bear Cross (
ema200_800_down): Controls the calculation period and sensitivity for market detection. - EMA 5 < 13 Candle Count (
ema5_below_13_count): Controls the calculation period and sensitivity for market detection. - EMA 13 < 5 Candle Count (
ema13_below_5_count): Controls the calculation period and sensitivity for market detection. - EMA 5-50 Dist in Clouds (
ema5_ema50_dist_cloud_ratio): Controls the calculation period and sensitivity for market detection. - EMA 50-200 Dist in Clouds (
ema50_ema200_dist_cloud_ratio): Controls the calculation period and sensitivity for market detection. - EMA 50-800 Dist in Clouds (
ema50_ema800_dist_cloud_ratio): Controls the calculation period and sensitivity for market detection. - Cloud Thickness % (
cloud_range_pct): Controls the calculation period and sensitivity for market detection. - EMA 5-50 Dist % (
ema5_ema50_dist_pct): Controls the calculation period and sensitivity for market detection.
How to use Strategy Parameters (Condition Source)
Within the Strategy Tester module, this indicator can be used both as a direct signal source and as a market-state filter.
1. Signal Events
greenVector- Green Vector event signal.redVector- Red Vector event signal.blueVector- Blue Vector event signal.violetVector- Violet Vector event signal.ema50_200_up- EMA 50x200 Up event signal.ema50_200_down- EMA 50x200 Down event signal.ema200_800_up- EMA 200x800 Up event signal.ema200_800_down- EMA 200x800 Down event signal.greenVector- Green Vector (Climax Bull) event signal.redVector- Red Vector (Climax Bear) event signal.blueVector- Blue Vector (Rising Bull) event signal.violetVector- Violet Vector (Rising Bear) event signal.ema50_200_up- EMA 50x200 Bull Cross event signal.ema50_200_down- EMA 50x200 Bear Cross event signal.ema200_800_up- EMA 200x800 Bull Cross event signal.ema200_800_down- EMA 200x800 Bear Cross event signal.
2. Filters and Trade Levels
showEma1- Show EMA 1 value used for structural qualification or thresholds.ema1Len- EMA 1 Length value used for structural qualification or thresholds.showEma2- Show EMA 2 value used for structural qualification or thresholds.ema2Len- EMA 2 Length value used for structural qualification or thresholds.showEma3- Show EMA 3 value used for structural qualification or thresholds.ema3Len- EMA 3 Length value used for structural qualification or thresholds.showEma4- Show EMA 4 value used for structural qualification or thresholds.ema4Len- EMA 4 Length value used for structural qualification or thresholds.showEma5- Show EMA 5 value used for structural qualification or thresholds.ema5Len- EMA 5 Length value used for structural qualification or thresholds.showEma6- Show EMA 6 value used for structural qualification or thresholds.ema6Len- EMA 6 Length value used for structural qualification or thresholds.showEma7- Show EMA 7 value used for structural qualification or thresholds.ema7Len- EMA 7 Length value used for structural qualification or thresholds.showLabels- Show Labels value used for structural qualification or thresholds.showDailyOpen- Show Daily Open value used for structural qualification or thresholds.showCloud- Show Cloud value used for structural qualification or thresholds.showPVSRA- Show PVSRA Colors value used for structural qualification or thresholds.hideData- Hide Data value used for structural qualification or thresholds.ema1- EMA 1 value used for structural qualification or thresholds.ema2- EMA 2 value used for structural qualification or thresholds.ema3- EMA 3 value used for structural qualification or thresholds.ema4- EMA 4 value used for structural qualification or thresholds.ema5- EMA 5 value used for structural qualification or thresholds.ema6- EMA 6 value used for structural qualification or thresholds.ema7- EMA 7 value used for structural qualification or thresholds.dailyOpen- Daily Open value used for structural qualification or thresholds.cloudUp- Cloud Upper value used for structural qualification or thresholds.cloudDn- Cloud Lower value used for structural qualification or thresholds.cloudFill- Cloud Fill value used for structural qualification or thresholds.ema5_below_13_count- EMA 5 < 13 Count value used for structural qualification or thresholds.ema13_below_5_count- EMA 13 < 5 Count value used for structural qualification or thresholds.ema5_ema50_dist_cloud_ratio- EMA 5-50 Dist in Clouds value used for structural qualification or thresholds.ema50_ema200_dist_cloud_ratio- EMA 50-200 Dist in Clouds value used for structural qualification or thresholds.ema50_ema800_dist_cloud_ratio- EMA 50-800 Dist in Clouds value used for structural qualification or thresholds.cloud_range_pct- Cloud Thickness % value used for structural qualification or thresholds.ema5_ema50_dist_pct- EMA 5-50 Dist % value used for structural qualification or thresholds.ema1- EMA 1 value used for structural qualification or thresholds.ema2- EMA 2 value used for structural qualification or thresholds.ema3- EMA 3 value used for structural qualification or thresholds.ema4- EMA 4 value used for structural qualification or thresholds.ema5- EMA 5 value used for structural qualification or thresholds.ema6- EMA 6 value used for structural qualification or thresholds.ema7- EMA 7 value used for structural qualification or thresholds.cloudUp- Cloud Upper value used for structural qualification or thresholds.cloudDn- Cloud Lower value used for structural qualification or thresholds.dailyOpen- Daily Open value used for structural qualification or thresholds.ema5_below_13_count- EMA 5 < 13 Candle Count value used for structural qualification or thresholds.ema13_below_5_count- EMA 13 < 5 Candle Count value used for structural qualification or thresholds.ema5_ema50_dist_cloud_ratio- EMA 5-50 Dist in Clouds value used for structural qualification or thresholds.ema50_ema200_dist_cloud_ratio- EMA 50-200 Dist in Clouds value used for structural qualification or thresholds.ema50_ema800_dist_cloud_ratio- EMA 50-800 Dist in Clouds value used for structural qualification or thresholds.cloud_range_pct- Cloud Thickness % value used for structural qualification or thresholds.ema5_ema50_dist_pct- EMA 5-50 Dist % value used for structural qualification or thresholds.
Strategy Example: Enter Long when buySignal is true and trendFilter == 1, ensuring trades align with dominant momentum.