Parabolic SAR Strategy

Strategies are published here.

Moderator: admin

Re: Parabolic SAR Strategy

Postby TxChristopher » Fri Feb 07, 2014 10:56 am

I tried changing the strategy to use the tick_sar indicator instead of the standard SAR so there would not be so much laggy slop in the entries, but when I try to back test it it gives me the error "...Strategies\Custom\Experimental tick sar strategy.lua:172: The indicator with id tick_sar is not found;02/07/2014 10:23:47"

The tick_sar indicator is installed .. . . . . so what is the problem?
TxChristopher
 
Posts: 14
Joined: Tue Nov 12, 2013 4:00 pm

Re: Parabolic SAR Strategy

Postby Apprentice » Sat Feb 08, 2014 2:56 am

Try This Line
Code: Select all
Indicator[1] =    core.indicators:create("TICK_SAR", Source, Parameters["Step"],  Parameters["Max"] );

Tip. Use the Caps, when calling external Indicators.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36420
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Parabolic SAR Strategy

Postby Scarletibis » Fri Apr 04, 2014 7:30 pm

Would it be possible to make a strategy using the Parabolic SAR and the MTF MCP Heat Map(SuperTrend) indicator?

Buy as soon as both the Parabolic SAR and the Heat Map close bullish on a candle and sell as soon as both close Bearish.

For bullish limit i would like for the trade to stop when the Parabolic SAR reverses and that same candle closes and for Bearish i would like the same.

I dont know how possible this is, but i am really interested in it. Thanx
Scarletibis
 
Posts: 2
Joined: Fri Feb 14, 2014 12:30 am

Re: Parabolic SAR Strategy

Postby Apprentice » Mon Apr 07, 2014 2:07 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36420
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Parabolic SAR Strategy

Postby rkverma1972 » Thu Apr 10, 2014 8:54 am

Can you add Stop as another sar. For example Main SAR is .02/.2 and stop may be .01/.1
Thanks
rkverma1972
 
Posts: 1
Joined: Mon Apr 07, 2014 12:11 am

Re: Parabolic SAR Strategy

Postby Apprentice » Sat Apr 12, 2014 3:50 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36420
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Parabolic SAR Strategy

Postby spanizh_fly » Tue Jun 09, 2015 5:18 am

I just tried on a 5 minutes chart.

It does fine but there is a problem with the entry time is not accurate.
It only opens a trade when the after the double dots.

Can you modify the entry immediately, when the double dots appear
for the entry and also the closing based on the double dots.

I've attach the picture of the double dots

Thanks guys
Attachments
entry.JPG
Opening New Trade and Closing Existing Trade
spanizh_fly
 
Posts: 12
Joined: Wed Jun 03, 2015 6:06 am

Re: Parabolic SAR Strategy

Postby Apprentice » Wed Jun 10, 2015 3:47 am

Try first/topmost post updated strategy.
Will provide additional options.

Even now, if Live option is used,
on historical data, some delay is possible.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36420
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Parabolic SAR Strategy

Postby spanizh_fly » Wed Jun 10, 2015 4:31 am

Alright I will try but where to add the code? at the bottom of the script?
spanizh_fly
 
Posts: 12
Joined: Wed Jun 03, 2015 6:06 am

Re: Parabolic SAR Strategy

Postby spanizh_fly » Wed Jun 10, 2015 4:37 am

but technically, if its possible,

-to open a new trade when the 2 dots appear
-close the existing trade which is open when the 2 dots are there.

Thank, that will be awesome
spanizh_fly
 
Posts: 12
Joined: Wed Jun 03, 2015 6:06 am

PreviousNext

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 7 guests