R:R Trading System Framework

Aug 17, 2022

Static chart image
Signals
Dashboard
Money Management
Trailing-Stop

The R:R Trading System Framework indicator provides a comprehensive collection of concepts and tools designed to help traders visualize risk-to-reward dynamics, backtest retail strategies, and manage active positions. This tool acts as a modular system for showcasing backtesting results, trade visual plotting, and market condition shifts within a unified framework.

Usage

The Usage section describes how the script can be used to analyze and execute trades based on predefined or custom strategies.

  • Strategy Comparison: Users can select two different strategies (e.g., Stochastic and MA Cross) to run simultaneously. This allows for the development of hedging strategies or the management of multiple concurrent risks without needing separate, uncorrelated indicators.
  • Trade Visualization: The script plots "Brighter Boxes" for active trades and "Lighter Boxes" to highlight the maximum and minimum price excursions during a trade. This helps in identifying where stop losses or take profit levels could have been optimized.
  • Trailing Stops: A dynamic trailing stop becomes active only once price moves beyond the entry point. It is visually represented by a brightening line that takes over the initial stop loss level once triggered.
  • Real-time Tracking: The Trade Tracking Table (TTT) uses dynamic coloring to compare the current trade duration against backtested averages, indicating if a trade is reaching key levels "early," "on-time," or "late."

Details

The framework is constructed to prioritize Risk:Reward (R:R) over simple entry signals. It incorporates several core retail trading components:

  • Dynamic Stop/TP Management: Stop losses are defined by a percentage of price, while Take Profit levels are calculated as multiples of that risk (e.g., TP2 is 2x the stop distance).
  • Visual Order: For optimal use, it is recommended to bring the script to the front (Visual order > Bring to front) and use hollow candles to maintain clarity.
  • Condition Logic: The framework includes built-in strategies like MACD, Bollinger Bands, and Supertrend. These serve as placeholders that can be replaced with custom entry and exit logic by modifying the appropriate sections of the script.
  • Market State Visuals: Labels on the chart display specific price triggers on hover, while checkmarks (☑️) appear in the tracking table once specific price targets are reached.

Settings

Backtesting & Strategy Selection

  • A) / B): Select which two strategies to display and compare on the chart.
  • Active: Toggles the visibility and calculation of specific strategy sets.

Table Configurations

  • Trade Tracking Table (TTT) Settings: Controls the activation, text size, and screen position (X/Y) for the trade monitoring table.
  • Risk:Reward Table (RRT) Settings: Controls the activation and positioning of the summary table displaying R:R statistics.

Strategy Parameters (0-9)

  • Stop %: The percentage distance from the entry price used to set the initial stop loss and calculate trailing stops.
  • TP 1 - 4: The Risk:Reward multiplier for four different take-profit targets (e.g., a value of 2.0 sets the target at twice the risk distance).

FAQ

How do I modify the entry signals? Users can navigate to the "Bullish/Bearish" trigger sections in the code to plug in custom conditions. The framework is designed to handle the management logic once the signal is provided.

Why are there no alerts included? As a framework designed for heavy customization, alerts were omitted to allow users to implement their own specific alert triggers that match their unique naming conventions and execution requirements.

How can I access the R:R Trading System Framework? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free access on the following platforms
tradingviewSymbolTradingView
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

ninjatraderNinjaTrader
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

metatrader4MetaTrader 4/5
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

thinkorswimThinkorswim
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.

Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2026 LuxAlgo Global, LLC.