DeMarker Get Open Interest - MetaTrader 5 Expert | Forex Indicators Download - MT4/MT5 Resources




trading strategy
The main idea of this Expert Advisor: is it possible to open a "buy" position on each new bar when the "DeMarker" indicator is below the "DeM: Level DOWN" level (and to open a "sell" position when the "DeMarker" indicator is above the "DeM: Level UP" level). By default, the "Position: only one" parameter is set to "False" - so the EA can work in the "Open new position even if there is already a position on the market" mode.
Each new position is opened at the moment the new bar is born, and there is no check whether the opening price is the best price.
There are no Stop Loss, Take Profit or Trailing in EA trading - positions are closed based on opposite signals and only if the profit after closing is greater than zero.

rice. 1. Increase in DeMarker positions
Example of testing all symbols

Rice 2. Settings

rice 3. input

Rice 4. Results
Now take a closer look at each set of parameters:
Transaction settings:
' Working time range ' - Working time range. Time range for creating the indicator and searching for new bars.
Position size management (lot calculation)
The lot can be permanent (' Money Management ' is set to ' Constant Lots ' and lot size is set to ' Value of 'Money Management' ') and dynamic - risk percentage per trade (' Money Management ' is set to ' Trade Risk Percent ' and set risk percentage in 'Value of 'Money Management' '). You can also set a constant lot size equal to the minimum lot size - ' Money Management ' is set to ' Min Lot Size '.
Additional features:
Flag ' Positions: Only 1 ' set to ' True ' allows the EA to hold no more than one position on the market. Flag ' Position: Reverse ' is responsible for signal reversal. ' Print log ' Prints an extended log of all operations.
Attachment download
📎 demarker_gaining_position_volume.mq5 (91.72 KB)
Source: MQL5 #39060
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •