Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 4 Expert Advisor | CycleMarketOrder(GRID TRADE CODE)

Description:

This Expert Advisor is for the grid trade.

Market order is repeated in a single direction at fixed intervals. 

Examples

For USDJPY:

If you set maxPrice = 115, grid trade is executed In the range of 115 to 105 yen.

For EURUSD:

If you set maxPrice = 1.15, trap trade is executed In the range of 1.15 to 1.05 doller.

The product works on any timeframe.

Parameters:

version - version of the module.

magic - set magic number.

entry - only buy 1,only sell -1.

maxPrice - maxPrice should set the maximum price of the range.

maxCnt - set the maximum number of positions.

lots - set the number of lots. 0.01 means 1 000 currency.

BreakEven - set the lowest profit, in pips.

TrailingStop - set trailing stop, in pips.

spanPips - set the interval, in pips.spanPips should set plus.

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

23272