THE MIRROR OF MEDIA

THE X AND XCUSTOMEA DESCRIPTIONS OF SETTINGS AND EXTERNAL VARIABLES – Trading Strategies – 7 August 2021


Sign choices Further sign processing unitShow_alert_without_opening_positions

If this feature is enabled, the Knowledgeable Advisor is not going to open a brand new place on the sign, however solely notify the consumer {that a} new sign has appeared.

On this case, all different capabilities will work in regular mode.
It permits the consumer to open a place on their very own if the advisor has issued a sign.

However the EA doesn’t make this deal and doesn’t open the place, however solely alerts the consumer in regards to the sign.

OpenBarControlOnly

The work of an advisor is simply in open bars.

This mode lets you simulate the work of the Advisor on opening a bar (as within the technique tester).
When this mode is enabled, the Knowledgeable Advisor will commerce precisely as in OpenPriceOnly testing mode.
All! Advisor capabilities will probably be executed 1 !! as soon as on the opening of a brand new bar (relying on TF, which TF you’ve put in, such timeframe will probably be used), together with Modification, Trailingstop, Averaging, the opening of alerts, and many others.

ControlNewBarforSIGNAL

examine the indicator sign solely every new bar (with out checking on every tick),
Works solely when OWNSIGNAL_shift> = 1 and IndSigToTrade! = NoSignal (with NoSignal, the Knowledgeable Advisor checks the values of the filters are every tick)
When ControlNewBarforSIGNAL = true, the optimization velocity is elevated by 1.5 instances!

ControlNewBarforSIGNALType = 1 = True smallest TF of the settings: New mode!
The EA selects the smallest TimeFrame, which was set by the parameters TF_IndSigToTrade1, FILTER_TF_IndSigToTrade1, FILTER_TF_IndSigToTrade2 ….
On this mode, the EA doesn’t examine the sign on the at present set TimeFrame, however on the TimeFrame for receiving a sign from indicators!
This mode is beneficial for many who use TF_IndSigToTrade1, FILTER_TF_IndSigToTrade1, FILTER_TF_IndSigToTrade2, apart from Present.
ControlNewBarforSIGNALType = 2 = True present bar of the present TF: Outdated mode!
On this mode, the EA checks sign each new bar of the present TimeFrame!
For those who use TF_IndSigToTrade1, FILTER_TF_IndSigToTrade1, FILTER_TF_IndSigToTrade2 apart from Present, the outcomes on every TimeFrame could also be completely different.
We advise you to put in the adviser on the TimeFrame M1!
ControlNewBarforSIGNALType = 0 = False: Don’t use the management of the brand new bar to find out the sign!

Consideration: When off, the EA checks alerts each new tick! There could also be delays in tapping and optimization!

ControlNewBarforOpenbySignal:ControlNewBarforOpenbySignal = true: Outdated mode! Open positions on a sign solely each new present bar of the present TimeFrame!
The EA opens positions, if there’s a sign, solely when a brand new bar of the present TimeFrame arrives!
ControlNewBarforOpenbySignal = false: New mode! Open positions on a sign each new bar from the sign Timeframe!
The EA opens positions, if there’s a sign, instantly upon detection of a sign.
This mode is beneficial for many who use TF_IndSigToTrade1, FILTER_TF_IndSigToTrade1, FILTER_TF_IndSigToTrade2, apart from Present.ReverseSignalFlipping the general technique sign acquired from the Essential Indicator + filters!Opening Filter choices Merchandise opening filtersTypeTradeBUYSELLthe course of commerce:

  1. Purchase and Promote
  2. Solely Purchase
  3. Solely Promote

On this case: For those who use pending orders and work solely in 1 course: each time a brand new sign is acquired, the previous pending order will probably be deleted and set to a brand new value.MinuteToOpenNextPositionPermission to open the subsequent sign after the final open place
if there are not any open positions, the adviser considers the time from the final closed place.
Time is taken into account to be of the identical kind. If the BUY sign is then learn from the final open/closed BUY…
the variety of minutes to open the subsequent deal on the alerts of indicators.
It lets you filter offers when utilizing ONlyOnePosbySignal = false.DistanceToOpenNextPositionMinimal Distance to open the subsequent place on the primary sign (If ONlyOnePosbySignal = false is ready and OnePosPerDirection=false).
If DistanceToOpenNextPosition is > 0, then the subsequent place will be opened solely when the earlier place on the sign has handed DistanceToOpenNextPosition of revenue factors!
If DistanceToOpenNextPosition is < 0, then the subsequent place will be opened solely when the earlier place on the sign is at a distance DistanceToOpenNextPosition factors in either side of the revenue or loss!OpenOppositePositionAfterStoploss

open the alternative place when closing the present stoploss.

Opens the alternative place instantly after receiving the stoploss of the earlier deal with out utilizing indicator alerts.
If the final place was closed by stoploss, the Knowledgeable Advisor would instantly open the alternative place

ONlyOnePosbySignalCommerce just one present important place in a single course.
If the Knowledgeable Advisor opens the SELL place, then all different alerts on the SELL will probably be ignoredOnePosPerDirectionOpening of 1 deal on 1 course
e.g.:
if OnePosPerDirection = true and ONlyOnePosbySignal = false
then the advisor can open 1 Purchase deal on a sign and 1 Promote deal on a sign
if OnePosPerDirection = false and ONlyOnePosbySignal = true
then the advisor can solely open one deal at a sign, both Purchase or CELL
if OnePosPerDirection = false and ONlyOnePosbySignal = false
then the advisor can open any offers for every indicator signOnlyOnePositionPerMagicOpening of 1 place on 1 magic,
The advisor checks whether or not there are open positions for this magic quantity in different foreign money pairs. If there isn’t any place, the advisor will open the deal on the sign, and the remaining advisors will look ahead to the completion of this deal.
If OnePosPerDirection = false, then OnlyOnePositionPerMagic = true works like this: 1 place by magic quantity is allowed;
If OnePosPerDirection = true, then OnlyOnePositionPerMagic = true works as follows: 1 place of every course is allowed by magic quantity;OnlyAlternateSignalsLets you open positions solely one after the other.
If the final closed place was SELL, the subsequent might be opened solely BUY!
It’s essential to commerce the primary indicator in No Sign modeMAX_BUY_POSITION

restrict of the utmost variety of BUY offers.

The positions opened by alerts of indicators are taken into consideration.

The averaging and refilling positions are usually not taken into consideration

MAX_SELL_POSITION

restrict of the utmost variety of SELL offers.

The positions opened by alerts of indicators are taken into consideration.

The averaging and refilling positions are usually not taken into consideration

MaxSpreadToNotTradeThe utmost unfold at which the advisor can open a place
If the present unfold on the time of receiving the sign is bigger than the desired worth, the indicator sign is ignored till the unfold is lower than the desired worth.MinSpreadToNotTrade

Minimal unfold, through which the advisor can open a place
Warning: This filter is simply used! To open positions by sign, averaging, refilling. All different capabilities work within the regular mode.

Warning: This filter is for Positions. For pending orders, this filter doesn’t matter. Due to this fact, the filter works solely if you use the Positions.

Include_Commission_Swap

Take note of the writer`s calculation of the fee and the swap when the capabilities are turned on: Undisturbed (stoploss on the break-even level), Trailingstop, Averaging.

The writer`s calculation of the fee is predicated on the formulation for calculating the worth of 1 level from the open positions for this image and the magic, A unfavourable swap and fee take part within the calculation. The perform returns the price of a unfavourable swap and fee in factors and takes this into consideration when working with the Break-even capabilities (stoploss on the break-even level) and trailing cease.

Consideration: You probably have a floating unfold in your dealer, the settlement of the fee is executed and set for the time being of the operation of the Break-even capabilities (stoploss on the break-even level) and trailing cease, however the unfold could improve, which is able to incur extra loss factors. This isn’t a calculation error!

Additionally, it’s value contemplating that when a swap happens, the advisor recounts the road Break-even (stoploss on the breakeven level) and establishes new stops if the server permits it. (Restriction to the minimal cease degree to your StopLevel dealer). If the server doesn’t enable to set a breakeven and returns a minimal cease degree error, the EA won’t be able to switch the place, and you may obtain extra loss factors.

To keep away from receiving a loss when utilizing a fee with a fee and when receiving a unfavourable swap, we suggest that you just improve the space Break-even (stoploss on a breakeven level) or trailing cease.

The extent of Break-even ( stoploss on the breakeven level) ( LevelWLoss ) will be calculated independently, given the fee.

For instance Fee for opening and shutting a place = 2 {dollars} (EURUSD) per 1 lot. So, as a way to cowl the loss on the fee, you could set LevelWLoss = 2 (factors) +1 (management) = 3 factors.

Thus: the advisor will set up a break-even (cease loss on the breakeven level) by +3 factors, which in flip will cowl the loss on the fee.

Shut choices Block of capabilities for closing positions!ClosePosifChangeClosing the positions when the overall indicator sign is reversed.
The distinction between ClosePosifChange and ClosePositionifChangeOWNSignal is that with ClosePosifChange – a sign change is taken into account for all filters + the primary sign.
And when ClosePositionifChangeOWNSignal – the sign change is discovered solely on the primary indicator.
It additionally works for pending orders.ClosePosition_After_X_MinutesClosing the place after the set variety of minutes.
Additionally, the Knowledgeable Advisor checks the included CloseChangeOnlyInProfit parameter: Closing solely worthwhile positions.CloseChangeOnlyInProfitClosing offers on a return sign, solely when the present place is in revenue.Pending orders choices The block of labor with pending and restrict orders.StopOrderUSE

Open pending orders or restrict orders as a substitute of positions.
It lets you set a pending or restrict order for the acquired sign at a distance StopOrderDeltaifUSE factors. Thus, we recheck the sign for profitability.
If the sign is opened in the best course of value motion, then the pending order will work by means of StopOrderDeltaifUSE factors.

You may as well allow Digital pending orders:

  1. : Exposes a digital pending cease order at a distance StopOrderDeltaifUSE factors;Use Digital Cease Orders
  2. : Exposes a digital pending restrict order at a distance StopOrderDeltaifUSE factors;Use Digital Restrict Orders

Warning: Digital pending orders Solely works in Visualization mode or on actual graphics, solely when the terminal is switched on. It doesn’t work in optimization mode!

StopOrderDeltaifUSEVariety of factors for a deferred or restrict order
(Distance of pending orders)StopOrderDayToExpirationStopOrderDayToExpiration = variety of days for the order expiration.

  1. 0 – ORDER_TIME_GTC The order will probably be within the queue till it’s eliminated
  2. 1 – ORDER_TIME_DAY The order will probably be legitimate just for the present buying and selling day
  3. 2 … X – ORDER_TIME_SPECIFIED The order will stay legitimate till the expiry date

If the pending order doesn’t work throughout the specified days, it’s routinely deleted.StopOrderBarToExpirationThe expiration of the pending order within the bars.
If StopOrderBarToExpiration = 10 is specified, and TF = M1, then the Pending order will probably be eliminated after 10 minutes after set up.
Consideration: Every dealer has its minimal time parameter for expiration.ReInstallStopOrdersNewSignalAppears

Reset pending orders if a brand new sign from the indications seems.

It lets you take the present BUYSTOP pending order and set up a brand new BUYSTOP at a brand new degree then the indications confirmed a brand new sign.

Buying and selling choices Parameters for buying and sellingMagicThe magic variety of the positions opened by the advisor.Slippage

The extent of most potential slippage in factors when opening and shutting positions.

Instance:
Slippage = 1
Most deviation when opening a place = Opening value + -1 level.
Slippage = 100
Most deviation when opening a place = Opening value + -100 level.
For instance

The worth of opening a place when sending an order to the server = 1.12345
However, if in the course of the time of sending and opening a place the worth has modified inside 100 factors, then the place will open with a slip within the vary of 1.12245 – 1.12445

MarketWatchIt consists of the flexibility to open positions with stop-loss / take-profit on an account with MARKET execution.
The primary opens the place, after the profitable opening, the degrees of StopLoss and TakeProfit are modified.CommentToOrder

Further feedback to the opened positions.
You’ll be able to specify right here an extra remark that will probably be added to the opened place to distinguish the settings, for instance.

Discover! For the EA to work appropriately, set a remark now not than 12 characters.

eg:

Proper: ExpforexTheX

Not Proper: Expforex The X Set # 12345

RoundingDigitsThe variety of decimal locations when a place or order is opened.

  1. With out rounding
  2. To 1 digit
  3. To 2 digits
TypeFilling

The kind of fill positions and orders.
It’s used for MT5 terminal.
In AUTO mode, the Knowledgeable Advisor tries to find out the fill kind routinely. However, in some conditions, you could set the fill kind your self.
If, if you open a place, you get an error of 10030
TRADE_RETCODE_INVALID_FILL
An unsupported kind of execution of the rest order is indicated.
Set the kind of fill that your dealer signifies.
FillOrKill, ImmediateOrCancel, Return

For those who get a Rejected error and if you hover over the order within the historical past you see this: (incomplete FOK info of the order), Or you’ve a BCS dealer or Open dealer, then you could set up:

TypeFilling = ImmediateOrCancel or TypeFilling = Return

DayToExpiration = 1

Stops choices Parameters of cease orders, StopLoss, TakeProfitVirtualStops

The perform of together with digital stoploss / TakeProfit trailing cease as a substitute of actual.
Inclusion of digital (invisible) ranges stoploss / TakeProfit trailing cease Past extra (cease loss at break-even level)
Fully redesigned the algorithm of Digital StopLoss TakeProfit trailingstop Absolute (putting in stoploss on the break-even level).
Now all digital stops are displayed on the chart and are the important thing when closing positions on these ranges.
Knowledge is written within the type of traces and world variables.
Be aware: For those who delete a cease line on the chart and world variables – Digital closing on this line is not going to work.
Consideration: Verify your consultants and indicators to take away traces from the chart and world variables!
Consideration: Digital ranges are triggered on the present value, after which the closing happens.
Through the closing, there could also be slippage in a few factors!
Consideration МТ4: In optimization mode, the digital stoploss / takeprofit doesn’t work.
Consideration: While you allow VirtualStops, the testing velocity is considerably decrease.

Consideration: Digital stops do not need restrictions and server prohibitions. Due to this fact, they are often put in on the present value! Then there may be an instantaneous closure.

SetMinStops

Mechanically normalize all parameters of the Knowledgeable Advisor to the minimal acceptable cease ranges.

  1. With digital stops – this parameter doesn’t have an effect on.
  2. With AutoSetMinLevel, cease ranges will probably be dropped at the bottom potential ranges allowed on the server;
  3. With ManualSet, the consumer will obtain a message stating that the degrees of stops within the Knowledgeable Advisor are lower than the minimal, and the Knowledgeable Advisor will cease buying and selling.
StopLossStoploss of every place you open in factorsTakeProfitTakeprofit of every open place in factorsForcedModifySLTP

Pressured modification of positions, established by the stoploss and takeprofit.

Because of this the advisor will forcibly modify the cease loss and take revenue from all its positions.

For instance: If the dealer`s server opened a commerce, however didn’t return its ticket, then the professional will forcibly examine all his positions, and if he finds out that the cease loss or take revenue of the place is 0, the advisor will pressure the stoploss and takeprofit.

TimeToCheckAverageSpread

The algorithm for the perform is taken from our automated TickSniper scalper advisor.
Added parameters to the Stops choices block:
TimeToCheckAverageSpread The quantity (milliseconds, 20,000 = 20 seconds) for figuring out the typical unfold
AutoCheckLowSpread Auto-determination of the low unfold.
Mechanically determines the unfold too low (Lower than 1 level) and leads all system settings to the bottom potential unfold.
It lets you defend the system from decreasing the unfold on the dealer.

The right way to use:
For the parameter calculated in factors to be calculated from the typical unfold of the foreign money pair, you could specify the parameter with the signal –
For instance:
StopLoss = 2000 signifies that StopLoss of every place will probably be 2000 factors!
StopLoss = -100 signifies that StopLoss of every place will probably be equal to 100 * Common unfold, which was calculated by the advisor for TimeToCheckAverageSpread milliseconds.

If the unfold is 20 factors, then cease loss on the time of opening will probably be 2000 factors.
With a floating unfold, this worth all the time modifications.

The parameters accessible for setting within the unfold mode: Distance, DistanceAdditionalOpening, StopOrderDeltaifUSE, StopLoss, TakeProfit,TrailingStop, TakeProfitALL, StopLossALL, LevelWLoss, LevelProfit.

The common and present unfold, in addition to the extent of the Auto Unfold Low unfold, will probably be displayed in our panel within the part Technique Data.

Heaps choices Parameters for working with lotHeapsA hard and fast lot to open a place.

AdditionalLots – A further lot that will probably be added to every new deal based mostly on a brand new sign
CoeficienteLots – Lot coefficient, by which the lot will probably be multiplied for every new deal on a brand new sign
(When the advisor is allowed to open multiple place for every sign ONlyOnePosbySignal = false / OnePosPerDirection = false)

DynamicLotA dynamic lot, Autolot for an open place.
You’re enabling dynamic lot calculation in p.c of free margin and different components.
Calculation of our autolot.LotBalancePercentP.c for autolotRiskRateRiskRate – the speed of your foreign money in opposition to the greenback.
By default, RiskRate = 0 – signifies that the Knowledgeable Advisor will attempt to discover the proper fee within the Market Evaluation.
For Autolot to work adequately with all foreign money pairs, you could embody the “Present all foreign money pairs” within the Market Evaluation.MaxLotThe utmost lot that an advisor can open when calculating an autolot and martingale for the primary important placeMartinThe usual multiplication of the lot of the final closed place at a loss.
If Martin = 1, then the martingale doesn’t activate.
If Martin = 0, then the Knowledgeable Advisor can’t open the subsequent place
If Martin = 2, then the primary lot = 0.1, the second lot = 0.2, and so forth, 0.4 – 0.8 – 1.6
If Martin = 0.5, then the primary lot = 1, the second lot = 0.5, and so forth, 0.25 – 0.125Averager choices The block of capabilities for averaging positions, opening positions in opposition to the patternUseAverAdditionalOpeningOrderinOne

The variety of orders is taken into account widespread for each topping and for the averager.

Consideration! Just for MT4 model

AverageUSEActivate the averaging perform.
If the Essential place is misplaced at a sure variety of factors, our adviser opens a place of the identical kind. Thus, averaging the primary place.
All of the capabilities of the Knowledgeable Advisor (trailing cease, Break-even (Cease-loss on the breakeven level …) will work already from the center line of positions, which is calculated from all positions of the identical kind.
For instance:
If the SELL place is opened with a value of 1,200, and the worth goes up. Then, if the worth is exceeded by 100 factors (for instance) 1.300 – the advisor opens one other SELL place
The common line from these two positions = 1.250
The trailing cease and all different capabilities will work from the center line of those two positions.
Consideration: For various plenty of positions, the typical value is calculated by the mathematical formulation.TakeProfitALLThe gap of the overall takeprofit on the opening of the averaging offers.
This selection is beneficial solely if you activate AverageUSE.
Units the desired takeprofit from the present midline of all positions for ALL positions / offers
Works solely when the averaging place is openedDistance

Distance from the final open place of 1 kind for averaging.

The gap between the positions, the grid cell.
You’ll be able to set 100 factors. Then every new averaging place will probably be opened after 100 factors of loss from the final open place

DistanceMartinthe rise issue is the space from the typical for every subsequent deal.
You’ll be able to set 1.5. Then every new averaging place will probably be opened by means of 100 +50 (100*1.5) loss factors from the final open place. (100,150,225,337,506)LotsMartin

Improve the lot for the grid positions.

The coefficient of improve of every averaging place.
For instance:
Beginning lot of the primary place = 0.1
LotsMartin = 2, then
The subsequent lot of the opened averaging place will probably be 0.2, 0.4, 0.8, and so forth.
Consideration: The center line will probably be calculated utilizing the formulation utilizing heaps.
It lets you convey the extent of Break-Even (stoploss on the breakeven level) (center line) to the present value.
However martingale will be harmful to your account. Please, calculate this parameter in order that your deposit will face up to such a load

LotAdditional extra lot for averaging a place for a gap in opposition to the pattern. MaxOrdersOpen

The utmost variety of averaging positions.

If the place grid is MaxOrdersOpen, then the next averaging positions are ignored.

CloseFirstAfterMaxAverage

CloseFirstAfterMaxAverage – Shut the primary averaging deal (the very first of the at present open averaging offers),when the advisor has opened the utmost variety of offers with the MaxOrdersOpen parameter.
If you wish to hold a set variety of Averager grid gadgets (e.g. 5 grid gadgets),the smallest ingredient have to be closed with a loss when the sixth ingredient is opened.
For instance:

CloseFirstAfterMaxAverage = false MaxOrdersOpen = 5:
If the EA opens the utmost variety of averaging offers, which is ready by MaxOrdersOpen = 5,then the subsequent averaging deal can’t be opened.

CloseFirstAfterMaxAverage = true MaxOrdersOpen = 5:
If the EA opens the utmost variety of averaging offers, which is ready by MaxOrdersOpen = 5,then the primary averaging commerce is closed and the subsequent commerce is opened.

Averaging_FILTER_IndSigToTrade1
Averaging_FILTER_TF_IndSigToTrade1
Averaging_Filter1_Reverse
Sign filtering choices for opening extra positions.
The Knowledgeable Advisor checks the indications of the chosen indicator (Filter) and permits or forbids the opening of latest positions of an averaging or extra opening on a pattern.
The next choices can be found: Collection of the indicator for the filter, Timeframe, Reverse alertsFurther opening Block of capabilities for the extra opening of positions on a patternAdditionalOpeningEnabling the opening of extra offers.
If the Essential place goes into revenue by a sure variety of offers, our advisor opens a place of the identical kind. Thus, averaging the primary place.
This helps to high up with a profitable sign.
All of the capabilities of the Knowledgeable Advisor (trailing cease, Break-even (the breakeven level) …) will work from the center line of positions, which is calculated from all positions of the identical kind.
For instance:
If the SELL place is opened with a value of 1,200, and the worth goes down. Then, if the worth exceeds 100 factors (for instance) 1.100 – the advisor opens one other SELL place
The common line from these two positions = 1.150
The trailing cease and all different capabilities will work from the center line of those two positions.
Consideration: For various plenty of positions, the typical value is calculated by the mathematical formulation.StopLossALLThe gap of the overall stoploss on the opening of extra offers.
This selection is beneficial solely if you activate AdditionalOpening.
Units the given stop-loss from the present midline of all positions for ALL positions
Works solely when the refresh place is openedDistanceAdditionalOpening

Distance from the final open place of 1 kind.

The gap between the positions, the grid cell.
You’ll be able to set 100 factors.

Then every new refill place will probably be opened after 100 factors of revenue from the final open place

LotsMartinAdditionalOpening

Improve the lot for the grid positions.

The coefficient of improve of every refill place.
For instance:
Beginning lot of the primary place = 0.1
LotsMartin = 2, then
The subsequent lot of the opened refill place will probably be 0.2, 0.4, 0.8, and so forth.
Consideration: The center line will probably be calculated utilizing the formulation utilizing heaps.
It lets you convey the extent of Break-Even (break-even level) (center line) to the present value.
However martingale will be harmful to your account. Please, calculate this parameter in order that your deposit will face up to such a load

LotAdditionalOpening extra lot for an extra place for an extra opening by pattern.MaxOrdersOpenAdditionalOpening

The utmost variety of refilling positions.

If the grid positions are equal to MaxOrdersOpen, then the next refill positions are ignored

CloseFirstAfterMaxAdd

CloseFirstAfterMaxAdd – Shut the primary extra opening deal alongside the pattern (the very first of the present open offers),when the EA opened the utmost variety of offers with the MaxOrdersOpenAdditionalOpening parameter.

Similar as CloseFirstAfterMaxAverage Paramter.

Additional_FILTER_IndSigToTrade1
Additional_FILTER_TF_IndSigToTrade1
Additional_Filter1_Reverse
Sign filtering choices for opening extra positions.
The Knowledgeable Advisor checks the indications of the chosen indicator (Filter) and permits or forbids the opening of latest positions of an averaging or extra opening on a pattern.
The next choices can be found: Collection of the indicator for the filter, Timeframe, Reverse alertsTime Commerce choices The block of labor with the time of commerce, the time restrict.TradeStartStopbyTimeThe perform of labor on time.

  1. If TradeStartStopbyTime = false, then the Knowledgeable Advisor trades across the clock.
  2. If TradeStartStopbyTime = true, then the buying and selling time is enabled:
SeveralTimeWork

You may as well specify a number of time slots for buying and selling within the SeveralTimeWork parameter.

Recording format: HH: MM-HH: MM;

the place: Begin buying and selling hour: Minute begin buying and selling – Half cease buying and selling: Minute of cease buying and selling.
For instance, SeveralTimeWork = 3: 00-5: 00; 7: 30-8: 50; 12: 00-15: 00;
then the advisor will commerce 3 items of time. From 3 hours to five hours, from 7:30 to eight:50 and from 12:00 to fifteen:00. All the remainder of the time, the Advisor is not going to open new offers.

OpenHour OpenMinuteThe Knowledgeable Advisor checks the buying and selling time in line with the parameters: OpenHour: OpenMinute – the start of the commerce and CloseHour: CloseMinute – the tip of the commerce for 1 day.
For instance: OpenHour = 5 and OpenMinute = 0, and in addition CloseHour = 18 and CloseMinute = 59, then the EA will commerce each day from 5:00 to 18:59.ClosePeriod_MinuteIf you wish to specify the buying and selling interval from the beginning time, you’ll be able to set the parameter ClosePeriod_Minute – the interval in minutes.
For instance, OpenHour = 6 and OpenMinute = 0 and ClosePeriod_Minute = 180, then the advisor units the buying and selling time from 6:00 to 9:00 (6 + 180 minutes = 9 hours).CloseAllTradesByOutOfTime

Additionally you’ll be able to shut all open trades and pending orders throughout non-business hours, CloseAllTradesByOutOfTime = true.
On this case, the advisor will commerce on the time specified above, and when the buying and selling time is over, the advisor will shut all open positions and orders.

  1. – Not Use = Don’t use the perform
  2. – Positions and Orders = Shut positions and pending orders
  3. – Solely Positions = Closes solely positions
  4. – Solely Orders = Shut solely pending orders
TradeByDaysIn our block of labor on time YOU can specify Buying and selling days for commerce: TradeByDays
For instance, TradeByDays = true Days = 1,2,3 – on this case, the advisor will commerce solely on Monday, Tuesday, and Wednesday in line with the time set above. Or commerce across the clock for these 3 days, if time is just not set.
If YOU specified Days = 1,2,3,4,5 however the parameter TradeStartStopbyTimeFriday = false, the Knowledgeable Advisor is not going to commerce on Friday.DayForOptimizationAdditionally, you’ll be able to set 1 day for optimization within the parameter DayForOptimization.
This selection is beneficial to find out which days on the optimization have been essentially the most worthwhile.
For instance, DayForOptimization = 3, then the EA will solely commerce on Wednesdays.TradeStartbyTimeMondayThe Knowledgeable Advisor begins engaged on Monday, if set by TradeStartbyTimeMonday = true by the point OpenHourMonday: OpenMinuteMonday
For instance, OpenHourMonday = 3 and OpenMinuteMonday = 40, then the EA begins buying and selling on Monday at 03:40 on server time
(the time of your dealer, as indicated out there evaluate).TradeStartStopbyTimeFridayTradeStartStopbyTimeFriday – Buying and selling time for Friday.
In our advisor, YOU can set the time for a buying and selling advisor on Friday.
Time choices for Friday: OpenHourFriday: OpenMinuteFriday – CloseHourFriday: CloseMinuteFriday
For instance, you want the advisor to not open new offers on Friday after 18:00, then YOU set up:
OpenHourFriday = 0: OpenMinuteFriday = 0 – CloseHourFriday = 18: CloseMinuteFriday = 0
On this case, the advisor is not going to open new offers after 18:00CloseFridayAdditionally you’ll be able to shut all open trades and pending orders on Friday on the set time of 18:00, CloseFriday = true.BreakEven WithoutLOSS choices Block of labor with breakeven (Set stoploss to break-even at a selected second)MovingInWLUSEAllow the Undisturbed perform (cease loss on the breakeven level) to open positions.
Consideration: If the averaging or refilling perform is enabled, when the two or extra positions are opened, the Knowledgeable Advisor activates the Break-Even perform (stoploss on the break-even level) from the center line, and never from the opening value of positionsLevelWLoss

The extent of revenue in factors on which the Cease Loss is ready when this perform is enabled.

Distance from the opening value to the worthwhile stoploss

1 = 1 level of revenue

0 = Automated minimal revenue mode. The variety of factors of revenue for the Break-even (stoploss on the breakeven level) = Unfold of the present foreign money pair.

LevelProfitThe variety of revenue factors gained by the place for setting a stoploss within the LevelWLoss of revenue factorsCommonplace Trailing choices Commonplace trailing cease (Escorting positions, by modifying Stoploss into revenue!)TrailingStopUSEEnabling the usual trailing cease perform.
Be aware: If the averaging or refilling perform is enabled, in the event you open 2 or extra positions, the Knowledgeable Advisor activates the trailing cease perform from the center line, and never from the open place valueIfProfTrail
  1. – if true, the Advisor begins the modification solely when the place is gaining revenue to Breakeven (setting cease loss on the break-even level) + TrailingStop revenue factors.
  2. – if false – TrailingStop begins working instantly after opening a place and making a revenue of 0 factors and leaving a place as a revenue.

In different phrases: IfProfTrail = false, then the trailing cease begins working instantly after the place is in revenue

TrailingStopDistance trailing cease in factorsTrailingStepStep of cease loss at a trailing level in factorsSaveTPafterTrailingStopWhen enabled, the takeprofit of the modified positions will stay in place.
For instance:
SaveTPafterTrailingStop = false: When executing a trailing cease, the takeprofit of the modified place will probably be deleted;
SaveTPafterTrailingStop = true: When the trailing cease is executed, the takeprofit of the modified place will probably be saved.TrailingStop by SAR Parabolic Trailer Cease block (putting in and modifying stoploss on the Parabolic SAR indicator factors)TrailingStopSARAllow trailing cease perform on the Parabolic SAR indicator.
Consideration, if the indicator is at a loss for the place, the advisor waits till the parabolic level is in revenue for the place.
If we’ve got 2 or extra positions of the typical, then the Break-even (stoploss on the breakeven level) is taken into account from the mid-line of the combination positions.TrailingStopSAR_TimeFrameTimeframe for indicatormostIndicator settingsCloseALL when Revenue or LOSS choices Block of closing on the overall revenue or lossTypeofClose

Closing on the overall revenue or loss,

  1. in {dollars} (deposit foreign money),
  2. factors,
  3. p.c of the stability,
  4. p.c fairness.

The block lets you shut all positions on this image if the overall revenue or lack of all positions is the same as the set worth.

SeparateBuySell

Separate calculation and shutting of positions in two completely different instructions, BUY and SELL.

This perform individually closes two instructions for complete revenue or loss.

Precise, If ONlyOnePosbySignal = false and OnePosPerDirection = false.

Or any settings that permit you to open multiple course and multiple place within the course.

CloseProfit

Shut positions with a complete revenue.

  1. True – allow,
  2. False – disable
prifitessss

The variety of models ({dollars} (deposit foreign money), factors, p.c) for closing.

If the overall revenue on the positions of the foreign money pair is bigger than or equal to the worth of prifitessss, then all positions will probably be closed.

CloseLoss

Shut positions at a typical loss.

  1. True – allow,
  2. False – disable
lossss

The variety of models ({dollars} (deposit foreign money), factors, p.c) for closing.

TrailOptionsEmbrace trailing the overall revenue when exceeding prifitessss models.
This selection means the space from the prifitessss parameter to incorporate revenue trailing.
For instance prifitessss = $ 100 (deposit foreign money) TrailOptions = $ 10 then,
when the place beneficial properties a revenue of $ 100, the adviser is not going to shut these positions, however will set up a revenue degree of $ 90. Additional, if the revenue will increase by 1 greenback and turns into 101 {dollars}, the revenue degree will probably be fastened at 91 {dollars}.
If the revenue goes down and reaches 91 {dollars} – all positions will shut at this degree.TrailOptionsStepThe step of accelerating the fastened revenue degreeBalanceStartThe beginning stability, from which the share of the stability will probably be calculated. If 0 =, then the present account stability is ready.ForcedClosePressured closure of all positions after receiving a complete revenue or lossMailSendShip mail when closingOrderdeleteDelete pending orders when closing positionsOFFAfterClosePROFDisable the advisor after closing on the overall revenueOFFAfterCloseLOSSDisconnect the Knowledgeable Advisor after closing for a complete lossCloseTerminalAfterClosePROFClosing the terminal after closing on the overall revenueCloseTerminalAfterCloseLOSSShut the terminal after closing for a complete lossLimiting losses and earnings Limitation of losses and earnings for a sure intervalLimitFor

Restrict loss and revenue for 1 day Week Month
Limiting LimitFor – Restrict kind day / week / month
LimitForLosses – a restrict on revenue
LimitForProfits– loss limitation
LimitType – Restrict kind by {Dollars}, Factors, Deposit Curiosity
ClosebyLIMITING – Shut the advisor`s offers when the Restrict is exceeded
UseCurrentProfit – Take note of, when calculating the restrict, the present revenue/loss

This perform can disable the work of the Knowledgeable Advisor if the Knowledgeable Advisor gained a sure revenue/loss within the deposit foreign money for the day month week. The subsequent work of the adviser would be the subsequent day week month
For instance LimitFor = DAY LimitForProfits = 1 Complete revenue closing = 10 {dollars}
Additionally, you’ll be able to choose LimitType restrict kind for calculations. In {dollars}, factors, p.c of the stability of the account.
If you could shut and delete all offers for this Knowledgeable Advisor, in the event you exceed the boundaries, you’ll be able to put ClosebyLIMITING = true
The UseCurrentProfit parameter disables or lets you account for the present floating revenue/loss for this Knowledgeable Advisor

Within the Limiting losses and earnings block, a brand new kind NOTIME was added to the LimitFor parameter, when utilizing this sort, the adviser checks the
limits in the course of the time from the final shut!
Consideration: works solely when utilizing ClosebyLIMITING = true!
This sort lets you take into consideration closed positions and present positions because the final closing of the overall restrict. It doesn’t rely for
a day, per week, however for the interval between the earlier closing in line with the phrases of this block and the present time. When closing by Limits, the
counter units the present time.

DrawDown choices The block for controlling the opening of positions within the drawdownDrawDown_LevelDrawDown_Level – activate the drawdown management block
Type_DrawDownHR – the kind of drawdown calculation based mostly on offers in historical past and present offers
DrawDown_Level_One – the primary degree of drawdown in p.c double
Type_Deal_Level_One – motion when passing the primary degree of drawdown (disable new alerts disable averaging of offers or extra opening disconnect all offers show message)
DrawDown_Level_Two – the second degree of drawdown in p.c double
Type_Deal_Level_Two – motion when passing the second degree of drawdown (shut all worthwhile positions shut all loss-making positions shut all show message)

For instance:
DrawDown_Level = true, DrawDown_Level_One = 50, Type_Deal_Level_One = No_NewDeal, DrawDown_Level_Two = 90, Type_Deal_Level_Two = Close_All. With these settings, as quickly as the present drawdown of offers in historical past and present offers exceeds the extent of fifty% of the present deposit, EA can’t open new offers on new alerts. On the identical time, the averaging capabilities will work. When the drawdown exceeds 90%, EA instantly closes all offers.

Withdrawal Digital withdrawal instrument in technique tester for simulating the work with a depositOnTester_Custom_max

Within the Tester block, the variable OnTester_Custom_max is added, in which you’ll write down your criterion of genetic
optimization.
Extra particulars in regards to the check outcomes: Statistics
A report within the type of a formulation.

For instance :

OnTester_Custom_max = “STAT_PROFIT * STAT_TRADES / STAT_EQUITY_DD”

It’s necessary to specify the names of variables, as within the reference guide!

You’ll be able to set the minimal values at which the optimization will take into consideration the outcome throughout genetic enumeration!

In different phrases: You’ll be able to set a situation: “the minimal variety of offers” (or different parameters),
upon which this run will probably be counted consequently.

If throughout choice the advisor opens fewer offers than specified within the settings, then this run of the optimizer is not going to be counted consequently!

–Consideration! For superior customers solely.

  1. OnTester_Min_Trades = 0; // Min Offers for optimization
  2. OnTester_Min_Profit = 0; // Min Revenue for optimization
  3. OnTester_Min_ProfitFactor = 0; // Min ProfitFactor for optimization
  4. OnTester_Min_Balance = 0; // Min Stability for optimization
  5. OnTester_Min_Equity = 0; // Min Fairness for optimization
  6. OnTester_Max_Balance_DD = 0; // Max Stability DD% for optimization
  7. OnTester_Max_Equity_DD = 0; // Max Fairness DD% for optimization

Detailed USER GUIDE for this

WithdrawalAdded a digital withdrawal of funds within the tester:

Withdrawal – Allow digital withdrawal of funds when testing within the technique tester;
Withdrawal_mode – withdrawal mode, within the deposit foreign money, as a proportion of the present stability (foreign money/proportion);
Withdrawal_amount – Variety of withdrawal instruments;
Withdrawal_periodicity_days – Frequency of withdrawal in days;
Withdrawal_Max – Most withdrawal quantity;
Withdrawal_EndOfTest – Withdrawal after the tip of testing;



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *