Strategy Lab
Which trades does an EMA guardian filter out?
NZD/USD 1 hour
Simulated sampleTest settings
Use my hourly CSV
Choose completed NZDUSD hourly candles with time, open, high, low and close. Use Unix time or an ISO timestamp with a time zone. Your prices stay in this tab.
Run comparison
| Strategy | Closed trades | Net P&L | Max drawdown¹ |
|---|
Trade journal
Choose an entry to see its signal and fill on the chart.
| Signal time (UTC) | Side | Entry price | Exit price | Net P&L |
|---|
How the simulation works
An upward turn in the trigger EMA signals long. A downward turn signals short. The guardian permits an entry when its most recent slope points the same way. Signals use completed candles. At the following open an opposite signal closes the position, even if the guardian blocks the new entry.
Each trade uses 1,000 NZD. Costs are in pips (0.0001 USD per NZD), split across entry and exit. Any remaining position closes at the final test candle’s close. ¹Drawdown is measured from peak equity at hourly closes, including open P&L and charged costs. Indicators start at the first loaded close and use available history before the selected window.
The sample contains generated prices. Imported results use the prices in your file. This experiment models bar-close decisions and excludes intrabar fills, financing, margin and compounding.
TradingView Lightweight Charts™ v5.0.9. Copyright © 2025 TradingView, Inc. Apache 2.0 license.