Parabolic SAR rules in EL  [SOLVED]

Questions about MultiCharts and user contributed studies.
Automeq
Posts: 92
Joined: 16 Apr 2014
Has thanked: 11 times
Been thanked: 1 time

Parabolic SAR rules in EL

Postby Automeq » 22 Nov 2017

Any place where I can check the rules of Parabolic SAR, specifically when the previous bar Parabolic is violated and a new Parabolic is calculated ?

I know that this is in extreme past range of Hi-Lo of previous bars (it's easy to see that visually) but there is any link to read specific rules, preferably in easy language ?

User avatar
TJ
Posts: 6874
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 984 times
Been thanked: 1976 times

Re: Parabolic SAR rules in EL

Postby TJ » 22 Nov 2017

Automeq wrote:Any place where I can check the rules of Parabolic SAR, specifically when the previous bar Parabolic is violated and a new Parabolic is calculated ?

I know that this is in extreme past range of Hi-Lo of previous bars (it's easy to see that visually) but there is any link to read specific rules, preferably in easy language ?



You can always open the code and read the logic.

If you need specific help, please give specific examples.

Automeq
Posts: 92
Joined: 16 Apr 2014
Has thanked: 11 times
Been thanked: 1 time

Re: Parabolic SAR rules in EL

Postby Automeq » 24 Nov 2017

The code of Parabolic SAR doesn't show how the indicator is calculated

Code: Select all

inputs: AfStep( 0.02), AfLimit( 0.2 ) ;
variables: var0( 0 ), var1( 0 ), var2( 0 ), var3( 0 ), var4( "" ) ;

Value1 = ParabolicSAR( AfStep, AfLimit, var0, var1, var2, var3 ) ;

Plot1( var0, "ParCl" ) ;

                 
if var3 = 1 then
      Alert( "Bullish reversal" )
else if var3 = -1 then
      Alert( "Bearish reversal" ) ;


Whenever the previous bar Parabolic is violated, the trend is changed and a new value is plotted under/over the price. That corresponds to the last relevant low/high before that event. It could be 1 bar ago, it could be 6, it could be 50. Whatever.

That's what I would like to see in easy language: the way of determining what is the last relevant high/low and then how it increases/decreases.
Attachments
PAR.png
PAR.png (33.74 KiB) Viewed 261 times

Automeq
Posts: 92
Joined: 16 Apr 2014
Has thanked: 11 times
Been thanked: 1 time

Re: Parabolic SAR rules in EL  [SOLVED]

Postby Automeq » 24 Nov 2017

Damm it. The mechanics is in the function and not in the indicator. Sorry about this. I'll have a look.


Return to “MultiCharts”