If the price goes up on Stop LossTake Profit probability value, it will add values to possible raise for this pattern, if down - it will increase probability value down. Its virtual positions are opened for each of three patterns: pattern parameter, pattern number (its form) and for each value of Stop LossTake Profit.
Also for each of these combinations in accordance with virtual trade up or down probability is calculated. If according to any combination of three parameters (parameter, number, Stop LossTake Profit) no less than 10 virtual deals are created, if the same situation on the market occurs (definite parameter and number pattern is autodetected), in that case can be considered position opening with a direction definite to probability calculated on the basis of this statistics by Stop LossTake Profit value. As the author of the Expert Advisor writes: "It can take several weeks". The process of gathering statistics wallstreet forex trading can be sped up using the tester. However, tick price changes in tester and a real market can differ greatly. The author recommends doing it this way: to teach wallstreet forex trading the Expert Advisor in tester and then run it on demo account for nearly a week.
Wallstreet forex trading Said.If the Expert Advisor shows positive results (hereby it will study a little), so it will be possible to use it on a real account. First stage of the Expert Advisor preparing to work will wallstreet forex trading be optimization of its parameters: Nidel, Nstop, wallstreet forex trading dstop, forg, Probab, NN, delta. On this stage optimization is performed with turned-off parameters wallstreet forex trading of ReadHistory and SaveHistory. After an acceptable combination of parameters is found, it is necessary wallstreet forex trading to perform one test with SaveHistory=true. Then run the Expert Advisor on account from wallstreet forex ReadHistory=true trading - the Expert Advisor starts to work wallstreet forex trading immediately as it gathered sufficient statistics in wallstreet forex trading tester. Switch on SaveHistory when working in account is recommended in order to save data automatically when the Expert Advisor will be wallstreet forex trading overlearned and ready to start to work wallstreet forex trading in case of restart of the Expert Advisor.
When using SaveHistory in tester post-run wallstreet forex trading testing learning data is saved in file, it has a name the FD_[Symbol]. If the Expert Advisor tests on EURUSD file will have a name the «FD_EURUSD», if on wallstreet forex trading GBPUSD – the «FD_GBPUSD», etc.
Enough so when the price is far away can be bought or sold wallstreet forex trading short on counter swings, as well as to get a warning of impending same for all pairs; the only difference is that uncorrelated.Wallstreet forex trading Both versions.
The image shows learning results of work of the Expert Advisor on EURUSD wallstreet forex trading M15 with default settings. During testing the history is saved up to the end of testing, when work on account - regularly by way of overlearning. Nstop - Number of virtual position parameters (different values of Stop wallstreet forex trading Loss and Take Profit, Stop Loss and Take Profit are equal), 1, 2 or 3. dstop - Step of virtual positions parameters changes (Stop Loss and Take Profit).
forg - Rate of forgetting learning results, value wallstreet forex trading should be a little more than 1. Probab - Probability level defined easy fx account login by learning results on which position opening performs. ReplaceStops - To modify Stop LossTake Profit on new opening signals.
Wallstreet forex trading Can add other.Stop LossTake Profit transposition is operated only up to position direction. Trailing wallstreet forex trading - Trailing stop level; when the value is 0, the trailing stop is disabled. Introduction to MQL5: How to write simple Expert Advisor and Custom Indicator. MetaQuotes Programming Language wallstreet 5 (MQL5) forex trading, included in MetaTrader 5 Client Terminal, has many new possibilities and higher performance, compared to MQL4.
This article will help you to get acquainted with forex software learning this new wallstreet forex trading programming language. The simple examples of how to write an Expert Advisor and Custom Indicator wallstreet forex trading are presented in this article. We will also consider some details of MQL5 language, that are necessary to understand these examples. The article details and full description of MQL5 wallstreet forex trading can be found in MQL5 Reference, included in MetaTrader 5. Information contained in MQL5 built-in help is sufficient to study the language.