De Marker gaining position volume
This software component for MetaTrader 5 is built to enhance the capabilities of your trading environment. This Expert Advisor serves as automated trading software. It is utilized to monitor financial markets and execute trades based on predefined algorithmic rules, enabling precise position management without the need for constant manual oversight.
How to Setup and Use De Marker gaining position volume
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
Description & Settings
Trading strategy
The main idea of this Expert Advisor: is it possible to open 'BUY' positions on each new bar while the 'DeMarker' indicator is below the 'DeM: Level DOWN' level (the 'SELL' positions while the 'DeMarker' indicator is above the 'DeM: Level UP' level). By default, the 'Positions: Only one' parameter is set to 'false' - so the EA can work in the "open a new position even if there are already positions in the market" mode.
Each new position is opened at the moment of the birth of a new bar, and there is no check whether the opening price is the best.
There is no Stop Loss, Take Profit, or Trailing in the Expert Advisor - positions are closed according to the opposite signal and only if after closing the positions there will be a profit greater than zero.
Rice. 1. DeMarker gaining position volume
An example of testing for all symbols
Rice 2. Settings
Rice 3. Inputs
Rice 4. Result
Now more about each group of parameters:
Trading settings:
'
Working timeframe
' - working timeframe. The timeframe on which indicators are created and on which a new bar is searched.
Position size management (lot calculation)
The lot can be either permanent ('
Money management
' set to '
Constant lot
' and set the lot size to '
The value for "Money management"
') and dynamic - in percent risk per trade ('
Money management
' set to '
Risk in percent for a deal
' and set the risk percentage in '
The value for "Money management"
'). You can also set a constant lot equal to the minimum lot - '
Money management
' set to '
Lots Min
'.
Additional features:
Flag '
Positions: Only one
' set to '
true
' allows the EA to have no more than one position in the market. The flag '
Positions: Reverse
' is responsible for signal reversal. '
Print log
' prints an extended log of all operations.