Mongoose
- Experten
- Vitalii Stepanov
- Version: 1.0
- Aktivierungen: 5
The fact is that the ADVISER reacts to the rate of price change and opens one or more positions, in the direction of its sharp movement, depending on the magnitude of the impulse. Further, to protect against draining the deposit, the adviser uses an adaptive "stop-loss", which is set based on local price extremes. The maximum amount of loss in points is set in the external parameters. The ADVISER finds local price extremes (at closing prices) automatically at a distance determined by the external parameter "depth" (depth of the market). The EA also sets the threshold of possible profit - "take-profit" after opening a position. Also, if you consider the cumulative profit level sufficient, you can use the "CLOSE ALL" button, which is present on the instrument chart, to close all positions on the current chart.
- MAGIC is the identification number of a specific instance of the Expert Advisor installed on the chart of the instrument. "MAGIC" is assigned to each position set by a specific instance of the Expert Advisor. Thus, it is possible to install several instances of the Expert Advisor with different settings for trading on the same instrument.
- Size is a critical parameter that determines the minimum size of the pulse to set the position in points.
- Coef is a critical parameter that determines the rate of price change for setting a position.
- depth - the depth of the market, a critical parameter.
- MaxLoss - the parameter sets the maximum amount of loss for a position in points. The Expert Advisor sets a stop order based on the local levels that it finds in the process of working on historical data. Nevertheless, the distance to the stop order cannot exceed the value of the specified parameter.
- Lots - the lot size for the position.
- Topping_up - Topping up the position. The parameter sets the maximum number of positions in one direction (buy or sell). If the parameter value is greater than "1", additional positions will be opened with a prolonged pulse. It is possible to increase the drawdown.
- TimeStart - the beginning of a pause in the work of the adviser.
- TimeEnd - the end of the pause in the work of the adviser. The values are entered in the - hours : minutes mode. You can choose the trading time by setting the pause time in 24-hour mode. At this time, the EA will not open new positions, those positions that are open will be closed according to the algorithm, regardless of the selected pause interval.
- BUY - when set to <true>, long positions (buy) will be opened.
- SELL - if the value is <true>, short positions will be opened (sell).
- DROW - if the parameter value is <true>, the chart will reflect the found local price extremes at the distance set by the "depth" parameter. The levels are set at the "CLOSE" prices of the selected bar. This parameter greatly slows down the work of the strategy tester, so the parameter value during testing and optimization should be set to <false>.
- rsi_sell - filter for opening a sell position by rsi
- rsi_buy - filter for opening a buy position by rsi
I recommend trading buy and sell on each instrument separately, on different charts and with different values of the "MAGIC" parameter. Buying on one chart, selling on another. That is, on one chart: the "BUY" parameter is true, the "SELL" parameter is false, on the other chart the opposite is true. Accordingly, it is also necessary to optimize the parameters separately. Separately for purchase, separately for sale.
Several sets in the "Discussion" section.