Skip to content

ForexRobotEasy/Mentfx-Mmanage-mt5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Mentfx Mmanage mt5

This code is a trading robot designed to automate and enhance the trading process in the Forex Market. It incorporates a 'Drag and Drop Trade Manager' feature, advanced targeting capabilities, and the ability to manage trades during off-hours. The robot supports both market orders and limit orders, considering the spread in decision-making processes.

Expert initialization function

The OnInit() function is called when the expert advisor is initialized. This is where necessary initialization code should be added.

Expert deinitialization function

The OnDeinit() function is called when the expert advisor is deinitialized. This is where necessary cleanup code should be added.

Expert start function

The OnTick() function is called on each tick of the price. This is where the trading logic should be implemented.

The trade manager is checked if it is enabled using the IsTradeManagerEnabled() function. If enabled, the user-defined entry point is obtained using the GetEntryPoint() function. Based on the entry point, a market order or limit order is placed using the PlaceMarketOrder() or PlaceLimitOrder() functions respectively.

If advanced targeting is enabled, portions of the trade are closed using the ClosePortionsOfTrade() function.

Check if trade manager is enabled

The IsTradeManagerEnabled() function is a placeholder and should be replaced with the actual code to check if the trade manager is enabled.

Get user-defined entry point

The GetEntryPoint() function is a placeholder and should be replaced with the actual code to get the user-defined entry point.

Check if market order or limit order

The IsMarketOrder() function is a placeholder and should be replaced with the actual code to check if a market order is selected.

Place market order

The PlaceMarketOrder() function is a placeholder and should be replaced with the actual code to place a market order at the specified entry price.

Place limit order

The PlaceLimitOrder() function is a placeholder and should be replaced with the actual code to place a limit order at the specified entry price.

Check if advanced targeting is enabled

The IsTargetingEnabled() function is a placeholder and should be replaced with the actual code to check if advanced targeting is enabled.

Close portions of trade based on targeting

The ClosePortionsOfTrade() function is a placeholder and should be replaced with the actual code to close portions of the trade based on targeting.

For detailed reviews and trading results of this product, please visit Forex Robot Easy. Please note that ForexRobotEasy is not the official developer of this product. This code is only a sample that can work as described in the product. To find the official developer of this product, please use MQL5.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published