Fibonacci Lines Trading Expert Advisor
Info
The Fibonacci Lines Trading Expert Advisor is a Expert Advisor for MetaTrader 4 that this expert advisor (ea) draws fibonacci lines on your chart and trades based on price breakthroughs. It includes trailing stop loss and take profit functionalities and is compatible with all timeframes and major forex pairs, as well as Nasdaq stocks.
Usage
This tool is typically used for automated trading on major forex pairs and gold.
Platform
This Expert Advisor works exclusively on MetaTrader 4 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL4/Experts folder via File ? Open Data Folder in MetaTrader 4.
How to Install and Use Fibonacci Lines Trading Expert Advisor
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.
What this tool does
This Expert Advisor (EA) draws Fibonacci lines on your chart and trades based on price breakthroughs.
Typical Use Case
This Expert Advisor excels in automated trading and technical analysis on MetaTrader 4.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 4. Place the file in the MQL4/Experts folder and restart the terminal.
Description & Settings
Related: Trade from Lines (e-tfl) - Advanced Line Trading Expert Advisor - another powerful expert for MetaTrader 4 traders.
This Expert Advisor (EA) draws Fibonacci lines on your chart and trades based on price breakthroughs. It includes trailing stop loss and take profit functionalities and is compatible with all timeframes and major forex pairs, as well as Nasdaq stocks.Also recommended: Multi-Trendlines Breakout - similar expert with strong performance on MetaTrader 4.
It is recommended to test this EA on a demo account first.
The EA trades only based on the price of the current open candle.
To disable lot size increases after a losing trade, set the 'increasefactor' parameter to 0.
This EA combines a simple trading system with two moving averages and Fibonacci lines.
Please note that Fibonacci lines do not function in the tester mode. Optimization tests can only be performed using the moving averages.
In live trading, both Fibonacci lines and moving averages will work together. During tests, the EA will only display the Fibonacci lines visually on the screen without using them to generate trades.
For testing, you must use the 'open prices only' option. The Fibonacci lines will act as a filter, increasing the probability of winning trades.
Inputs:
use_tp_in_money: Use Take Profit in monetary value (true/false).
tp_in_money: Take Profit value in monetary units (10-100).
use_tp_in_percent: Use Take Profit in percentage (true/false).
tp_in_percent: Take Profit value in percentage (10-100).
------------[Money Trailing Stop for Multiple Trades]----------------------
enable_trailing: Enable trailing stop loss in monetary value (true/false).
take profit in money: Take Profit in current currency (25-300).
stop loss in money: Stop Loss in current currency (1-20).
--------------------------------------------------------------------------------------
exit: Close trades if the trend is against you and control drawdown (true/false).
lots: Initial lot size (0.01-1).
lots size exponent: Lot size multiplier (1.01-2).
increasefactor: Factor to increase lot size based on total margin after a loss (0.001-0.1).
stop_loss: Stop Loss in pips (30-500). Set to 600 for multiple trades.
magicnumber: Unique identifier for EA trades (1-100000).
takeprofit: Take Profit in pips (50-200). Set to 600 for multiple trades.
fastma: Fast Moving Average period (1-20).
slowma: Slow Moving Average period (50-200).
mom_sell: Momentum sell trigger threshold (0.1-0.9).
mom_buy: Momentum buy trigger threshold (0.1-0.9).
---------------------Control Drawdown----------------------------
useequitystop: Use equity stop level (true/false).
totalequityrisk: Maximum total equity risk percentage (0.01-30).
-------------------------------------------------------------------------------
max_trades: Maximum number of open trades (1-12).
fractalnum: Number of fractal highs and lows to consider (1-10).
--------------------------If you use only 1 trade:-------------------
///////////////////////////////////////////////////////////////////////////
usetrailingstop: Enable trailing stop loss (true/false).
whentotrail: Trigger level for trailing stop in pips (40-100).
trailamount: Trailing stop amount in pips (40-100).
distance from candle: Distance from the candle to place the trailing stop (1-100).
usemovetobreakeven: Enable move to breakeven functionality (true/false).
whentomovetobe: Trigger level for moving stop loss to breakeven in pips (1-30).
pipstomovesl: Number of pips to move the stop loss to breakeven (1-30).
It is recommended to optimize this EA every few months and use the exact same inputs as listed above. The EA can be used as a hedging grid EA or a single trade EA.
How to perform a backtest:
You may also like: Fibonacci Retracement Expert Advisor - excellent alternative for expert users on MetaTrader 4.
Source Code
/
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.