PROTECTED SOURCE SCRIPT
FluxMA Pro

FluxMA Pro
FluxMA Pro is an intraday trend-following strategy based on moving-average cross signals, with built-in execution filters (time window + weekdays), direction control, and an optional strict one-trade-per-day rule.
The system enters when price crosses the selected moving average, and manages risk using fixed SL/TP in ticks. For clarity and auditing, it plots the MA and draws risk (SL) / reward (TP) zones on the chart.
This script is published for educational and research purposes, with documented mechanics and replication settings to support transparency and reproducibility.

How the strategy works
Visual features

Settings used for the published backtest (replication)
The performance screenshots included with this publication were generated using the following configuration:
Market & chart
Inputs (Strategy settings)
TradingView Strategy Properties used
Backtest snapshot (as shown)
Backtest context and limitations
Originality and usefulness
While MA-cross strategies are a known concept, FluxMA Pro focuses on an execution-grade implementation designed for testing and disciplined deployment:
FluxMA Pro is an intraday trend-following strategy based on moving-average cross signals, with built-in execution filters (time window + weekdays), direction control, and an optional strict one-trade-per-day rule.
The system enters when price crosses the selected moving average, and manages risk using fixed SL/TP in ticks. For clarity and auditing, it plots the MA and draws risk (SL) / reward (TP) zones on the chart.
This script is published for educational and research purposes, with documented mechanics and replication settings to support transparency and reproducibility.
How the strategy works
- Signal engine (MA cross)A base Moving Average (MA) is computed from a selectable price source.
A Long signal triggers when price crosses above the MA.
A Short signal triggers when price crosses below the MA.
- Execution filtersTime filter: trades only inside the configured window (supports overnight windows correctly).
Weekday filter: enable/disable trading by day (Mon–Sun).
Direction filter: run Long only, Short only, or Both.
One trade per day (optional): if enabled, once a trade is placed, no new trades are allowed until the next daily reset.
- Risk management (ticks)Stop-loss and take-profit are set using fixed distances in ticks from entry.
Orders are placed with a stop and a limit exit to keep execution auditable.
- Visual audit layer
- Plots the Moving Average on the chart.
- Draws SL/TP zones as boxes that extend while the position is open.
- Adds entry labels (“buy” / “sell”) for quick review in replays and optimizations.
- Plots the Moving Average on the chart.
Visual features
- MA plot with selectable MA type (SMA/EMA/WMA/RMA) and length.
- Risk/Reward boxes projected from entry (SL zone + TP zone).
- Entry labels with configurable styling (label/flag) and colors.
Settings used for the published backtest (replication)
The performance screenshots included with this publication were generated using the following configuration:
Market & chart
- Symbol: XAUUSD (FXCM feed)
- Timeframe: 15 minutes
- Date range: 02 Jan 2025 → 07 Nov 2025
Inputs (Strategy settings)
- Source: Close
- MA type: SMA
- MA length: 10
- Stop Loss: 1400 ticks
- Take Profit: 2000 ticks
- Time filter: enabled — 06:00 to 22:15 (exchange time)
- Weekday filter: enabled — Monday to Sunday enabled
- Direction: Long only
- One trade per day: enabled
TradingView Strategy Properties used
- Initial capital: 1,000 USD
- Commission: 0.2 (as set in Strategy Properties)
- Slippage: 1 tick
Backtest snapshot (as shown)
- Net Profit: +727.41 USD (+72.74%)
- Max Drawdown: 200.25 USD (12.71%)
- Total Trades: 218
- Win Rate: 52.29% (114 / 218)
- Profit Factor: 1.485
Backtest context and limitations
- Stop/limit fills may occur intrabar depending on TradingView’s execution model and bar magnifier assumptions.
- Results vary by symbol, timeframe, broker feed, spreads, commissions, slippage, and session selection.
- Past performance does not guarantee future results.
- This script is not financial advice.
Originality and usefulness
While MA-cross strategies are a known concept, FluxMA Pro focuses on an execution-grade implementation designed for testing and disciplined deployment:
- Execution guardrails: optional one-trade-per-day lock + direction filter to prevent over-trading and strategy drift.
- Session handling done properly: time windows support overnight logic (no “broken window” edge cases).
- MA modularity: SMA/EMA/WMA/RMA selection enables controlled experiments without rewriting logic.
- Auditable visuals: SL/TP zones and labels allow fast review of behavior during replays, optimization, and multi-asset scans.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, ücretsiz ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgiyi buradan edinebilirsiniz.
Get access to our exclusive tools: popeyacademy.com
Join our 4k+ community: t.me/popeyacademy
All content provided by PoPey Group is for informational & educational purposes only. Past performance does not guarantee future results.
Join our 4k+ community: t.me/popeyacademy
All content provided by PoPey Group is for informational & educational purposes only. Past performance does not guarantee future results.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, ücretsiz ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgiyi buradan edinebilirsiniz.
Get access to our exclusive tools: popeyacademy.com
Join our 4k+ community: t.me/popeyacademy
All content provided by PoPey Group is for informational & educational purposes only. Past performance does not guarantee future results.
Join our 4k+ community: t.me/popeyacademy
All content provided by PoPey Group is for informational & educational purposes only. Past performance does not guarantee future results.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.