Codes

StopAndTake MT5 for 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 for MetaTrader 5

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

iBarShift_MT5 for 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 for 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 for 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