using Parabolic SAR as trailing stop loss
11 replies
TJ#
8 years ago #113997
I would like to use PSAR as trailing Stop loss but it has a tiny issue when the signal dot flips above the candlestick.
See attached for details.
How do I have a workaround for this? Thanks.
tomas262
8 years ago #131612
TJ#
8 years ago #131620
TJ#
8 years ago #131629
How to configure such that it will remain using the SAR dot (below the candlestick) until price takes it out? or I have mis-configured the conditions?
see attached for screenshot.
tomas262
8 years ago #131679
Have you created an inverse condition for short side?
TJ#
8 years ago #131701
Currently I only configured for LONG strategy.
tomas262
8 years ago #131706
TJ, the best way for me to solve this is to attach your strategy or send it to our support email [email protected] if you don’t want it to be publicly shared.
TJ#
8 years ago #131710
Sqw as attached and the backtest info used are the following,
Fx Pair: EURUSD
Period : H1
Time Range: 1st Apr 2015 – today
You should able to see the “flip” on 3rd April(9am) while trigger entry is on 1st April(8pm).
MT4 Time zone: GMT +2
tomas262
8 years ago #131751
Rule 2 seems to be pointless to me since there is no “action” defined and there should be one.
The way you have it set up cannot prevent EA to flip SL since Rule 2 has no effect.
I would suggest removing “trailing stop” parameter and instead use EA Wizard function “Move SL To” to manually move stop-loss using PSAR indicator prices. Now it just behaves correctly as it is supposed to be. Move SL To method is simple and can be controlled well using simple conditions. Just add Move SL to action in Rule 2 and define SL price as PSAR price….
Let me know if you have success with it.
TJ#
8 years ago #131810
I cannot find the func “Move SL to” but has only “Move SL to Breakeven”.
Could you make the amendments on the provided test01.sqw? Thank you.
tomas262
8 years ago #131818
Please check in the “THEN” section, click on “Add New”, then click on “Order Management” and see the list if “Move SL To” is present.
If not it’s possible you have some older version. You can download update here https://strategyquant.com/eawizard/download
Let me know if you still unsure how to do it. I will amend that strategy …
TJ#
8 years ago #131847
Viewing 11 replies - 1 through 11 (of 11 total)