Experts: VR---SETKA---3

 

VR---SETKA---3:

VR---SETKA---3 - MetaTrader 5 Expert Advisor. This is a continuation of VR---SETKA . The EA is based on the martingale principle. Grid. Martingale. Use only on hedge accounts.

Author: Vladimir Karputov

 
Automated-Trading:

VR - SETKA - 3.

Author: Vladimir Karputov


Is there a MQL4 for the owner ~~~

 

Hello,

May I ask what is the role of the InpPlus parameter please ?

Thank You :)

 
Frederic Fachard :

Hello,

May I ask what is the role of the InpPlus parameter please ?

Thank You :)

This is an offset from the estimated price.

 

Can you please make this EA for MT4?


Thank You.

 
rugmo :

Can you please make this EA for MT4?


Thank You.

Are you laughing :) I do not work with the old terminal.

 
Hello. I like the EA very much. Looked at the code, super. I'm just studying it myself. Could you please tell me how difficult it is to improve the following: add a parameter X for the number of orders after which the EA will close the deal when returning to the level of the previous order. For example, the Expert Advisor took 5 orders A,B,C,D,E, the parameter X is set to 4. So the order E when it reaches the level of D should close. Well or please tell me where it is better to implement it in the code. Thank you very much.
 
astrologer Аполонов:
Hello. I like the EA very much. Looked at the code, super. I'm just studying it myself. Could you please tell me how difficult it is to improve the following: add a parameter X for the number of orders after which the EA will close the deal when returning to the level of the previous order. For example, the Expert Advisor took 5 orders A,B,C,D,E, the parameter X is set to 4. So the order E when it reaches the level of D should close. Well or please tell me where it is better to implement it in the code. Thank you very much.

This code does not work with pending orders and was never intended to work with pending orders.

 
Vladimir Karputov:

This code does not work with pending orders and was never intended to work with pending orders

Apparently you did not understand me correctly, I meant only for open orders

 
astrologer Аполонов:

Apparently you did not quite understand me correctly, I meant only on open orders

Forum on trading, automated trading systems and testing trading strategies

Expert Advisors: VR---SETKA---3

Vladimir Karputov, 2018.12.24 08:55 AM

This code does not work with pending orders and was never intended to work with pending orders.


Read the help: General principles

General Principles

Before you start exploring the trading features of the platform, you need to create a clear understanding of the basic terms: order, transaction and position.

  • An order is an instruction to a brokerage company to buy or sell a financial instrument. There are two main types of orders: market and pending. Besides them, there are special orders Take Profit and Stop Loss.
  • Transaction is the fact of buying or selling a financial instrument. Buying (Buy) takes place at the bid price (Ask), and selling (Sell) - at the offer price (Bid). A deal can be made as a result of execution of a market order or triggering of a pending order. It should be taken into account that in some cases the result of order execution may be several transactions at once.
  • Position is a market commitment, the number of bought or sold contracts on a financial instrument. Long position (Long) is a financial instrument purchased in the expectation of price increase, Short position (Short) is a commitment to deliver it in the expectation of price decrease in the future.
 
Vladimir Karputov:

Read help: General principles

General Principles

Before starting to explore the trading functions of the platform, it is necessary to create a clear understanding of the basic terms: order, transaction and position.

  • An order is an instruction to a brokerage company to buy or sell a financial instrument. There are two main types of orders: market and pending. Besides them, there are special orders Take Profit and Stop Loss.
  • Transaction is the fact of buying or selling a financial instrument. Buying (Buy) takes place at the bid price (Ask), and selling (Sell) - at the ask price (Bid). A deal can be made as a result of execution of a market order or triggering of a pending order. It should be taken into account that in some cases the result of order execution may be several transactions at once.
  • Position is a market commitment, the number of bought or sold contracts on a financial instrument. Long position (Long) is a financial instrument bought in the expectation of price increase, Short position (Short) is a commitment to deliver it in the expectation of price decrease in the future.

Thanks, I read it. But I need the Expert Advisor to close a deal after exceeding the specified number of X orders at each return to the level of the previous order.

Let's say I want to use no more than 10 on one currency pair, and as soon as the EA takes the 11th order and returns to the opening level of the 10th order, the 11th order should close.