Functional features of experts from www.expforex.com

Functional features of experts from www.expforex.com

PRG – EA SUPER TESTER Multi-threaded testing program for your Expert Advisor.
Advantages of buying ready-made experts vs programming your strategy.
PRG – EA SUPER TESTER Multi-threaded testing program for your Expert Advisor.
Advantages of buying ready-made experts vs programming your strategy.

EAPadPRO

Information panel for all our advisors and utilities for the MetaTrader terminal.
Detailed instructions on the basics of managing and using the EAPADPRO panel in our trading Expert Advisors.
Friendly, intuitive user interface for convenient and successful work with our utilities.

Parameter to get a signal bar

shift (0,1,2…..) bar number.

This parameter represents the number of bars from which your indicators will take signals. Specify the following parameters of signal detection when ordering an Expert Advisor:

  • Open a deal immediately after the signal appears;
  • Wait until a signal on the closed bar is formed and open a deal only at the opening of the following bar.

Some indicators have a clear definition of what bar a signal is triggered due to their algorithms. Considering the accuracy and correctness of the execution of an order, a deal should be processed only on the current bar, i.e., the shift=1 parameter. If it is necessary to open the DEAL(Position) immediately on the current bar as the signal appears and the indicator allows it, then you should set shift=0.

Reverse of strategy signals

ReverseSignal (true – false) Enabled\Disabled.

This parameter represents the reverse of the signals of your indicator(s).

If your Expert Advisor is drawn on a definite algorithm or definite signals of the indicator, you can change BUY\SELL signals without reprogramming them.

For example, ReverseSignal=true.

Your indicator gives a signal to BUY, but the Expert will open a SELL deal.

Your indicator gives a signal on SELL, but the Expert Advisor will open a BUY deal.

Magic number

Magic (0….99999) number.

This parameter represents a unique number of Expert Advisors on the chart. If you use a lot of Expert Advisors on different charts, you will need to give them unique numbers to avoid confusion and errors.

For example, if you use one Expert Advisor with different settings, you should give a unique magic number to each instance of the Expert Advisor. Also, this parameter should be changed on other currency pairs. To work with detailed reports and understand what currency pair is used by each Expert Advisor.

Stop Loss of the deal.

StopLoss (0…) in points.

This parameter represents the Stop Loss of each position. This is the number of loss points for a deal to be closed.

0 – the parameter is disabled, and the Stop Loss of the deal will be equal to 0.

This parameter should be set to no less than the minimum allowed stop value on your server.

If the parameter is less than the minimum allowed value on the server, the Expert Advisor will show the error 130.

Take Profit of the deal

TakeProfit (0…) in points.

This parameter represents the Take Profit of each position. This is the number of profit points for a deal to be closed by the server.

0 – the parameter is disabled, and the Take Profit of the deal will be equal to 0.

This parameter should be set to no less than the minimum allowed value on your server.

If the parameter is less than the minimum allowed on the server, the Expert Advisor will show the error 130.

Slippage of the deal

Slippage(0….) in points.

This parameter adjusts price slippage at the opening of a deal.

In the real/live market, prices move very fast, so when sending the order to the server, the server can respond with prices changed, requotes, etc. In order not to send a lot of orders to the server, you can set the allowed Slippage for opening deals.

For example: Slippage=10.

When sending an order for opening, the price was 1.1234. But the price changed to 1.1238. In this case, the deal is opened at 1.1238 without requotes! But if Slippage were equal to 0, in this example, the deal would not be opened; the server would send the Requote error (New prices).

Closing deals by an opposite signal

ClosePosifChange (true – false).

This parameter adjusts the possibility of closing an opposite deal when opening a new one. If your indicator uses BUY – SELL – BUY – SELL signals, and this parameter is enabled, the Expert Advisor will close the opposite deal before opening the new one.

Number of positions for a signal

ONlyOnePosbySignal (true – false) Enabled\Disabled.

This parameter is used to choose whether single or multiple positions. Have the possibility to open one or several positions.

If this parameter is enabled, only one position is opened at each signal on 1 bar.

For example, your strategy gives consequent BUY signals on each new bar, and the function ONlyOnePosbySignal= true, then a BUY deal will be opened on each bar if the signal appears.

If the function ONlyOnePosbySignal = false, then the Expert Advisor can open only one BUY deal and one SELL deal and wait until they are closed.

Fixed lot

Lots (0.01 ………) – setting fixed lot for all deals.

This parameter specifies the number of lots for opening deals. The lot is fixed and applied to all deals.

You should ask your broker for the minimum allowed lot for opening a deal.

Dynamic lot

DynamicLot (true – false) LotBalancePcnt (in percentage from free margin).

These parameters adjust the automatic calculation of lots and choosing lots depending on the free margin.

A detailed description of this parameter is given in the Autolot article (lot calculation using the current balance).

Martingale

Martin (1….) – Martingale ratio.

This parameter allows you to use the Martingale principle for your strategy. This principle implies that the volume of a deal following an unprofitable deal will be calculated as the Lot*Martin ratio.

If the parameter is equal to 1, then Martingale is not used.

For example: Lots = 0.01 Martin =2:

  1. BUY deal (0.01) closed with Loss, or by Stop Lossl.
  2. The next deal will be opened with lot 0.01 * 2 = 0.02.
  3. if the previous deal is closed by Stop Loss, then the following deal will be opened with lot 0.04.

If the previous deal is closed with Profit or by Take Profit, then the following DEAL will be opened with the initial lot 0.0.

Working time of the Expert Advisor

OpenHour (in hours), OpenMinute (in minutes), CloseHour (in hours), CloseMinute (in minutes).

These parameters adjust the Expert Advisor working time range, which applies to opening new positions only. Trailing stop and break even will work independently from the range.

For example, if you want the Expert Advisor to trade only from 2 p.m. to 6.35 p.m., Then the parameters will look like this:

OpenHour= 14, OpenMinute=0, CloseHour=18, CloseMinute =35п.

Deals will be open only from 2 p.m. to 6.35 p.m., and the Expert Advisor will ignore your strategy signals the rest of the time.

Classic TrailingStop

TrailingStopUSE (true – false), IfProfTrail(true – false), TrailingStop (in points), TrailingStep (in points).

These parameters turn on or off automatic tracking of positions by moving the Stop Loss in the + zone.

TrailingStopUSE – enables\disables trailing stop function.

IfProfTrail—if true, the Expert Advisor starts modifying only when the position is at breakeven. If false, the trailing stop starts working right after opening a position and pulls it after the price.

TrailingStop – distance in points from the current price to the estimated Stop Loss. This parameter can be less than the minimum allowed parameter on your server.

TrailingStep – Stop Loss modification step.

For example, Stop Loss will be modified for each TrailingStep point on the distance of TrailingStop points from the current price.

Function for closing by total profit\loss

These parameters adjust the possibility of closing deal(s) by the given instrument and magic reaching one of the parameters:

  1. TypeofClose=1 – closing by Profit: 1 – Dollar, 2 – Points, 3 – %Equity, 4 – %Balance;
  2. CloseProfit=false – close, if +;
  3. prifitessss=10 – number of units (depending on TypeofClose) for closing profit;
  4. CloseLoss=false – close if lossss= -10 – number of units (depending on TypeofClose) for closing loss;
  5. OFFAllEaAfterClosePROF=false – disable all the Expert Advisors and scripts after closing Profit;
  6. OFFAllEaAfterCloseLOSS=false – disable all the Expert Advisors and scripts after closing Loss.

For example:

  1. If you would like to close several DEALS(positions) BUY or SELL at Profit on the account in 10 $:
    TypeofClose=1, CloseProfit=true, prifitessss=10.
  2. If you would like to close several DEALS(positions), BUY/SELL at Loss on the account in 200 points:
    TypeofClose=2, CloseLoss=true, lossss=200.
  3. If you would like to close several DEALS(positions) BUY\SELL at Loss on the account in 5 % from the deposit and also close several DEALS(positions)BUY\SELL at Profit on the account in 10 % from the deposit:
    TypeofClose=4, CloseLoss=true, lossss=5, CloseProfit=true, prifitessss=10.

In this case, you can disable Expert Advisors after closing using the OFFAllEaAfterClosePROF and/or OFFAllEaAfterCloseLOSS function.

Then, the Expert Advisor will disable all the Expert Advisors after closing.

Moving Stop Loss to break even

MovingInWLUSE (true – false) LevelWLoss (in points) LevelProfit (in points).

These parameters adjust the possibility of modifying deals, moving the Stop Loss to break even as soon as possible.

For example:

  1. You would like to set Stop Loss in the break-even when the deal will score +10 points of Profit:
    MovingInWLUSE = true, LevelWLoss=0, LevelProfit=10.
  2. You want to set Stop Loss in +5 points when the deal will score +20 points of Profit:
    MovingInWLUSE = true, LevelWLoss=5, LevelProfit=20.

Therefore, the difference between LevelProfit-LevelWLoss must always be greater or equal to the minimum stop on the server.

Advantages of buying ready-made experts vs programming your strategy.

Exp – Templates MQL Open Source. Light Template for Creating Expert Advisor

Questions?

If you have any questions, please ask them. We do not sell the pig in a poke.

And each of our products can be checked before the purchase.

We appreciate your attitude and wishes for our products and try to keep the quality standard high.

Thank you for being with us!

Do you have a question?

Leave a Reply

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


    This website uses cookies to improve your experience. By using this website you agree to our Data Protection Policy.
    Read more