Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Twitter üzerinde bulun!
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
Uzman Danışmanlar

ListPositions - MetaTrader 5 için Uzman Danışman

Görüntülemeler:
3167
Derecelendirme:
(19)
Yayınlandı:
2017.05.29 13:57
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

A list of all positions. An example of working with CPositionInfo.

The following can be displayed on the screen:

  • positions of all symbols;
  • positions of the current symbol;
  • positions for all magic numbers;
  • positions with the specified magic number.

It provides a visual review of the order in which positions are stored in the terminal. An example of output format:

2017.03.27 17:38:40.858 ListPositions (USDJPY,H1)       2 | USDJPY | 140795995 | 2017.03.27 17:32:40 | POSITION_TYPE_SELL | 0.02 | 110.33500000
2017.03.27 17:38:40.889 ListPositions (USDJPY,H1)       1 | EURUSD | 140795819 | 2017.03.27 17:31:49 | POSITION_TYPE_BUY | 0.07 | 1.08833000
2017.03.27 17:38:40.889 ListPositions (USDJPY,H1)       0 | USDCAD | 140795790 | 2017.03.27 17:31:45 | POSITION_TYPE_BUY | 0.07 | 1.33933000
2017.03.27 17:38:40.889 ListPositions (USDJPY,H1)       


MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/17987

A cross-platform library of original mathematical functions A cross-platform library of original mathematical functions

Original mathematical functions taken from different places, which either do not have analogues or perform much faster than alternative implementations

OpenBuySellStopOrders OpenBuySellStopOrders

A script for placing two Buy and Sell Stop orders at an equal distance.

Candle Candle

Trades based on the previous candlestick.

Bollinger Bollinger

The Expert Advisor trades inside a channel, reversing positions at the channel borders.