EA-15186 · Trend Following

Exp_ASCtrend

This EA trades based on the ASCtrend custom indicator signals, opening buy positions on up signals and sell positions on down signals. It supports configurable money management modes, stop loss/take profit, and optional position closing on opposite signals. The strategy processes signals on new bars and includes a historical scan for close signals when both open and close permissions are enabled.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesM15, H1, H4, D1
IndicatorsASCtrend
Author—

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Not convertible yet
GBPUSD0.00%0.00%0.00%0—————Not convertible yet
USDJPY0.00%0.00%0.00%0—————Not convertible yet
XAUUSD0.00%0.00%0.00%0—————Not convertible yet

Why this EA never traded: no entry rule survived the conversion.

Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.

Blow-up risk: No blow-up pattern found

None of the usual blow-up patterns were found in the code, and the account was not stopped out in our backtests. That is not a guarantee: any EA can lose money.

High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →

Strategy analysis

This EA uses the ASCtrend indicator as its core signal source, which calculates trend direction based on the RISK parameter and generates up/down signals at key turning points. Entry conditions: a buy position is opened when the ASCtrend indicator's up signal buffer (buffer 1) produces a non-zero, non-EMPTY_VALUE on the specified signal bar, and a sell position is opened when the down signal buffer (buffer 0) produces a valid value. Exit conditions include hardcoded stop loss and take profit parameters, plus optional opposite-signal closing where the EA scans historical bars for reverse signals when both open and close permissions are enabled. Position sizing is controlled by the MM parameter which sets the trading volume ratio, supporting five money management modes: free margin percentage, balance percentage, loss-adjusted free margin, loss-adjusted balance, and fixed lot size. The EA uses an IsNewBar mechanism to ensure signals are processed only once per bar, preventing duplicate entries, and employs a Recount flag to retry on data fetch failures. Signal timestamps are recorded for trade execution timing reference.

Strengths

  • Uses IsNewBar mechanism to ensure signals are processed only once per bar, preventing duplicate entries
  • Provides five money management modes for flexible risk preference adaptation
  • Supports independent control of open and close directions for flexible long/short strategy combinations
  • Stop loss and take profit parameters are complete with a basic risk control framework
  • Recount mechanism automatically retries on data fetch failures, enhancing robustness

Weaknesses

  • Depends on the external custom ASCtrend indicator with opaque logic, making signal quality hard to verify
  • The historical bar scanning loop for close signals has no upper bound protection, potentially causing performance issues
  • No spread filter mechanism, which may be disadvantageous on small timeframes or high-slip environments
  • No check for existing positions in the same direction, potentially causing duplicate entries
  • SignalBar=0 allows trading on unclosed bars where signals may fluctuate and cause misjudgment

Possible improvements

  • Add position existence check logic to prevent duplicate entries in the same direction
  • Add a maximum iteration limit to the historical bar scanning loop to prevent performance bottlenecks
  • Add spread filter and trading session filter to improve entry quality

Risk assessment

Overall risk: Medium

  • Historical bar scanning loop has no upper limit, which could cause EA lag or timeout in extreme cases
  • Lack of same-direction position check may lead to consecutive entries during trending markets, causing excessive risk exposure
  • Default SL 1000/TP 2000 points are large values that may not be suitable for all instruments

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness3.0
Innovation2.0
Documentation2.0
Overall2.7

Parameters

ParameterDefaultDescription
MM0.1Money management ratio or fixed lot size
MMModeLOTLot mode: free margin/balance/post-loss margin/post-loss balance/fixed lot
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum allowed slippage
BuyPosOpentrueAllow opening long positions
SellPosOpentrueAllow opening short positions
BuyPosClosetrueAllow reverse closing long positions
SellPosClosetrueAllow reverse closing short positions
InpInd_TimeframePERIOD_H1ASCtrend indicator timeframe
RISK4ASCtrend risk parameter affecting signal sensitivity
SignalBar1Signal bar index; 0=current, 1=last closed bar

Similar Trend Following EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.