Parabolic SAR EA - PSAR Bug 6
Info
The Parabolic SAR EA - PSAR Bug 6 is a Expert Advisor for MetaTrader 4 that this expert advisor is designed to open and close orders based on the first parabolic sar signal. Important Note:To ensure visual consistency between the EA's operation and the SAR indicator, you must adjust the SAR indicator's 'step' and 'maximum' values to match those set in the EA.
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 Parabolic SAR EA - PSAR Bug 6
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 is designed to open and close orders based on the first Parabolic SAR signal.
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: ea psar 002 b - another powerful expert for MetaTrader 4 traders.
This expert advisor is designed to open and close orders based on the first Parabolic SAR signal.Important Note:
To ensure visual consistency between the EA's operation and the SAR indicator, you must adjust the SAR indicator's 'step' and 'maximum' values to match those set in the EA. However, this adjustment is purely for visual reference, as the EA does not require the indicator to function.
Also recommended: psar bug 4 - similar expert with strong performance on MetaTrader 4.
For example, if the EA's default step setting is 0.001, you might observe a discrepancy where the SAR indicator (with its default step of 0.02) shows a signal, but the EA has not yet opened an order. This is because the virtual SAR, with a step setting of 0.001, has not yet generated a signal.
If no order is opened and the journal displays an error message, corrective action is required. Please check this page regularly for updates.
Full documentation for PSAR Bug 6 is available on our website.
Last updated: 2026
You may also like: ea psar 4b - excellent alternative for expert users on MetaTrader 4.
Source Code
#property copyright "robotfx"
#property link "https://robotfx.org"
extern string todonateandmorevisit ="www.fxautomated.com";
extern string forexsignals ="www.tradingbug.com";
extern string managedaccounts ="www.tradingbug.com";
extern int stoploss =90; // sl for an opened order
extern int takeprofit =20; // ?? for an opened order
extern bool trailing =false; // turn trailing on or off
extern int trail_stop=10; // trailing distance
extern double lots =0.1; // strictly set amount of lots
.......
⚠ 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.