Violet C1 MT5
- Experten
- Andrey Minaev
- Version: 1.0
- Aktivierungen: 5
If this is your first time visiting the MD programs page, please read the text on my profile.
Description of work
When two Moving Average indicators cross, the Expert Advisor opens a position, sets a virtual stoploss and takeprofit. The intersection is analyzed on a closed candle. When a signal to open a position appears, if there is a position in the market that was opened by the Expert Advisor, then the signal is ignored, i.e. only one position can be opened.
Features of work
The Expert Advisor is designed for hedging type accounts. It works on the instrument on which it is installed. After restarting the terminal, the Expert Advisor starts working again, i.e. if the Expert Advisor has opened a position and the terminal has been restarted, the Expert Advisor will not follow the previously opened position.
Condition for opening a Buy position
The crossing of the fast Moving Average indicator of the slow one from the bottom up.
Condition for opening a Sell position
The crossing of the fast Moving Average indicator of the slow one from top to bottom.
Conditions for closing a position
Stoploss or takeprofit crossing.
Expert advisor settings
General settings
Magic - to determine the deals that the Expert Advisor has opened
Timeframe - timeframe on which the Expert Advisor is looking for entry signals
Money management settings
Volume - fixed volume of the opened position, lots
Volume multiplier after loss - position volume multiplier when taking a loss, coeff (0 - not used)
Number of losses to reset the volume - number of losses to reset the volume, pcs (0 - not used)
Position closing settings
StopLoss - distance to loss limit, pips
TakeProfit - distance to profit taking, pips
Breakeven settings
Breakeven activation - distance to breakeven activation, pips (0 - not used)
Moving Average indicator settings
The Moving Average settings are standard, as in the MetaTrader 5 terminal.
The default settings do not guarantee a profit, so the Expert Advisor needs to be optimized before work. If you have any questions about the settings of the Expert Advisor, then write to me in private messages.
In the future, I will expand the functionality of the Expert Advisor, so in order not to miss updates, subscribe to the channel here on the site ( https://www.mql5.com/en/channels/mql_development_en ), or to the telegram channel ( https://t.me/mql_development_en ).
Good luck to all.