INVITE-ONLY SCRIPT

TrEx Lite [ETPINVEST]

59
TrEx Lite is a technical indicator for basic market structure analysis. Automatically identifies extremes with trend lines, builds support/resistance levels and includes Golden/Death Cross trading strategy with additional exit points.

🔶 MAIN FUNCTIONS
The indicator provides basic structural analysis:
  • Automatic identification of extremes
  • Building trend lines through extremes
  • Automatic support and resistance levels
  • Golden Cross trading strategy (EMA 50 crosses EMA 200 from below)
  • Death Cross strategy (EMA 50 crosses EMA 200 from above)
  • Additional exit points based on EMA narrowing and RSI filtering
  • System of 4 basic alerts for key events

snapshot

🔶 STRUCTURAL ELEMENTS
  • Automatic connection of extremes with trend lines
  • Significance filtering to exclude noise
  • Basic levels from extremes with touch
  • Built-in clustering of nearby levels to reduce noise
  • Color differentiation: green (support) and red (resistance)
  • Line thickness adjustment

snapshot

🔶 TRADING STRATEGY
Golden/Death Cross system:
  • Golden Cross - EMA 50 crosses EMA 200 from below (bullish signal)
  • Death Cross - EMA 50 crosses EMA 200 from above (bearish signal)
  • Position tracking with automatic state management
  • Entry points marked with triangles on the chart

Additional exit points:
  • Narrowing distance between EMAs after position entry
  • RSI filtering against trend (crossing center line 50)
  • Reverse EMA crossing as main exit signal
  • Minimum 5 candles in position to filter false exits

snapshot

🔶 SETTINGS
Trend line and levels:
  • Enable/disable trend line display
  • Trend line color and thickness (1-5 pixels)
  • Enable/disable levels display
  • Support and resistance colors
  • Level line thickness

Trading strategy:
  • Enable/disable Golden/Death Cross strategy
  • Show additional exit points
  • Automatic position tracking

Alert system (4 types):
  • Support/resistance level touch
  • Level breakout with close beyond
  • Golden Cross (bullish signal)
  • Death Cross (bearish signal)


🔶 TECHNICAL SPECIFICATIONS
  • Extremes algorithm: Complex algorithm with fixed parameters combining 2-3 candles
  • Clustering: ATR-based merging of nearby levels
  • Trading logic: EMA crossovers with RSI confirmation
  • Performance: Optimized for stable operation on all timeframes
  • Compatibility: All TradingView markets and timeframes
  • Requirements: Minimum 100 bars of history


🔶 LIMITATIONS
  • Fixed analysis parameters (depth 100 bars)


🔶 DISCLAIMER
TrEx Lite provides basic technical information for market structure analysis. Not investment advice. Trading strategy requires additional analysis and risk management.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.