[Autoview][Alerts] Blank R0.13B
Jun 9, 2018

The [Autoview][Alerts] Blank R0.13B tool provides a modular framework for developing and deploying automated trading strategies and alerts. It functions as a flexible template, allowing users to integrate custom logic while utilizing built-in features for risk management, backtesting, and multi-asset compatibility.
Usage
The indicator is designed to be a "blank canvas" for Pine Script developers. By replacing the placeholder crossover logic with custom technical indicators, users can quickly generate entry and exit signals.
The script supports several operational modes:
- Long/Short Filtering: Independently enable or disable long and short trade directions.
- Inversion: A dedicated "Flip/Invert Strategy" setting allows users to swap trade directions instantly without modifying the underlying code.
- Risk Management: Integrated Trailing Stop (TS), Take Profit (TP), and Stop Loss (SL) parameters can be toggled to automatically manage open positions based on percentage-based triggers.
- Visual Feedback: The "Colour Candles" option updates bar colors based on the current trade state (Long, Short, or Neutral), providing immediate visual confirmation of the strategy's status.
Details
This tool is a refactored version of the Dual MA Ribbons framework, optimized specifically for alert-based automation. It establishes dedicated functions for long/short signals and closes, minimizing the number of code edits required to update an algorithm.
The script includes advanced candle support for Renko and Heikin-Ashi charts. When using Heikin-Ashi, it is important to note that backtest results may differ from real-time execution due to how TradingView processes synthetic price data. Furthermore, an "Alternate TimeFrame Multiplier" allows the strategy to derive signals from higher timeframes while executing on the current chart.
Settings
Strategy Configuration
- This a RENKO Chart?: Adjusts calculation logic to account for Renko box behavior.
- Use Heikin-Ashi Candles?: Switches price source to Heikin-Ashi (note: impacts backtest reliability).
- Alternate TimeFrame Multiplier: Multiplies the current timeframe to anchor calculations to a higher period (0 = current timeframe).
- Price: Selects the price source (Close, High, Low) for signal calculations.
Trade Rules
- Allow Longs / Allow Shorts: Toggles the ability to enter specific trade directions.
- Flip/Invert Strategy: Reverses the signal logic (Long becomes Short and vice versa).
- Colour Candles to Trade Order state: Enables bar coloring based on the active trade direction.
Backtest & Alerts
- Limit Alerts to Test Period: Restricts alert triggers to the defined start/stop dates.
- Auto set backtest Start: Automatically determines the starting point for backtesting based on available historical data.
- Backtest Start/Stop Date: Manual inputs to define the specific window for strategy evaluation.
Risk Management
- Trailing Stop (%): Sets the percentage for a dynamic trailing stop.
- Take Profit (%): Sets the target percentage for taking profit.
- Trailing Profit (%): Defines a trailing offset once the Take Profit target is met.
- Stop Loss (%): Sets a fixed percentage stop loss from the entry price.
FAQ
- How do I access [Autoview][Alerts] Blank R0.13B? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
- Can I use this for automated trading? Yes, the script is specifically structured with "strategyEntry" and "strategyClose" functions to facilitate integration with external automation tools like Autoview.
- Why are my backtest results different on Heikin-Ashi charts? Heikin-Ashi charts use averaged price data which may not represent actual tradable prices, leading to discrepancies between simulated and live performance.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.