[0] Skilled Advisor |
Magic |
Defines the professional advisor magic quantity, which uniquely identifies offers/trades executed by this EA. |
[0] Skilled Advisor |
Buying and selling image |
Image through which trades will probably be executed. If no worth is about, the outlined technique tester or chart image is outlined. That is helpful when working on non-tradeable futures historic sequence or in case your technique calls for buying knowledge from one image (outlined within the ST or within the chart), however trades on one other one. |
[0] Skilled Advisor |
Get underlying image |
Will get the underlying image for the brazilian futures sequence (WIN and WDO). Solely works in brazilian market. Must be set to false in ANY different case to keep away from errors. |
[0] Skilled Advisor |
Be aware N |
Set observations to this particular EA. This isn’t used for the stategy and has no impact within the EA by any means. |
[1] Buying and selling Settings |
Buying and selling mode |
Defines if the EA could have just one place at time or whether it is allowed to open a number of positions at any time when a brand new purchase/promote sign is obtained. |
[1] Buying and selling Settings |
Indicators timeframe |
Defines the worldwide timeframe for indicators. This may be overriden within the particular indicator timeframe settings. |
[1] Buying and selling Settings |
Use begin time |
Defines if Begin time situation is allowed to be checked. |
[1] Buying and selling Settings |
Use finish time |
Defines if Finish time situation is allowed to be checked. |
[1] Buying and selling Settings |
Use shut time |
Defines if Shut time situation is allowed to be checked. |
[1] Buying and selling Settings |
Begin time |
Units the beginning time so the EA can function. This does embrace the time set (should you set it to 09h00 and also you’re working on the M1 timeframe, the primary candle evaluated would be the 09h00 candle). |
[1] Buying and selling Settings |
Finish time |
Units the tip time so the EA can not open any new positions. This doesn’t embrace the time set (should you set it to 15h00 and also you’re working on the M1 timeframe, the EA will nonetheless be capable of open new positions at 15h00; not anymore at 15h01). |
[1] Buying and selling Settings |
Shut time |
Units the shut time so the EA can not open any new positions and closes all open positions . This doesn’t embrace the time set (should you set it to 17h00 and also you’re working on the M1 timeframe, the EA will nonetheless be capable of open new positions till 17h00 if the tip time just isn’t set in any other case ; not anymore at 17h01, time at which all positions may also be closed). |
[1] Buying and selling Settings |
Ignore first day bar |
The EA won’t consider the final candle of the day earlier than. Because of this the primary purchase/promote situation will probably be evaluated after the primary candle of the day is closed. |
[1] Buying and selling Settings |
Indicator buffer replace bars |
Defines how a lot knowledge (in bars) shall be retrieved from the indications. The default worth is just about sufficient for many circumstances, but when you could retrieve values older than the final 8 bars (together with the present opening one), enhance this worth. Setting a price decrease than the required by the circumstances you specify might return an Array out of vary error. |
[1] Buying and selling Settings |
Present indicators on stay chart |
If true, masses the indications on stay chart. |
[1] Buying and selling Settings |
Present indicators whereas testing |
If true, reveals indicators on the technique tester visible mode. |
[1] Buying and selling Settings |
Permit to switch present trades |
If Allow , permits the EA to switch TP and SL ranges. That is legitimate for any modification of take revenue or cease loss , together with trailing stops (not carried out) or breakeven (later part). If Disabled, even when any modification possibility is about, the EA won’t modify the outlined TP or SL when the place was opened. |
[1] Buying and selling Settings |
Reference worth for TP/SL |
Defines the reference worth to outline take revenue/cease loss within the Mounted mode. That is necessary to guarantee that technique tester outcomes are nearer to the anticipated in actual buying and selling. – TP/SL from present open states that take revenue/cease loss is calculated from the present open worth (default; this ensures the higher outcomes, as a result of the place is at all times executed on the first tick of a brand new candle, i.e., the present open worth); – TP/SL from final shut states that take revenue/cease loss is calculated from the final shut worth (could also be deceptive, because the present open will not be equal to the final shut in sure circumstances, specifically in swing buying and selling); – TP/SL from bid/ask states that take revenue/cease loss is calculated from the bid/ask (this might be the most suitable choice; nonetheless, bid/ask might differ rather a lot in technique testing. Additionally, in actual buying and selling, this may put your tp/sl ranges means above/under the specified stage in a means that the order can be executed within the backtesting, however not in an actual buying and selling). |
[2] Tester Settings |
Take a look at kind |
If the technique tester optimization standards is Customized Max , it returns the outlined worth on this variable. All the time desire Customized Max and outline the optimization technique this manner, so the optimizing checks are quicker should you outline any of the following parameters. |
[2] Tester Settings |
Permit features on mode |
Permits Max Drawdown , Max trades , Max commerce by commerce drawdown and Max absolute stability loss on the required testing mode. |
[2] Tester Settings |
Max drawdown (%) |
Defines the utmost drawdown. If the EA detects an even bigger drawdown, it instantly stops testing, considerably growing the take a look at pace. |
[2] Tester Settings |
Max trades |
Defines the utmost variety of trades. If the EA detects extra trades, it instantly stops testing, considerably growing the take a look at pace. |
[2] Tester Settings |
Max commerce by commerce drawdown |
Defines the utmost commerce by commerce drawdown (i.e., consecutive losses drawdown). If the EA detects an even bigger commerce by commerce drawdown, it instantly stops testing, considerably growing the take a look at pace. |
[2] Tester Settings |
Max absolute stability loss |
Defines the utmost stability loss. If the EA detects an absolute drawdown greater than the required worth, it instantly stops testing, considerably growing the take a look at pace. |
[2] Tester Settings |
Withdrawal situation |
If the person desires to simulate withdrawals whereas testing, set this situation to any worth besides None . – Withdraw Every day, Weekly and Month-to-month makes withdrawals each outlined interval; – Withdraw when stability is greater/decrease than makes withdrawals if stability is greater/decrease than the worth within the variable Reference cash to withdraw . |
[2] Tester Settings |
Reference cash to withdraw |
Defines the reference cash to begin withdrawing (instance: if Withdrawal situation is Withdraw when stability is greater than and Reference cash to withdraw is 10.000, withdrawals will probably be made as soon as a day, within the first candle, earlier than the primary commerce, at any time when the stability is greater than 10.000). |
[2] Tester Settings |
Withdrawal quantity |
Defines the quantity to withdraw. |
[2] Tester Settings |
Deposit situation |
If the person desires to simulate deposits whereas testing, set this situation to any worth besides None. – Deposit Every day , Weekly and Month-to-month makes deposits each outlined interval; – Deposit when stability is greater/decrease than makes deposits if stability is greater/decrease than the worth within the variable Reference cash to deposit . |
[2] Tester Settings |
Reference cash to deposit |
Defines the reference cash to begin deposition (instance: if Deposit situation is Deposit when stability is decrease than and Reference cash to deposit is 10.000, deposits will probably be made as soon as a day, within the first candle, earlier than the primary commerce, at any time when the stability is decrease than 10.000). |
[2] Tester Settings |
Deposit quantity |
Defines the quantity to deposit. |
[3] Indicators |
[3.N] Indicator |
Desired indicator from the record. The N signifies the index of the indicator which will probably be used within the indicators/revenue ranges/trailing stops (0 = index 0, 1 = index 1, and so forth., as much as 9 = index 9). |
[3] Indicators |
[3.N] Path to customized indicator |
Units the trail to the customized indicator (it should be at MQL5Indicators ). |
[3] Indicators |
[3.N] Indicator timeframe |
Timeframe at which the indicator will probably be launched. If this worth is apart from present, it overrides within the international Indicators timeframe enter outlined within the [1] Buying and selling Settings part. |
[3] Indicators |
[3.N] Param 1 |
1st indicator parameter. If it is a customized indicator, this parameter MUST be the quantity of buffers within the indicator, and the 2nd parameter is definitely the first parameter of the indicator and so forth. |
[3] Indicators |
[3.N] Param 2 |
2nd parameter. |
[3] Indicators |
[3.N] Param 3 |
third parameter. |
[3] Indicators |
[3.N] Param 4 |
4th parameter. |
[3] Indicators |
[3.N] Param 5 |
5th parameter. |
[3] Indicators |
[3.N] Param 6 |
6th parameter. |
[3] Indicators |
[3.N] Param 7 |
seventh parameter. |
[3] Indicators |
[3.N] Param 8 |
eighth parameter. |
[3] Indicators |
[3.N] Param 9 |
ninth parameter. |
[4] Entry indicators |
Permit purchase indicators |
Permit to open purchase positions. If false , no purchase positions will probably be opened. |
[4] Entry indicators |
Permit promote indicators |
Permit open promote positions. If false , no promote positions will probably be opened. |
[4] Entry indicators |
Purchase indicators filling mode |
Filling mode for purchase indicators. If Fill all circumstances , all outlined circumstances should be concurrently met to open a brand new purchase place; If Fill any circumstances , any of the outlined conditios should be met to open a brand new purchase place, whatever the others. |
[4] Entry indicators |
Promote indicators filling mode |
Learn the documentation for Purchase indicators filling mode . |
[4] Entry indicators |
Widespread indicators filling mode |
Particularly for this parameter, if there are not any frequent indicators, this ought to be set to Fill any situation, in any other case, no place will probably be opened. Learn the documentation for Purchase indicators filling mode . |
[4.1] Purchase indicators [4.2] Promote indicators [4.3] Widespread indicators |
[X.Y] Sequence to match |
Signifies the primary sequence used for comparation. The X signifies the variety of the sign (since there are the likelihood to set 5 indicators, it ranges from 1 to five), primarily used for group. The Y means the worth to be in contrast; there are 2 values per sign, so it ranges from 1 to 2, and worth 1 will probably be in contrast in opposition to worth 2. If it outcomes to true, and all different circumstances are fullfiled in line with the set filling mode, a purchase sign is returned. The sequence are outlined as adopted: – Open, Excessive, Low and Shut return the outlined sequence; – Amplitude returns the amplitude (distance between excessive and low) of the candle; – Amplitude (open-close) returns the open-close distance (candle physique); – Mounted returns no sequence, however a pre-defined person enter worth set within the enter Bar shift/Mounted worth; – Indicator returns an indicator buffer, whose parameteres are outlined within the subsequent inputs; – Tick quantity returns the tick quantity sequence; – Actual quantity returns the true quantity sequence. |
[4.1] Purchase indicators [4.2] Promote indicators [4.3] Widespread indicators |
[X.Y] Math operation on sequence |
Apply a mathematical operation to the sequence worth with the worth set within the variable Worth . It may be one of many following: – None : no operation is utilized; – Add: provides the sequence worth to the worth outlined in Worth ; – Sub: subtract the sequence worth by the worth outlined in Worth ; – Mult: multiply the sequence worth by the worth outlined in Worth ; – Div: divide the sequence worth by the worth outlined in Worth ; – Highest: will get the best worth. The beginning worth is outlined within the parameter Bar Shift/Mounted worth , whereas the depend to look the best worth is outlined by the variable Worth ( instance: if Bar Shift/Mounted worth is 1 and Worth is 7, it is going to seek for the best worth, ranging from the bar of index 1 to the bar of index 7, i.e., 7 bars again). If the sequence is particularly outlined as Indicator , Bar Shift/Mounted worth shall not be increased than the Indicator buffer replace bars enter, nor the sum of Bar Shift/Mounted worth and Worth ought to be greater than Indicator buffer replace bars enter, in any other case, an Array out of vary error might elevate. – Lowest: will get the bottom worth. Behaves precisely as Highest parameter. – Common : will get the straightforward common of the sequence. Behaves precisely as Highest and Lowest . |
[4.1] Purchase indicators [4.2] Promote indicators [4.3] Widespread indicators |
[X.Y] Worth |
Worth to be utilized by a mathematical operation, in line with the specified enter Math operation to sequence . |
[4.1] Purchase indicators [4.2] Promote indicators [4.3] Widespread indicators |
[X.Y] Indicator index |
If Sequence to match is about to Indicator, units the indicator index from which to retrieve knowledge (learn [3.N] Indicator enter for more information.). Has no impact in any other case. |
[4.1] Purchase indicators [4.2] Promote indicators [4.3] Widespread indicators |
[X.Y] Indicator buffer |
If Sequence to match is about to Indicator, retrieves knowledge from the buffer indicated by this enter. Has no impact in any other case. If Indicator buffer is about to a price greater than the quantity of buffers of the chosen indicator, it could lead to an Array out of vary error. |
[4.1] Purchase indicators [4.2] Promote indicators [4.3] Widespread indicators |
[X.Y] Bar shift/fastened worth |
The bar to retrieve knowledge, starting from 0 to Indicator buffer replace bars if Sequence to match is about to Indicator. If Sequence to match it’s set to the rest, apart from Indicator or Mounted, it ranges from 0 to the utmost quantity of bars in any other case. If Sequence to match is about to Mounted, this enter represents the fastened worth. |
[4.1] Purchase indicators [4.2] Promote indicators [4.3] Widespread indicators |
[X.Y] Comparability technique |
Defines the comparability technique to judge the situation. If X.1 compares true in opposition to X.2, it could lead to a purchase sign. |
[5.1] Order Kind |
—————– |
Order kind just isn’t carried out but and solely orders at market are allowed. Altering enter parameters shall haven’t any impact. |
[5.2] Take Revenue [5.3] Cease loss |
Replace take revenue ranges Replace cease loss ranges |
If true , it permits the recalculation of take revenue ranges. If the following Take revenue sequence on each purchase/promote is about to Mounted , this has no impact. In any other case, the take revenue stage will probably be up to date to the brand new knowledge of the chosen sequence knowledge. Instance: suppose you the order is opened with take revenue on a transferring common. Each candle, if this enter is true, the take revenue will probably be set to the brand new transferring common worth. If that is false, the take revenue will stay the identical as initially set. |
[5.2] Take Revenue [5.3] Cease loss |
Add unfold to take revenue Add unfold to cease loss |
Provides the unfold to the calculation of take revenue and cease loss. This makes the take revenue comes nearer to the entry worth, whereas the cease loss goes additional away. This fashion we will make simpler, by the market circumstances, to set off the TP and tougher to set off SL, but in addition at the price of profiting much less and dropping a bit extra. |
[5.2] Take Revenue [5.3] Cease loss |
Take revenue sequence on each purchase/promote |
Learn the documentation for [X.Y] Sequence to match . The one distinction is the likelihood to set this enter to Mounted bars, which corresponds to closing the place after N bars (outlined by the enter Mounted take revenue/bars ) have handed. N represents the variety of closed bars after a place is opened . If that is set to None , then the EA will ignore the following inputs and can search the particular inputs for purchase and promote outlined proper afterwards. |
[5.2] Take Revenue [5.3] Cease loss |
Math operation |
Learn the documentation for [X.Y] Math operation to sequence . |
[5.2] Take Revenue [5.3] Cease loss |
Worth |
Learn the documentation for [X.Y] Worth . |
[5.2] Take Revenue [5.3] Cease loss |
Indicator index |
Learn the documentation for [X.Y] Indicator index . |
[5.2] Take Revenue [5.3] Cease loss |
Indicator buffer on each purchase/promote |
Learn the documentation for [X.Y] Indicator buffer on each purchase/promote . |
[5.2] Take Revenue [5.3] Cease loss |
Bar shift/fastened worth |
Learn the documentation for [X.Y] Bar shift/fastened worth. This additionally is about when Take revenue sequence on each purchase/promote is set to Mounted bars and shall correspond to the quantity of bars which have handed to shut the place. |
[5.4] Trailing Cease |
—————– |
Trailing cease is carried out, however not documented but. |
[5.5.1] Quantity |
Calculation kind |
Methodology to set the quantity for trades. It may be both: – Mounted: quantity the identical as outlined in Default lot/danger (%) enter. It may be modified should you outline operations to alter quantity on a worthwhile or dropping operation. In any other case, it’s at all times the identical. – Stability share %: quantity is calculated primarily based on the cease loss stage and a share of your stability outlined by the Default lot/danger (%) enter . Say you may have a stability of U$ 10,000.00 and units the stability share quantity as 1% of it. Meaning you need the cease loss to be 1% of your stability. If a tick corresponds, for instance, to U$ 1.00 and the cease loss is 10 ticks away from the value, it means you’ll be risking U$ 10.00 as per minimal quantity (for instance 1 lot). If 1% of your stability is U$ 100.00, then you may commerce 10 heaps on this operation, so you’ll danger 1% of your account. |
[5.5.1] Quantity |
Default lot/danger (%) |
Parameter set in line with the chosen Calculation kind enter. |
[5.5.1] Quantity |
Operation on loss |
Mathematical operation in case the final commerce is a dropping commerce. That is ignored in case Calculation kind is about as Stability share % . |
[5.5.1] Quantity |
Quantity operation worth on loss |
Worth of the mathematical operation on loss. |
[5.5.1] Quantity |
Operation on revenue |
Mathematical operation in case the final commerce is a worthwhile commerce. That is ignored in case Calculation kind is about as Stability share % . |
[5.5.1] Quantity |
Quantity operation worth on revenue |
Worth of the mathematical operation on loss. |
[5.5.1] Quantity |
Most quantity |
Most quantity attainable after mathematical operations. |
[5.5.1] Quantity |
Minimal quantity |
Minimal quantity attainable after mathematical operations. |
[5.5.1] Quantity |
Reset to init quantity on loss |
Resets the quantity set by a mathematical calculation to the preliminary quantity initially outlined by Default lot measurement after a dropping commerce. Has no impact in case Calculation kind is about as Stability share %. |
[5.5.1] Quantity |
Reset to init quantity on revenue |
Resets the quantity set by a mathematical calculation to the preliminary quantity initially outlined by Default lot measurement after a worthwhile commerce. Has no impact in case Calculation kind is about as Stability share %. |
[5.5.2] Cash |
Cease calculation kind |
Defines the strategy to calculate the values to cease buying and selling within the interval. At the moment solely Cash is offered, which signifies that after a sure stage of revenue/loss is reached, it stops buying and selling till the situation is renewed. |
[5.5.2] Cash |
Cease buying and selling interval |
Defines the interval to cease buying and selling. It may be Every day, Weekly or Month-to-month. |
[5.5.2] Cash |
Max revenue within the interval |
Units the utmost revenue to cease buying and selling within the interval outlined by Cease buying and selling interval enter. If set to 0, this parameter is ignored. |
[5.5.2] Cash |
Max loss within the interval |
Units the utmost loss to cease buying and selling within the interval outlined by Cease buying and selling interval enter. If set to 0, this parameter is ignored. |
[5.6] Breakeven |
% from worth |
Share already moved from the value to set off the breakeven. Instance: the value is at U$ 10.00 and take revenue is outlined at U$ 11.00. The distinction is U$ 1.00. If this enter is about at 90%, the cease loss will probably be moved to breakeven when worth reaches U$ 10.90 (90% between opening worth and take revenue). |