Parabolic SAR Code

Forums ProRealTime English forum ProBuilder support Parabolic SAR Code

Viewing 15 posts - 1 through 15 (of 17 total)
  • #59394

    Hi all,

    I was wondering if anyone has the code for the Parabolic SAR indicator and is willing to share? I know the indicator is accessible through calling SAR but I would like the code behind it.

    Thanks!

     

    #59397
    AVT
    #59421

    Hi Tom,

    Here you have the code of SAR from an Italian forum :

    have a nice day

     

    3 users thanked author for this post.
    #59429

    Here you have another  code of SAR

     

    2 users thanked author for this post.
    #75515

    Thanks for sharing this.  I’m having difficulty when adjusting the 3 variables of initial, increment and limite.  I want the pSAR to be highly sensitive (ie. change from under to over at the slightest provocation), but it seems PRT has a lower limit on such a display.  Is this correct?  Is there a way to get around this limitation?  Regards.

    #75568

    I’m not aware of any limitations. Did you try to adjust the increment and initial variables with lower values, and with 3 decimals?

    #75570

    Thank you, yes I tried adjusting them several times.  Someone explained to me that it’s possible PRT used a slightly different code for the SAR.  There are a few different ones around.  I’m trying to replicate what I have on another platform.  If I can get the code for it, I’m hoping you or someone else might be able to translate it for me.  Is there a place where I can request a translation please?

    #75584

    If the code is not copyright protected, you can freely create a new topic following this procedure (for MT4 code conversion or any other trading platform):

    Free Conversion of MT4 Indicators (MQL4)

    #75758

    I’ve asked the author and he’s strict with sharing his work.  So I can’t do that.

    But I wonder if you’d help.  I’ve tried modifying both of the codes above to achieve a greater responsiveness (ie. a choppier pSAR) and can’t get that happening.

    #75765

    Sure I could help, did you try the settings below?

     

    #75769

    Thanks.  Yes I tried the built in parameters, but I can’t get it responsive enough.  The change from above to below and vice versa take too long.  I need it much tighter to the price action.

    #75772

    ok, but that’s already very fast with the settings I gave in the last post. Since I have no clue of what you expect to be more responsive, could you please share with me some screenshots of the other indicator you talked about? Thank you.

    #75785

    I just want it to be a bit faster, like so:

     

     

    #75846

    A very different kind of SAR, a very different indicator. I’d like to help but it seems that is has been a lot customized in its code and how could we know what changed were made?

    #174047

    Please see in next post the code from the ‘SAR ATD’ indicator in French.
    Actually this indicator is not OK, because the SAR should not reverse if touched but not crossed at the close of the period.
    See this example were the SAR reverses whereas it should not.

    Can anyone help provide the right code modification to get this result?

    Best regards

Viewing 15 posts - 1 through 15 (of 17 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login