• Visão global
  • Comentários
  • Discussão

Red Blue Lines

The advisor's trading strategy is based on the idea that once the price enters the overbought or oversold zone, it usually rolls back.
To better understand when the EA can open an initial trade, the EA uses red and blue lines:

  • Red line   intended for sales(SELL) transactions;
  • Blue line   intended for purchase(BUY) transactions.

When the market price reaches these lines, it becomes the first signal to start trading. After that, when all the conditions set in the algorithm are met, the adviser will automatically open the first transaction.

If the market reverses against the open position, the advisor uses loss recovery through averaging orders. This allows you to continue trading even if the previous transaction became unprofitable.

At the moment the adviser works with the instrument "gold" on cent accounts. To learn more, visit my   profile , or write in private messages.

The results of backtesting and real trading are very similar.   This allows me to trust the backtesting results and create the best settings for trading on a real account. The screenshots show the results of real trading and the settings used on a real account.

I think the advisor has great potential. However, testing and adjusting the settings takes a lot of time. I think we could save a lot of time if we tested it together. If you agree, I will be glad to see you in the list of advisor users.

Description of variables:

**   General   **    settings used for both initial and averaging orders. The magic number – the magic number of the order. It is used as a user-defined identifier. By this number, the advisor finds its orders that it is allowed to work with.

StopLoss (point) – the size of the stop loss for each order placed by the advisor.

UseIndicator – select an indicator for the advisor to work with from the suggested ones:

  • PointZigZag – the “Point Zig Zag” indicator is used. The indicator needs to be installed in the terminal. To test the advisor, it is enough to install the demo version of the “ PointZigZag ” indicator.
    Attention!   After installing the i_PointZigZag indicator, check the installation location:   MQL4 > Indicators > Market > Point Zig Zag.ex4
  • ZigZag   – the standard indicator “Zig Zag” is used with settings from the variable “Depth (for i_ZigZag)”.

Ratio Trend/Pullback = – the ratio of the expected trend size to the value of the “Minimum Pullback Size (point)” parameter. This is used to determine the size of the current trend to begin with.

Minimum Pullback Size (point) – Estimated Minimum Pullback Size (in point) from the last Extremum.

Depth (for i_ZigZag) – setting of the standard indicator “Zig Zag".

MomentumBack_SizeMin(point) – minimum size (in points) of the reverse impulse.

MomentumBack_SizeMax(point) – maximum size (in points) of the reverse impulse.


**   Startup   **    settings used for initial orders.

Correction of the indicator selection (true/false). The setting works only if "UseIndicator == PointZigZag". Takes into account possible redrawing of the indicator.

Terminal/Trade/No orders – selection (true/false). Setting initial (starting) orders is allowed only if there are no open or pending orders in the terminal.

startHOUR, startMINUTE, stopHOUR, stopMINUTE – time allowed for placing initial (starting) orders.

Lot size (for the starting order) – the desired volume for the initial (starting) order.

Risk in %(for the starting order) - if the value is 0, the variable is not used. If the value is greater than 0 (zero), the initial (starting) lot will be automatically calculated in the specified percentage of available funds.

TakeProfit (point) – profit level for the initial (starting) order. If the value is 0 (zero), the [tp] level is not set.


**   Averaging   ** -   settings used to recover losses using averaging positions.

MomentumBackAv_SizeMin(point) – minimum size (in points) of the reverse impulse.

MomentumBackAv_SizeMax(point) – maximum size (in points) of the reverse impulse.

Distance (for Grid_Average) – minimum distance for placing averaging orders.

Martin (only for Series) – coefficient of volume increase during averaging.

Number of orders in the series(only for Series) – desired number of orders in the series

TakeProfit (for Grid_Average) – TakeProfit value in points for averaging orders.

MaxLot (for Grid_Average) – the maximum allowed lot size value for averaging.


**   Closing   ** -   settings for automatic closing of positions by the advisor.

Automatic closing of positions - selection:

  • NotClose_Avto - automatic closing of positions by the advisor is not used.
  • UsedClose_Avto - automatic closing of positions by the advisor is used.

Target is money (if there is more than one position in the Cycle) - the minimum target in money for permission to automatically close positions.

** Display **

Display RIGHT_UPPER information – select (true/false) to show information about the settings on the chart (upper-right corner).

Display RIGHT_LOWER information – select (true/false) to show additional information on the chart (lower-right corner)




Mais do autor
New version 3.00 is available.   In this version, I tried to take into account the wishes of the user. The EA opens trades when the ZigZag extremum point is broken, if before that   RSI   moved to overbought or oversold levels. When breaking through the upper point of the ZigZag extremum and if before that   RSI   moved to the oversold level     - The adviser opens a deal to buy. And when the lower point of the zigzag extremum is broken   and if before   RSI   moved to the level   overbought
FREE
Point Zig Zag
Oleg Popov
4.33 (6)
The indicator is a polyline (ZigZag segment) that tracks and connects the extreme points of the chart price that are at least a specified size apart from each other in points on the price scale. The one and only setting is the minimum size (in points) of a ZigZag segment. The indicator displays levels to determine a possible trend reversal: level    "LevelForUp" -  the breaking of this level determines the possible reversal of the trend up (to buy); level     " LevelForDown   " -  the breakin
Zigzag Extremum points
Oleg Popov
4.81 (32)
New version 8.00 is available. In this version, I tried to take into account the wishes of the user. Each of you can also take part in the improvement of this advisor. In the default settings, the adviser opens trades when the extremum point is broken       standard indicator       Zigzag. When the upper point of the zigzag extremum is broken, it opens a buy deal, and when the lower point of the zigzag extremum is broken, it opens a sell deal. In addition to the standard ZigZag indicator, whi
FREE
Averager NEW
Oleg Popov
4 (6)
Expert Advisor Features trailing profit in the deposit currency (Trailing Stop Money) closing by a profit or loss in the deposit currency opening orders at a specified time managing positions opened manually or by another Expert Advisor calculating initial lot based on the current balance limiting the maximum lot volume choosing trading type several types and methods of averaging visually displays the current breakeven price, draws horizontal lines "Line break even BUY"-blue, "Line break even
FREE
Filtro:
Sem comentários
Responder ao comentário