Parabolic SAR

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Parabolic SAR

Postby tyros refa » Mon Nov 04, 2019 11:15 am

Hello,

I need a modified SAR indictor, with the following condition for a red colored dot to appear (this is the graph example):

*When the price CLOSES under the green dot of the SAR, a new red dot appears above the NEXT bar.

**But if the price crosses only the green dot of the SAR, but closes above it, no red dot appears.

On TS2, on the SAR provided, the red dot appears as soon as the green dot is crossed, without there being any closing below. It's a problem for me. :(

Thank you in advance! ;)
Attachments
sar pour apprenctice.PNG
tyros refa
 
Posts: 16
Joined: Sun Sep 06, 2015 8:16 am

Re: Parabolic SAR

Postby Apprentice » Mon Nov 04, 2019 1:16 pm

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

Re: Parabolic SAR

Postby Apprentice » Wed Nov 06, 2019 9:37 am

SAR formula doesn't allow that.
Can you provide any examples?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Parabolic SAR

Postby tyros refa » Wed Nov 06, 2019 11:47 am

Apprentice wrote:SAR formula doesn't allow that.
Can you provide any examples?


Hi Apprentice :)

Here are some examples on a chart.

Most importantly, the SAR only reverses if there is closure beyond the point.
Attachments
sar pour app.PNG
sar pour app.PNG (14.13 KiB) Viewed 1378 times
tyros refa
 
Posts: 16
Joined: Sun Sep 06, 2015 8:16 am

Re: Parabolic SAR

Postby tyros refa » Wed Nov 06, 2019 12:00 pm

Apprentice wrote:SAR formula doesn't allow that.
Can you provide any examples?


Here is the code that corresponds to the example of the chart. I also have the code of version 11 of the PRT platform if you're interested...
Attachments
sar 10.3.PNG
tyros refa
 
Posts: 16
Joined: Sun Sep 06, 2015 8:16 am

Re: Parabolic SAR

Postby Apprentice » Fri Nov 08, 2019 4:58 am

I've converted the code but it still does not cross the bar in any way.
Checked the code several times, see no errors.
SAR_de_Wilder.lua
(4.68 KiB) Downloaded 293 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Parabolic SAR

Postby tyros refa » Fri Nov 08, 2019 5:56 am

Thank you very much Apprentice!

I will test this version. I'll come back if I find a problem.

Bye! :)
tyros refa
 
Posts: 16
Joined: Sun Sep 06, 2015 8:16 am


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 23 guests