Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
Exp_CloseAllPositionsByTime - expert for MetaTrader 5
- Views:
- 2965
- Rating:
- Published:
- 2017.05.29 13:49
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
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.
//+----------------------------------------------+ //| 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 Ltd.
Original code: https://www.mql5.com/ru/code/17910
Exp_ClosePositionsByTime
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.
ColorParabolic_HTFThe ColorParabolic indicator with the timeframe selection option available in its input parameters.
Candle Shadow
The indicator finds candlesticks without an upper or lower shadow. The indicator style is DRAW_ARROW.
Candle shadow percentThe indicator finds candlesticks with a minimum or maximum shadow size. Limitation on the size of the candlestick body.