LANZ Strategy 6.0 [Backtest] by rau_u_lanz
By rau_u_lanz
Performance Metrics
- Author: rau_u_lanz
- Symbol: PEPPERSTONE:US500
- Timeframe: 1 hour
- Net P&L: +10.02 USD (+0.00%)
- Win Rate: 38.2%
- Profit Factor: 1.314
- Max Drawdown: 3.62 USD (0.00%)
- Total Trades: 293
- Sharpe Ratio: −1,905.726
Description
Jul 21🔷 LANZ Strategy 6.0 [Backtest] — Precision Backtesting Based on 09:00 NY Candle, Dynamic SL/TP, and Lot Size per TradeLANZ Strategy 6.0 [Backtest] is the simulation version of the original LANZ 6.0 indicator. It executes a single LIMIT BUY order per day based on the 09:00 a.m. New York candle, using dynamic Stop Loss and Take Profit levels derived from the candle range. Position sizing is calculated automatically using capital, risk percentage, and pip value — allowing accurate trade simulation and performance tracking.📌 This is a strategy script — It simulates real trades using strategy.entry() and strategy.exit() with full money management for risk-based backtesting.🧠 Core Logic & Trade Conditions🔹 BUY Signal Trigger:At 09:00 a.m. NY (New York time), if:The current candle is bullish (close > open)→ A BUY order is placed at the candle’s close price (EP)Only one signal is evaluated per day.⚙️ Stop Loss / Take Profit LogicSL can be:Wick low (0%)Or dynamically calculated using a % of the full candle rangeTP is calculated using the user-defined Risk/Reward ratio (e.g., 1:4)The TP and SL levels are passed to strategy.exit() for each trade simulation.💰 Risk Management & Lot Size CalculationBefore placing the trade:The system calculates pip distance from EP to SLComputes the lot size based on:Account capitalRisk % per tradePip value (auto or manual)This ensures every trade uses consistent, scalable risk regardless of instrument.🕒 Manual Close at 3:00 p.m. NYIf the trade is still open by 15:00 NY time, it will be closed using strategy.close().The final result is the actual % gain/loss based on how far price moved relative to SL.📊 Backtest AccuracyOne trade per dayLIMIT order at the candle closeSL and TP pre-defined at executionNo repaintingSession-restricted (only runs on 1H timeframe)✅ Ideal For:Traders who want to backtest a clean and simple daily entry systemStrategy developers seeking reproducible, high-conviction tradesUsers who prefer non-repainting, session-based simulations👨💻 Credits:💡 Developed by: LANZ🧠 Logic & Money Management Engine: LANZ📈 Designed for: 1H charts🧪 Purpose: Accurate simulation of LANZ 6.0's NY Candle Entry systemRelease Notes🎁 - UpdateIn the latest LANZ Strategy 6.0 [Backtest] update, default parameters have been adjusted for better calibration, and SELL entries are now available as an optional feature. This allows full backtesting of both directions, giving you greater flexibility in evaluating performance.