Skip to content

ForexRobotEasy/Fort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Fort Forex Robot

This is a Forex robot that utilizes a grid strategy to maximize profits. It is developed by Forex Robot Easy Team and more information about the robot can be found on their website Forex Robot Easy. Please note that ForexRobotEasy is not the official developer of this product, they are only showcasing sample code that can work as described in the product.

Description

The Fort Forex Robot uses a grid strategy to place buy and sell orders based on certain price levels. It works as follows:

  1. The input parameters for the robot can be set as follows:

    • GridSize: The size of the grid in pips.
    • Range: The price range in pips to profit from.
    • LotSize: The lot size for each order.
    • StopLoss: The stop loss in pips.
  2. On each tick, the robot gets the current price of the symbol and calculates the grid levels:

    • gridLevel: The level at which the grid starts.
    • upperLevel: The upper level of the grid.
    • lowerLevel: The lower level of the grid.
  3. The robot checks if there are any open positions. If there are no open positions, it places initial buy and sell orders at the current price with the specified lot size and stop loss.

  4. If there are open positions, the robot checks if the current price has reached the upper or lower level. If the price has reached the upper level, it closes all buy positions and opens a new sell position. If the price has reached the lower level, it closes all sell positions and opens a new buy position.

Usage

To use this code, simply copy and paste it into your MQL5 editor. Set the desired input parameters and compile the code. Attach the robot to a chart and it will start trading based on the specified strategy.

Disclaimer

Please note that ForexRobotEasy is not the official developer of this product. They are only showcasing sample code that can work as described in the product. To find the official developer of this product, please use MQL5.

For detailed reviews and trading results of this product, please visit the Forex Robot Easy website.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published