Price Channel Signal EA
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 Price Channel Signal EA
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 custom indicator 'PriceChannel_Signal_v2' ( ) generates several signals: two types of signals to open a 'BUY' position, two types of signals to open a 'SELL' position, one signal to close 'BUY' and one signal to close 'SELL'. No Stop Loss, No Take Profit, No Trailing.
An example of opening a position:
Rice. 1. PriceChannel_Signal_v2 EA
Peculiarities:
The EA can be optimized for the working timeframe ('
Working timeframe
')
There can be only one 'entry to the market' deal per bar
When working in the 'inside bar' mode (parameter '
Search signals on ...
' equals '
bar #0 (at every tick)
') the current bar is bar #0, when working in the mode 'only at the moment of birth of a new bar' (parameter '
Search signals on ...
' equals '
bar #1 (on a new bar)
) current bar is bar #1
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. '
Print log
' prints an extended log of all operations.