Codes

StopAndTake MT5 pour MetaTrader 5

When run on the price chart, the script modifies stop loss or take profit of all open orders for the current instrument

DayPositionsCount pour MetaTrader 5

The function returns the number of positions opened by an Expert Advisor for the day

iBarShift_MT5 pour MetaTrader 5

Version of the iBarShift function for the MetaTrader 5, takes a parameter of type datetime — opening time of the bar, the index of which must be found

StopAndTake pour MetaTrader 4

When run on the price chart, the script modifies the stop loss or take profit of all open orders for the current instrument

CPrice pour MetaTrader 5

Instance of the class returns such values as Bid, Ask, High, Low, Close and Open prices of the current candle or any other specified in the parameters, as well as the candle opening time