Experts: Crossing of two iMA - page 4

 

There will be no trailing: I think the letters are familiar, but I can't get your letters into one thought. I'm sorry.

Don't even suggest it.

 
Vladimir Karputov:

There will be no trailing: I think the letters are familiar, but I can't get your letters into one thought. I'm sorry.

Don't even suggest it.


Okay. Thank you.

 

An update will be published soon: iMA calls have been replaced by iCustom Custom Moving Average Input Colour. Now you can visually observe DIFFERENT coloured Moving Average indicators in the tester (in visual mode) or when the Expert Advisor is thrown on the chart:

Crossing of two iMAs


 

Hello Vladimir. For some reason on my demo, the Expert Advisor made a second trade when the first one was not closed.

And in the settings I have a shift at the muving 5, and he made a deal on the 1 or 2 candle after the crossing. Now I also made a trade myself, as a result I have 3 trades open, and in the settings is 0.1 lot. Doesn't he make one trade at a time? Could you please see what's wrong?

Thanks.


 
Shara1:

Hello Vladimir. For some reason on my demo, the Expert Advisor made the second trade when the first one was not closed.

***


The highlighted part is a lie.

Firstly, a trade cannot be an open position. There can only be an open position.

Secondly: open the terminal help and look at Netting system and Hedging system.

If you have any questions, please contact me.

 
Vladimir Karputov:

The highlighted one is a lie.

Firstly, a deal cannot be an open position. There can only be an open position.

Secondly: open the terminal help and see Netting system and Hedging system.

If you have any questions, please contact me.

Thank you, but I don't understand. The Expert Advisor opens a lot of trades because I have a demo account with hedging. But where can I see it? The Help says: The type of position accounting is set at the account level, it is shown in the terminal window header.

But for me: it is not written here, and where else to look I don't understand.

Thank you.

 
Shara1:

Thanks, but I don't understand. The Expert Advisor opens a lot of trades because I have a demo account with hedging open. But where do I look for it? The Help says: The type of position accounting is set at the account level, it is shown in the terminal window header

But for me: it is not written here, and I don't understand where else to look.

Thank you.

In the second picture it is netting. On netting there is nothing in the header.

But when it is a hedge, then it says Hedge in the header (as in the first picture).

 
Vladimir Karputov:

The second picture is a netting. The netting has nothing in the header.

But when hedging, then Hedge is written in the header (as in the first picture).

I understand that when hedging, when opening a second position for 0.1 lot, the tools window will have two positions for 0.1 lot, while netting will have one position, but for 0.2 lot, as in my case. That is, an Expert Advisor can be added every time there is a signal to open a trade, no matter how many times. I did not know about it. And the fact that it opens a position earlier than it is prescribed in the settings?(I have a shift at the mover 5, and he made a deal on 1 or 2 candles after the crossing). I still don't understand anything, for me what is the difference between two times 0,1 or once 0,2. From the permutation of the sum does not change.

Thank you.

 
Shara1:

***

I still don't understand anything, for me what is the difference between two times 0,1 or once 0,2. The sum doesn't change from transposition.

Thank you.

Read again about netting and about hedge and about position. And so on several times until you understand.
 
Shara1:

Hello Vladimir. For some reason on my demo, the Expert Advisor made the second trade when the first one was not closed.

And in the settings I have a shift at the muving 5, and he made a deal on the 1 or 2 candle after the crossing. Now I also made a trade myself, as a result I have 3 trades open, and in the settings is 0.1 lot. Doesn't he make one trade at a time? Could you please see what's wrong?

Thanks.


In the settings it is the LOT SIZE of the OPEN position. This is not the TOTAL SIZE of the OPEN position(s).

That is, when a signal is received, a position will be opened with a fixed lot size (in your case 0.1). And on the next signal it will be opened again. And on the next signal - again and again....

Совершение сделок - Торговые операции - MetaTrader 5
Совершение сделок - Торговые операции - MetaTrader 5
  • www.metatrader5.com
Торговая деятельность в платформе связана с формированием и отсылкой рыночных и отложенных ордеров для исполнения брокером, а также с управлением текущими позициями путем их модификации или закрытия. Платформа позволяет удобно просматривать торговую историю на счете, настраивать оповещения о событиях на рынке и многое другое. Открытие позиций...