The MP Level Expert Advisor trades on potentially important levels which are formed as a result of the last significant movements of price.
The main advantage of the Expert Advisor, along with level detection, is an algorithm for calculation of a probable influence of the level on the further movement not only by the direction, but also its strength.
The Expert Advisor works with automatically calculated stop orders (Take Profit is greater than or equal to Stop Loss, if necessary, there are parameters for adjusting in the settings). While working stop orders can be adapted to the latest actual levels or change the side of opening if there is a sharp change of the trading instrument behavior.
The Expert Advisor includes 4 methods of money management:
- fixed lot size;
- lot calculated using the global variable in which the size of margin in the deposit currency is specified;
- percentage from free margin;
- fixed proportion method.
MP Level is designed for H1 (hour timeframe) and 3 currency pairs:
There is also a multicurrency mode which allows trading on three instruments simultaneously.
Description of some parameters of the trading system
- LOC_Enabled_ - switch to the order based mode of trading.
- SL_Koeff_ = 1.0 - multiplier for the calculated Stop Loss;
- TP_Koeff_= 1.0 - multiplier for the calculated Take Profit;
- LEVEL_Step_ = 6 - size of the step in bars for calculation of the level (must be less than or equal to LEVEL_Deep_);
- LEVEL_Deep_ = 30 - depth in bars for calculation of the level;
- ADAPT_Koeff_0_ = 87.41367 - coefficient for adaptation (it can be adjusted in any range);
- ADAPT_Koeff_1_ = -4044.66 - coefficient for adaptation (it can be adjusted in any range);
- ADAPT_Koeff_2_ = 3349.84 - coefficient for adaptation (it can be adjusted in any range);
- LEVEL_Grad_ = 10 - level sensitivity;
- MA_Sensitivity_0_ = 1 - sensitivity in calculations that use the Moving Average;
- MA_Sensitivity_1_ = 1 - sensitivity in calculations that use the Moving Average;
- FRACTAL_Total_ = 10 - number of fractal filtering;
- FRACTAL_Shift_0_ = 2 - shift for fractal filtering;
- FRACTAL_Shift_1_ = 2 - shift for fractal filtering;
- TEMPER_Volume_ = 2 - internal volume of characteristics of a level for calculation;
- TEMPER_Mode_0_ = 0 - mode of calculation of the first characteristic of the level (range 0 - 2);
- TEMPER_Mode_1_ = 1 - mode of calculation of the second characteristic of the level (range 0 - 2);
- TEMPER_Mode_2_ = 2 - mode of calculation of the third characteristic of the level (range 0 - 2);
- BORDER_Instum_ = -5774.24 - coefficient for calculation for an extraneous level (it can be adjusted in any range);
- BORDER_EXTR_Dev_ = -44.93 - coefficient for calculation for an extraneous level (it can be adjusted in any range);
- MM_1_Money_GV_Name_(Global variable name, where get amount of money)= "MONEY_SIZE" - the parameter contains the global variable name which contains the size of assets in the deposit currency that will be used for opening positions;
- SPREAD_Max_(Spread limiter) = 5 - limit of spread for opening (5 points is a recommended limiter);
- TRADE_ATTEMPTS_ = 250 - attempts to open;
- TRADE_DELAY_ = 1000 - timeout for a new attempt.
Note: points are specified with old precision.
- Added the mode of "hedge" trading. It means that all my Expert Advisors can trade simultaneously on a single currency pair without causing any conflicts and violating the trade logic. This is similar to the "hedge" trading in MetaTrader 4. To activate this mode, set the parameter LOC_Enabled_ to true and set unique values for the parameter MAGIC_ (the identifier of the Expert Advisor for trade operations) for each Expert Advisor.
- Added the graphical user interface.
- Added the trading panel which displays positions of each Expert Advisor.
- Fixed errors in mode LOC.
- Improved reliability in mode LOC.
- Fixed errors of the UI panel.
- Fixed error in mode LOC_Enabled_ = ON.
- Added mode LOC_Monitor_Enabled_ to control stop losses and take profits of LOC-positions when the LOC_Enabled_ is disabled (OFF).
- Extended functionality of the UI panel.
- Added extended money management AVM.