Source: https://fxcodebase.com/code/viewtopic.php?f=31&t=64669
Forum: 31 · Topic 64669 · 11 post(s)
Apprentice · Tue May 23, 2017 5:02 am


Based on request. viewtopic.php?f=27&t=64668
Enter long if the price cross over the previous sar up Enter short if the price cross under the previous sar down
Filter Option Open Long Only if Close (chart time frame) > Filter MA Opet Short Only if Close (chart time frame) < Filter MA
Apprentice · Wed Jan 24, 2018 9:24 am
The strategy was revised and updated.
RuptorGB · Sat Jun 09, 2018 5:45 pm
Hi I am new to LUA based strategies but can program in MT4. I tried this strategy with and without trailing stop set to yes but there was no difference in the backtest results. Does this strategy have an active trailing stop and is there a pip value that will set the trail level? I am probably missing something stupid but can’t check the LUA code for myself yet it looks double dutch to me.
Reymondpolanco · Tue Oct 16, 2018 12:07 am
Apprentice wrote:
EURUSD m1 (05-23-2017 1010).png
2.png
Based on request. viewtopic.php?f=27&t=64668
Enter long if the price cross over the previous sar up Enter short if the price cross under the previous sar down
Filter Option Open Long Only if Close (chart time frame) > Filter MA Opet Short Only if Close (chart time frame) < Filter MA
Parabolic SAR strategy.lua
Wich parameters did you use to get this results ? Stop Loss? Take Profit?
Apprentice · Fri Oct 26, 2018 5:05 am
While backtesting, I usually use the default parameter.
traderms · Mon Oct 29, 2018 2:36 pm
hello Apprentice,
where do i find the Parabolic SAR strategy.lua using:
Enter long if the price cross over the previous sar up Enter short if the price cross under the previous sar down closing on opposite.
the one i got here: download/file.php?id=18178 does not work correctly,´cause it enters promptly when the price cross the sar, each time.
Apprentice · Tue Oct 30, 2018 5:07 pm
Try this version. viewtopic.php?f=31&t=11912&hilit=SAR+Strategy
traderms · Thu Nov 01, 2018 6:54 am
Hello Apprentice,
thank you for your note, but this version doesn´t act in the right way, too.
it enter in “live” mode: when the price cross the current sar or “end of turn” mode: when the next bar beginns and takes the current rate in that case, just like all other.
instead of this, it should start when the price cross the “previous sar”, only (comp.: viewtopic.php?f=27&t=64668).
do you know a working soluion in this case?
thank you very much.
Apprentice · Sat Nov 03, 2018 5:05 am
Your request is added to the development list under Id Number 4296
traderms · Sat Nov 03, 2018 3:26 pm
@Apprentice
…sorry, but where should i find this… (development list Id Number 4296)
Apprentice · Mon Nov 05, 2018 6:05 am
Something like this?