Experts: VR---ZVER

 

VR---ZVER:

The EA uses three iMAs (Moving Average, MA), one iStochastic (Stochastic Oscillator) and one iRSI (RSI, Relative Strength Index). Positions are opened by market, as well as Buy Stop and Sell Stop pending orders are placed.

Author: Vladimir Karputov

 
Automated-Trading:

VR---ZVER:

Author: Vladimir Karputov


Hello Vladimir. I like your EA very much, so I would like to ask you. Can I add a Trailing Stop, and a switch, only Buy, and only Sell. It probably won't take you long to do it, because you are very good at it.

Thank you.

 
Shara1:

Hello Vladimir. I like your Expert Advisor very much, so I would like to ask you a question. Can I add a trailing stop and a switch, only Buy and only Sell? It probably won't take you long to do it, because you are very good at it.

Thank you.


"Switch" - meaning the EA needs two settings:

  • open BUY true/false
  • open SELL true/false.
I understand?

 
Vladimir Karputov:

"Switch" - meaning that the EA needs two settings:

  • open BUY true/false
  • open SELL true/false
is that what I understand?


I'm not a pgramist, but it must be as you say. It is necessary that it can only buy separately, in a given period of time, or only sell. Because in a rising market, it's not good to sell, and in a falling market, it's not good to buy. Stop losses should be smaller.

I mean in the tester.
Общие принципы - Торговые операции - MetaTrader 5
Общие принципы - Торговые операции - MetaTrader 5
  • www.metatrader5.com
Перед тем как приступить к изучению торговых функций платформы, необходимо создать четкое представление об основных терминах: ордер, сделка и позиция. — это распоряжение брокерской компании купить или продать финансовый инструмент. Различают два основных типа ордеров: рыночный и отложенный. Помимо них существуют специальные ордера Тейк Профит...
 
Shara1:

I'm not a grammarian, but it must be what you say. It is necessary that it can separately only buy, in a given period of time, or only sell. Because in a rising market, selling is not good, and in a falling market, buying is not good either. So that Stop Losses would be smaller.


Look, here's the situation: the setting "only BUY positions can be opened" was enabled. The Expert Advisor opened BUY positions. And now you decided to change the settings and set the setting "only SELL positions can be opened". In this case I would close all BUY positions. What do you think?

 
Vladimir Karputov:

Look, here is the situation: the setting "only BUY positions can be opened" was enabled. The Expert Advisor opened BUY positions. And now you decided to change the settings and set the setting "only SELL positions can be opened". In this case I would close all BUY positions. What do you think?


I meant when running in the tester to find the best values for the EA, because the market is changing. Trailing Stop is needed with adjustable parameters for the tester.

 
Shara1:

I meant when running in the tester, to find the best values for the EA, because the market is changing. Trailing Stop is needed with adjustable parameters for the tester.


I understand, something like this:

Separate setting for opening by position type

here both settings are enabled: you can open BUY and you can open SELL.

 
Vladimir Karputov:

I get it, something like that:

both settings are enabled here: you can open BUY and you can open SELL.


Yes, that's what I need. It won't be difficult for you to do it, will it?

 
Shara1:

That's what I need. It won't be difficult for you to do it, will it?


Please, NEVER ask on programmers' forums in the style of ".... It won't be hard for you to do it, will it?" or "You have 5 minutes of work here".

 
Vladimir Karputov:

Please, NEVER ask on programmer forums in the style of ".... It's not hard for you to do, is it?" or "You have 5 minutes of work here".


Thanks, I'll know. I meant that it is possible to do such a thing at all.

 
Shara1:

Thanks, I'll know. I mean, you can do that.


It is. I'll do it. Not fast :)