Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Experts

Exp_ClosePositionsByTime - expert for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Views:
433
Rating:
votes: 16
Published:
2017.05.29 13:48

The Expert Advisor closes all the current symbol positions opened on the account, if the current server time has exceeded the time limit specified in the input variables.

//+----------------------------------------------+
//| Expert Advisor input parameters              |
//+----------------------------------------------+
input datetime StopTime=D'2030.01.01 23:59';   //Position closing time
input uint    Deviation_=20;                   //max price deviation in points


Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/17909

ColorParabolic_HTF ColorParabolic_HTF

The ColorParabolic indicator with the timeframe selection option available in its input parameters.

StreamСCandles StreamСCandles

The indicator colors candlesticks whose size multiplied by volume exceeds a preset value.

Exp_CloseAllPositionsByTime Exp_CloseAllPositionsByTime

The Expert Advisor closes all positions opened on the account, if the current server time has exceeded the time limit specified in the input variables.

Candle Shadow Candle Shadow

The indicator finds candlesticks without an upper or lower shadow. The indicator style is DRAW_ARROW.