Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2011.10.14 07:19

psar bug 6 - expert for MetaTrader 4

| English Español Português 日本語 Deutsch

votes: 2
psar_bug_6.mq4 (16.96 KB)view


An Expert Advisor designed to open and close respective orders at the first parabolic SAR signal.

Its performance depends on the custom parameters of stop loss, take profit, trailing stop, lot size for opening trades and more. This version works alongside manual trades and other expert advisors as per you requests.


You need to change the SAR indicator "Step" and "maximum" value/s to that of the EA in order to match the EA operation with that of the SAR indicator.

But this is just for visual purposes as the EA does'nt need the indicator in order to work. e.g. if you are using the default step setting for the EA (0.001) you might get a false impression that the EA didnt open an order when the SAR indicator with its default step setting (0.02) showed a signal but in reality the virtual SAR with a step setting of 0.001 had'nt yet shown a signal.

If no order was opened and the journal displayed an error as to why, thats when action needs to be taken. Always check this page for updates thank you !!!.

Ive also included a full documentation for pSAR bug 6 available at our new site.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

TP-SL_Removing TP-SL_Removing

Immediately deletes the SL/TP of all positions.

Closed_TOTAL Closed_TOTAL

Total closure of all positions (winners/losers). You can also select which are of a single instrument.