Skip to main content
Strategy Suitev3.0

AIMS Algo Strategy

Institutional TradingView Pine Script v6 Strategy delivering algorithmic market structure mapping, automated order flow execution, and multi-year Strategy Tester backtesting.

Strategy Tester multi-year backtest report and equity curve — TradingView
AIMS Algo Strategy Tester multi-year backtest report and equity curve
Type
Strategy
Category
Automated Strategies & Backtesting
Platforms
TradingView, MT5, MT4
Language
Pine v6, MQL5, MQL4
Repaints
No — closed bar
TradingView StrategyStrategy TesterMarket StructureOrder Flow ExecutionBacktesting Engine

What AIMS Algo does

Unlike a visual indicator that only plots lines or arrows, AIMS Algo is a true TradingView Strategy (strategy() declaration in Pine Script v6). It simulates realistic order entries, stop-losses, and profit targets within the TradingView Strategy Tester panel, providing full historical backtest reports with equity curves, profit factors, and maximum drawdowns.

Market Structure Mapping

Continuously maps structural pivot highs and lows to anchor continuation legs and order brackets automatically.

Strategy Tester Telemetry

Generates instant quantitative backtest performance metrics, equity curves, drawdown statistics, and trade lists.

Automated Alert Webhooks

Outputs pre-formatted JSON webhook alerts to trigger automated live order routing via PineConnector or execution APIs.

How to trade AIMS Algo

  1. Configure Strategy Parameters

    Set your target risk percentage per trade (e.g. 1.0%), session liquidity window, and profit target multipliers.

  2. Run Strategy Tester Backtest

    Attach the script to your chart and inspect the Strategy Tester panel to evaluate historical expectancy over 5–10 years.

  3. Validate Drawdown & Profit Factor

    Ensure Profit Factor exceeds 1.6 and Max Drawdown remains within portfolio risk tolerance under slippage and fees.

  4. Connect Webhook Automation

    Configure automated TradingView webhook alert payloads to dispatch orders to broker terminals on confirmed candle closes.

Prompts, not trade instructions. A SETUP READY prompt tells you to review the structure on a closed candle. It is never a command to enter blindly.

Setups and chart grammar

AIMS Algo Strategy generates deterministic entries with calculated risk-to-reward boundaries.

SetupContextWhat the indicator seesGoal
Algorithmic Long ContinuationTrend expansion after consolidationBullish order flow breakout confirming higher structural pivot closeEnter long with stop anchored behind recent swing low, targeting TP1 (1.5R) and TP2 (2.5R)
Algorithmic Short ContinuationDownside expansion after consolidationBearish order flow breakout confirming lower structural pivot closeEnter short with stop anchored behind recent swing high, targeting TP1 (1.5R) and TP2 (2.5R)
Target Zone De-RiskingTP1 achievementPrice penetrating 1.5x Risk target zoneBank partial profits, move stop loss to breakeven, and trail remaining contract
LONG ARMED

Structure pivot confirmed with upward order flow expansion.

SHORT ARMED

Structure pivot confirmed with downward order flow expansion.

TARGET 1

1.5x Risk conservative target reached — stop moved to breakeven.

SESSION CLOSED

Trading halted outside configured London/NY liquidity windows.

The Strategy Tester Quantitative Invariant

Mathematical performance benchmark requirements for live deployment.

Profit Factor >= 1.6  AND  Max Drawdown < 15%
Closed Trades >= 200 across >= 24 months historical tick simulation
TradingView Strategy Tester — Multi-year equity curve and performance report.
TradingView Strategy Tester — Multi-year equity curve and performance report.

Settings

InputTypeDefaultWhat it does
Signal EngineStringAIMS Algo LogicUnderlying structural setup detection algorithm.
Allow Buys / SellsBooleantrue / trueToggle long or short candidates independently.
Risk MethodString% of EquityFixed percentage risk per trade or fixed contract size.
Enable Session GateBooleantrueRestricts new trade entries to specified active market hours.
TP1 MultiplierFloat1.5Conservative multiplier of risk for partial profit taking.
TP2 MultiplierFloat2.5Runner multiplier of risk for extended trend captures.
Move to Break-EvenBooleantrueAutomatically moves stop loss to entry after TP1 is achieved.

Use it in your EA

On MetaTrader you can read the levels and setup state from an Expert Advisor with iCustom().

// TradingView Pine Script v6 Strategy order declaration
strategy("AIMS Algo Strategy", overlay=true, margin_long=100, margin_short=100)
if (buyCondition and barstate.isconfirmed)
    strategy.entry("Long", strategy.long)
    strategy.exit("TP1/SL", "Long", qty_percent=50, limit=tp1Price, stop=slPrice)
BufferNameValue
0Long Entry PricePrice level where long strategy order is executed
1Short Entry PricePrice level where short strategy order is executed
2Stop Loss LevelCalculated structural stop loss boundary price
3Take Profit LevelCalculated target exit price level

Frequently asked questions

Unlike a visual indicator that only plots lines or arrows, AIMS Algo is a true TradingView Strategy (strategy() declaration in Pine Script v6). It simulates realistic order entries, stop-losses, and profit targets within the TradingView Strategy Tester panel, providing full historical backtest reports with equity curves, profit factors, and maximum drawdowns.

All indicators →

Validate your edge with systematic strategy backtesting.

AIMS Algo Strategy is available on TradingView, MT5, and MT4 for iTradeAIMS members.