Periodic Range Breakout 2. 0
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 Periodic Range Breakout 2. 0
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
This expert has extended features relative to the previous. Please examine the previous one before proceeding.
[WARNING]
The main purpose of this purely mechanical expert is to make use of statistical and analytical observations to gain insight into how markets work.
Using it for trading could result in financial loss.
[MAIN IDEA]
At the beginning of the period, we'll take the current value of the time-dependent variable which in case ask price of an fx instrument as a reference.
Then performing addition and subtraction on this value by user-specified range to obtain high and low breakout levels.
If price breaks high level upward buy-stop or sell-limit order will get opened.
If price breaks low level downward buy-limit or sell-stop order will get opened.
Take-Profit and Stop-Loss levels are determined by taking specific portion of the range in pips.
If trade ends with loss, it will get compensate it in the next trade if requested by user by incrementing volume or take-profit level as set. [MAIN FEATURES]
PERIODICITY MODES
Weekly:
take close price of a specific hour of a day of week as reference.
Daily:
take close price of a specific hour of any day as reference.
NonStop:
take current price immediately as reference, if there isn't any trade opened.
RANGE CALCULATION MODES
ATR:
user-specified percentage of ATR(20).
Percent:
user-specified percentage of current price.
Fixed:
constant user-specified pips.
TRADE MODES
Stop:
if high breaks open buy, if low breaks open sell.
Limit:
if high breaks open sell, if low breaks open buy.
Random:
randomly select orders. doesn't work in tester mode.
TRADE PARAMETERS
Range Percentage:
percentage of calculated range used to evaluate take-profit and stop-loss.
Take-Profit Percentage:
take-profit in pips as percentage of derived range.
Stop-Loss Percentage:
stop-loss in pips as percentage of derived range.
LOT MANAGEMENT MODES
Constant:
never increment volume after loss.
Linear:
multiply volume by linearly incremented coefficients after loss. (1, 2, 3, 4, ...)
Martingale:
multiply volume by a number between 1 and 2 after loss.
Fibonacci:
increment volume as fibonacci sequence after loss. (1, 1, 2, 3, 5, 8, ...)
OTHER MONEY MANAGEMENT PARAMETERS
Margin Percentage:
how much of free margin will be used in trade initally or trade after winning trade.
Lot Multiplier:
multiplier used in martingale mode.
Range Multiplier:
multiplier used to increment take profit level after each loss. this was based on an assumption that previous loss increases the interval of success.
[OBSERVATIONS]
Profit and Loss counts are highly dependent on the selection of take-profit and stop-loss ratios. if these ratios converges counts are converges also and vice versa.
Lower take-profit ratio relative to stop-loss increases chance of success in short term, but rare cases like consecutive losses greater than expected crashes equity. randomizing will reduce the probability of encountering these types of risk.