Skip to content
Algo Trade Analytics Docs

Advanced Strategies

Advanced technical guides for professional TradingView integration.

Multi-Timeframe (MTF) Logic Basic & Pro

Section titled “Multi-Timeframe (MTF) Logic ”

Reconciling MTF strategies requires precise timestamp metadata to identify logical signals across different bar scales.

  • Tip: Always include the higher-timeframe ticker and resolution in your metadata field (e.g., "timeframe": "240") to help the AI reconcile which data feed triggered the signal.

Complex Order Types Basic & Pro

Section titled “Complex Order Types ”

The system supports sophisticated order reconciliation beyond market entries:

Audit the variance between your stop-trigger and your actual limit fill.

  • Fields: Include both stopPrice and limitPrice in your JSON alert signal.
  • Example: {"orderType":"stop_limit","stopPrice":200.00,"limitPrice":200.50,"marketPrice":199.50}

Track the performance of dynamic stop adjustments.

  • Fields: Include trailPercent for percentage-based trailing stops.
  • Example: {"orderType":"trailing_stop","trailPercent":2.0,"marketPrice":150.00}

Strategy Optimization Loop Basic & Pro

Section titled “Strategy Optimization Loop ”

To optimize execution performance, use the Pine Script AI Editor to iterate on these complex configurations. Feed the editor your Alerts vs Fills reports to automatically adjust your limit offsets and stop-loss logic based on actual execution data.