Переглянути джерело

Ticket: 4047 Readme Updated

Huzaifa-MQLDev 11 місяців тому
батько
коміт
c258ee4f3b
1 змінених файлів з 41 додано та 0 видалено
  1. 41 0
      README.md

+ 41 - 0
README.md

@@ -1,2 +1,43 @@
1 1
 # line_level_ea_mt5
2 2
 
3
+## Overview
4
+**Line Level EA MT5** is an Expert Advisor (EA) designed for MetaTrader 5 that places trades at the nearest round value based on a user-defined step size. The EA determines two price levels (LowerLevel and UpperLevel) around the current price and executes trades accordingly. The EA provides flexible trade management settings, including lot size, multipliers, take profit, stop loss, and time filters.
5
+
6
+## Features
7
+- Automatically calculates **LowerLevel** and **UpperLevel** based on the `step` size.
8
+- Allows users to define the **trade type** (Buy/Sell).
9
+- Configurable **initial lot size** and **lot multiplier** for dynamic lot adjustments.
10
+- Customizable **Take Profit (TP) in Pips** and **Stop Loss (SL) in Pips**.
11
+- Option to use a **time filter** to restrict trading within a specific period.
12
+- Option to **continue trading cycles** after a profitable trade.
13
+
14
+## How It Works
15
+### Price Level Calculation
16
+The EA dynamically determines the closest round price levels to the **current market price** based on the step size.
17
+
18
+#### Example:
19
+| Current Price | Step Size | Lower Level | Upper Level |
20
+|--------------|-----------|-------------|-------------|
21
+| 1824.74      | 10        | 1820.00     | 1830.00     |
22
+| 1826.74      | 10        | 1820.00     | 1830.00     |
23
+
24
+### Trade Execution
25
+- If **Buy mode** is selected, the EA will only execute buy orders.
26
+- If **Sell mode** is selected, the EA will only execute sell orders.
27
+- Trades are placed at the **nearest round price level**.
28
+
29
+## Input Parameters
30
+| Parameter | Description |
31
+|-----------|-------------|
32
+| **Trade Type** | Selects Buy or Sell mode. |
33
+| **Step Size** | Defines the distance between round levels. |
34
+| **Initial Lot Size** | Sets the starting lot size for trades. |
35
+| **Lot Multiplier** | Adjusts the lot size dynamically. |
36
+| **Take Profit (TP) in Pips** | Defines the TP level. |
37
+| **Stop Loss (SL) in Pips** | Defines the SL level. |
38
+| **Use Time Filter** | Enables trading within a specified time range. (true/false) |
39
+| **Start Time** | Defines the start time for trading. |
40
+| **End Time** | Defines the end time for trading. |
41
+| **Continue Cycle after Profit** | If enabled, the EA continues trading after a profitable trade. (true/false) |
42
+
43
+