# Thread: Double Parabolic SAR Expert Advisor

1. ## Double Parabolic SAR Expert Advisor

Here is another version for the double parabolic sar expert advisor. We see a first psar, we enter in trade at a signal. Then we exit at the reverse signal on a second psar. You can use the same settings for the different psar indicators and use various timeframes (for example, H1 and H4 for the respective psar).

EU H1. On one year.

Total net profit : 15.31%
RDD : 7.90%

2. After some optimization :

EU H1. On one year.

Total net profit : 432.78%
RDD : 29.93%

3. dear funyoo
would u please guide me due to a simple SAR trading expert.
it is a while i am trying to create a expert base on Parabolic sar but i couldnt( please help me by writing a simple sar EA.
Best Wishes

4. Originally Posted by mani
dear funyoo
would u please guide me due to a simple SAR trading expert.
it is a while i am trying to create a expert base on Parabolic sar but i couldnt( please help me by writing a simple sar EA.
Best Wishes
Hi mani and welcome,

I have not the time to teach programmation. I suggest you to learn on mql4.com. The best way to begin to code, is to study the basic moving average or sample macd expert advisor included in Metatrader. Then see in my experts the signal part to understand how we determine if a signal has been generated with the SAR. See especially this part :

Code:
```double PSA1=iSAR(NULL,TimeFrame1,Step1,Maximum1,i+1);
double PSA2=iSAR(NULL,TimeFrame1,Step1,Maximum1,i);
double PSA3=iSAR(NULL,TimeFrame2,Step2,Maximum2,i+1);
double PSA4=iSAR(NULL,TimeFrame2,Step2,Maximum2,i);
if(PSA1<Open[i+1]&&PSA2>Open[i])SSEL="true";```

5. Originally Posted by mani
dear funyoo
would u please guide me due to a simple SAR trading expert.
it is a while i am trying to create a expert base on Parabolic sar but i couldnt( please help me by writing a simple sar EA.
Best Wishes
Try this one. It seems to be doing very well.
Here are the settings:

EURUSD
M30 Chart
Lot size 0.2

The results are for the sar sample_2 ea.
The sarv2 added stop loss, comment fix, and magic number.

6. Can we arrange this Psar expert like that:When buy order made with using Money management and closed at stop ,again buy if psar signal goes .Same with sell orders.
I appreciate your works on forex and thank you so much .Nice years all of you

7. Originally Posted by falanca
Can we arrange this Psar expert like that:When buy order made with using Money management and closed at stop ,again buy if psar signal goes .Same with sell orders.
I appreciate your works on forex and thank you so much .Nice years all of you
With what ea exactly ?

8. With psar funyoo.İf you think this system with other EA that you suppose better ı will only appreciate you one more time.

9. Originally Posted by falanca
With psar funyoo.İf you think this system with other EA that you suppose better ı will only appreciate you one more time.
There is no ea of that name, I guess that you mean the first ea of this thread. This is already what does the code.

10. System is to open another same type order again when closed by money management system till buy or sell logic change.İt can be with psar EA or other EAs

#### Tags for this Thread

advisor, adx, average, candle, change, channel, currency pairs, eas, expert, expert advisor, experts, forex, forex trading, guide, indicator, indicators, learn, macd, magic, magic number, metatrader, moving average, mq4, mql, online, parabolic sar, profit, profitable, sample, signal, signals, simple, stop, stoploss, strategies, study, system, systems, test, thank you, time, trading, trading system

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•