Auftrag beendet
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spezifikation
Description: Simple Ma crossover EA
Setup:
MA1 linear weighted 10 close
MA2 linear weighted 20 close
Entry:
- when EA is started, wait for crossover before entry.
Buy:
Every candle close where MA1 is above MA2
Sell:
Every candle close where MA1 is below MA2
Exit:
Either opposite signal
Or TP/SL reached - once one is reached, wait for next MA crossover to enter
Visual:
Profit in % of balance
Profit in $
Settings:
MA1
MA2
Max number of open trades
Money management:
Take profit - either X$ or X% of balance
Take profit X value
Trailing stop - either $ or % of balance
Trailing stop of X step Y
Explanation of money management:
Take profit is not a set number of pips! It is a $ profit which is either a set value or a % of the balance. So for example either 10$ fixed or 10% of 100$ balance which would also be $10 increasing with further wins.
Trailing stop is much the same. Trailing stop could be 5$ fixed or 5% of 100$ balance so also 5$. If fixed, step would be set in $ fixed increments. For example 5$ fixed trailing with step of 5$ would mean that if profits increased to 5$ over all open trades, the SL would move to profits of 0$. When profits rise to 10$ SL would rise to 5$.
If trailing stop was set to % of balance, then the increments would also increase in % increments. For example, 5% TSL step 5% would mean that for a $100 balance, if profits over all open trades increased another 5% of the balance($5) to 5% profit, then SL would move up 5% of balance($5) from what was -$5 to $0.