Skip to content
All library documents

Monitoring Prop Trading Challenge Rules with a Strategy Template

Article TradingView scripts

Summary

This Pine Script template tracks simulated performance against configurable prop trading challenge constraints. It sets account-size-specific thresholds for daily and total losses and profit targets, counts trading days, and presents pass or fail status in a chart table. A completion alert and position closure are triggered when the coded targets and limits are satisfied.

The entry logic is deliberately generic: an external signal connector supplies long or short values, while ATR-based stop and target distances define exits. The accompanying text says the connected indicator is only a dummy example and that the strategy results are not meaningful evidence. The implementation can help explore how a signal behaves against modeled rules on one asset, but the code’s day-count and drawdown calculations, broker execution, and actual challenge conditions may differ from the prop firm's rules. It is a monitoring template, not evidence that a strategy will pass.

Key ideas

  • The template compares simulated daily drawdown, peak-to-trough drawdown, net profit, and trading-day counts with configured challenge thresholds.
  • Account size selects the coded loss limits and profit target.
  • An external connector supplies trade direction, while ATR determines stop distance and a fixed multiple sets the profit target.
  • The displayed challenge completion state depends on the script’s internal tracking and assumptions.
  • The author explicitly says the attached example signal and its strategy results are not meaningful performance evidence.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.