The AtingMQL5 is a library created by Ating to simplify any tasks in the development of bots in MQL5.
This demo mainly uses the modules transaction, single lapse time, profit protection and trailing stop.
- Transaction Class:
- Automatic Filling Mode Selection: Automatically chooses the best filling method based on market conditions and symbol requirements.
- Invalid Input Alerts: Provides warnings for invalid inputs to ensure smooth order execution.
- Pending Order Handling: Automatically determines the type of pending order (limits or stops) based on market logic.
- Stop Calculation & Volume Rounding: Calculates stop levels and rounds order volumes to meet symbol requirements.
- DetectOrders & DetectPositions Classes: Efficiently manage and identify orders and positions using magic numbers and symbols.
- FilterByDayWeek Class: Operate only on specified days of the week.
- FilterByCSVFile Class: For backtesting, filter operational dates based on a CSV file for precise historical testing.
- InstitutionalArithmeticPrices Class: Generate institutional arithmetic prices to aid in decision-making based on key market levels.
- LimitsByIndex Class: Create trading signals based on price limits within specific time ranges.
- LimitsByTimeRange Class: Generate signals based on predefined market indices.
- BreakEven Class: Automatically adjust stop loss to breakeven once a certain profit level is reached.
- TrailingStop Class: Dynamically move the stop loss to protect profits as the price moves favorably.
- Remove Class: Easily cancel specific orders using magic numbers and symbols for streamlined order management.
- RemPositionByType Class: Remove positions from type, and functionalities inherited from Remove Class.
- RemOrderByType Class: Remove order from the order type, and functionalities inherited from Remove Class.
- RemOrderByLocationPrice: Remove orders based on their location relative to a middle value.
-
TimeLapseTree Class: Store and manage multiple time ranges, facilitating complex trading strategies.
-
SectionTime Class: For handling a single time section, used by the Multi Lapse class for more detailed time management.
- TaskManager Class: Execute all library modules periodically using the OnTimer event for organized and scheduled task execution.
So sorry, test in dev.
Client: MetaTrader 5 Terminal
-
Clone the repository to your local machine.
-
Navigate to the MQL5 folder in the MetaTrader 5 directory.
-
Copy the cloned repository into the MQL5 folder.
-
Open MetaTrader 5.
-
Navigate to the Navigator window and expand the Expert Advisors tree.
-
Find your project and drag it onto any chart window.
-
Open MetaEditor from MetaTrader 5 (press F4).
-
Open your project.
-
Open the file
.mq5
. -
Press F7 to compile. The
.ex5
file will be created in the same directory and verify the code hasn't syntax errors.
For support, email [email protected], [email protected], X & Instagram