Experts: VR---ZVER v.2 - page 3

 
Vladimir Karputov:
If you set zero stops, then there will be an error.
And it can not be fixed somehow, and also to make that when you switch it on, indicators would appear on the chart. You have done it so well here: https://www.mql5.com/en/code/18440
Crossing of two iMA
Crossing of two iMA
  • votes: 20
  • 2017.05.22
  • Vladimir Karputov
  • www.mql5.com
Обращение к iMA заменено на iCustom Custom Moving Average Input Color. Теперь в тестере (в визуальном режиме) или когда набросить эксперта на график можно визуально наблюдать РАЗНОЦВЕТНЫЕ индикаторы Moving Average: Пересечение двух (iMA, Moving Average), в качестве фильтра - третий индикатор (iMA, Moving Average). Расчет объема позиции (Lot...
 
Shara1:
Can't you fix it somehow, and also make indicators appear on the chart when you switch it on? You did it so well here: https://www.mql5.com/en/code/18440.
No. That was a one-time thing.
 
Vladimir Karputov:
No. It was a one-time thing.
Thank you. How can I use Stoploss and Trailing Stop together?
 
Shara1:
Thank you. How can I use Stoploss and Trailing Stop together?

As usual: the same way everyone uses them.


Added: well I'll make zero stop protection and put the indicators on the chart. But not quickly ...

 
Vladimir Karputov:

As usual: just like everyone else uses.


Added: well will make zero stop protection and put indicators on the chart. But not fast ...

I have never encountered it. And you could not write the parameters of joint use of Stop and Trailing. For example, Stop 50 and Trailing 100. I can't figure out what should be less.
 
Shara1:
I have never encountered it. Could you write down the parameters of joint use of Stop and Trailing. For example, Stop 50 and Trailing 100. I can't figure out what should be less.

Now I don't understand anything at all.

Manually open a position. Set its stops (SL and TP). What's the problem?

 
Vladimir Karputov:

Now I don't get it at all.

Manually open a position. Set its stops (SL and TP). What's the problem?

Trailing stop performs the function of a stop loss. For example, if you set a stop loss at 500 pips and a trailing stop at 450 pips, will the trailing stop work? Can I ask you a question? What Expert Advisor do you trade with, if it is not a secret?
 
Shara1:
The trailing stop performs the function of a stop loss. For example, if I set a stop loss at 500 pips and a trailing stop at 450 pips, will the trailing stop go forward? Can I ask you a question? What Expert Advisor do you trade with, if it is not a secret?
Trailing is a periodic raising of Stop loss to the current position price if the position has become more profitable.
 
Vladimir Karputov:
Trailing is a periodic maintenance of Stop loss to the current position price, if the position has become more profitable.
And if there is one trailing without a stop loss, will it work as a stop loss or not?
 
Shara1:
And if there is one trailing without a stoploss, will it work as a stoploss or not?
No. If the stoploss is set to zero, the trailing will not be able to work - because the trailing will have nothing to move.