Neon CrossShift EA
- Experts
- Versão: 3.30
- Ativações: 5
The Neon CrossShift EA is an automated trend-following Expert Advisor for MetaTrader 5, designed around a simple and clearly defined SMA crossover strategy.
Its core philosophy is simple: identify a change in market direction using two Simple Moving Averages, automatically enter the corresponding trade, and progressively secure profits through partial position closures.
Core Trading Strategy
The Neon CrossShift EA uses two Simple Moving Averages:
-
SMA 100 – the faster moving average
-
SMA 200 – the slower moving average
The EA monitors the relationship between these two moving averages and waits for a confirmed crossover.
Bullish Crossover – LONG
A long position is opened when the SMA 100 crosses above the SMA 200.
This indicates that the shorter-term price trend has moved above the longer-term trend and is interpreted by the EA as a bullish trend signal.
SMA 100 → crosses above → SMA 200 → LONG
Bearish Crossover – SHORT
A short position is opened when the SMA 100 crosses below the SMA 200.
This indicates that the shorter-term trend has moved below the longer-term trend and is interpreted as a bearish trend signal.
SMA 100 → crosses below → SMA 200 → SHORT
Confirmed Crossovers
To prevent signals caused by temporary movements of the currently forming candle, the Neon CrossShift EA evaluates the crossover using closed candles.
The EA compares:
-
the most recently completed candle
-
the candle immediately before it
This means the EA does not simply react to an SMA relationship changing temporarily during the formation of a candle.
A bullish signal requires the fast SMA to move from below or equal to the slow SMA to above it.
A bearish signal requires the fast SMA to move from above or equal to the slow SMA to below it.
This makes the entry logic clear and deterministic.
Automatic Position Management
The EA automatically manages the trading position after an entry.
The default initial position size is:
0.20 lots
The lot size can be changed through the EA input settings, allowing the trader to adapt the position size to their own strategy and account.
For example:
-
0.10 lots
-
0.20 lots
-
0.50 lots
-
1.00 lot
The actual available volume is also checked against the broker's minimum volume, maximum volume and volume step.
Progressive Partial Profit Taking
One of the main features of the Neon CrossShift EA is its automatic partial closing system.
The current default configuration uses:
Profit target step: 2%
Partial close size: 0.01 lots
When the open position reaches approximately 2% profit, the EA automatically closes 0.01 lots of the position.
The remaining position continues running.
When the next 2% profit level is reached, another 0.01 lots can be closed.
This process continues while there is sufficient position volume available.
Example
Starting position:
0.20 lots
At the first 2% profit level:
0.01 lots closed → 0.19 lots remain
At the next 2% profit level:
0.01 lots closed → 0.18 lots remain
The process continues progressively as the trade moves further into profit.
The EA protects a minimum remaining position size of:
0.02 lots
This means the position is not completely closed by the partial-profit mechanism.
The remaining position can continue following the prevailing trend until an opposite SMA crossover occurs.
No Stop Loss
The current Neon CrossShift EA configuration does not use a Stop Loss.
The strategy therefore relies primarily on the SMA crossover for directional changes and on the partial profit-taking mechanism for profit management.
When an opposite crossover occurs, the EA can close the existing position and switch direction.
For example:
LONG → bearish SMA crossover → close LONG → open SHORT
or:
SHORT → bullish SMA crossover → close SHORT → open LONG
This allows the EA to continuously follow changing market trends.
One Position at a Time
The EA is designed to work with a single active position for the configured symbol and Magic Number.
It does not continuously add new positions every time a tick arrives.
Instead, it waits for a valid crossover and then checks whether an existing position is already active.
This helps keep the strategy straightforward and makes the trading logic easier to analyze in the MetaTrader 5 Strategy Tester.
Automatic Long and Short Switching
The Neon CrossShift EA can trade in both directions.
Bullish market
SMA 100 > SMA 200
The EA looks for and maintains a LONG position.
Bearish market
SMA 100 < SMA 200
The EA looks for and maintains a SHORT position.
When the trend changes, the EA can automatically reverse its position.
This makes the EA suitable for markets where longer directional trends develop over time.
No Fixed Timeframe
The EA does not force a specific timeframe.
It uses the current chart timeframe.
For example, the same EA can be attached to:
-
M5
-
M15
-
M30
-
H1
-
H4
-
D1
The SMA calculations and crossover detection are performed using the timeframe of the chart on which the EA is running.
This gives the user flexibility to test the strategy across different markets and timeframes.
Performance-Oriented Design
The Performance Edition has been designed with the MetaTrader 5 Strategy Tester in mind.
The EA avoids unnecessary continuous chart processing and performs its main crossover analysis when a new candle appears rather than repeatedly calculating the crossover on every tick.
The partial-profit mechanism can still be checked on incoming ticks because the position's current profit can change between candles.
This approach reduces unnecessary calculations while maintaining responsive position management.
Trading Panel
The EA includes a visual information panel that displays important information directly on the chart.
The panel can show information such as:
-
Current trading status
-
LONG / SHORT / NONE
-
Current position size
-
Current profit percentage
-
Next partial-close level
-
Partial-close volume
-
Remaining position volume
-
Account balance
-
Account equity
-
Current account profit
-
Active SMA configuration
-
Initial lot size
The panel is designed to make the EA easier to monitor during both live trading and backtesting.
Modern Chart Presentation
The EA also includes a simplified chart presentation designed to keep the Strategy Tester visually clean.
The goal is to provide the important trading information without unnecessary chart objects or excessive visual calculations.
This helps keep the chart easier to read and reduces unnecessary processing during visual backtests.
Configurable Parameters
The main trading parameters can be adjusted through the EA's input settings.
Important parameters include:
Initial Lots
Defines the initial position size. Default: 0.20 lots
Partial Close Lots
Defines how much of the position is closed at each profit step. Default: 0.01 lots
Profit Percent Step
Defines the profit interval for partial closing. Default: 2.0%
Fast SMA Period
Default: 100
Slow SMA Period
Default: 200
Magic Number
Used to identify positions belonging to the Neon CrossShift EA.
This allows the same EA concept to be customized and tested without changing the underlying source code.
Example of the Complete Trading Logic
The basic strategy can be summarized as follows:
1. Wait for a confirmed SMA crossover.
2. SMA 100 crosses above SMA 200 → Open LONG.
3. SMA 100 crosses below SMA 200 → Open SHORT.
4. Monitor the open position.
5. At every 2% profit step → close 0.01 lots.
6. Keep at least 0.02 lots running.
7. Continue following the trend.
8. When the opposite SMA crossover occurs → close the existing position and switch direction.
This creates a simple trend-following system with progressive profit taking.
Why the Strategy Is Different
The Neon CrossShift EA deliberately keeps the core entry strategy simple.
Instead of using a large collection of indicators and complicated conditions, the EA focuses on one primary market relationship:
SMA 100 vs. SMA 200
The partial-close system then adds a second layer of position management.
The result is a strategy that is relatively easy to understand, test, modify and optimize.
Important Risk Disclaimer
The Neon CrossShift EA is an automated trading system and should not be considered a guarantee of profit.
Because the current strategy does not use a Stop Loss, losing trades can potentially become significant, particularly during strong adverse market movements, ranging markets, gaps, or periods of unusual volatility.
Past backtest or demo results do not guarantee future performance.
Before using the EA with real money, it is strongly recommended to test it extensively in the MetaTrader 5 Strategy Tester and on a demo account.
Position size, market, timeframe, broker conditions and trading costs can have a substantial effect on the results.
Trade responsibly and never risk more capital than you can afford to lose.
Neon CrossShift EA
Simple Strategy.
Clear Signals.
Automatic Execution.
Progressive Profit Taking.
Trend Following.

