Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Script

HistorySelectByPosition - script per MetaTrader 5

Visualizzazioni:
3860
Valutazioni:
(25)
Pubblicato:
2017.03.22 16:01
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

An example of using HistorySelectByPosition (based on the HistoryDealGetTicket use example).

Position identifier is set as the input parameter. Next, the script attempts to create a list of orders and deals with the specified identifier. 

Script operation example:

0: deal #116488443 at 2017.02.07 12:55:56 Enter, buy 0.03 EURUSD (order #132873637, position ID 132873637)
1: deal #116488540 at 2017.02.07 12:56:38 Close by, sell 0.01 EURUSD (order #132873727, position ID 132873637)
2: deal #116488549 at 2017.02.07 12:56:42 Exit, sell 0.02 EURUSD (order #132873736, position ID 132873637)


 

Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/17572

SupportResistTrade SupportResistTrade

Support\resistance levels, trend direction — bullish\bearish.

MomentumCandleKeltner MomentumCandleKeltner

Keltner Channel built relative to the average value of the MomentumCandle oscillator as a sequence of candlesticks

OsMACandleKeltner OsMACandleKeltner

Keltner Channel built relative to the average value of the OsMACandle oscillator as a sequence of candlesticks

The Simple Trend Detector The Simple Trend Detector

A simple oscillator that uses the difference between candlestick open and close prices.