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 ?
Parabolic SAR rules in EL [SOLVED]
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Parabolic SAR rules in EL
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.
Re: Parabolic SAR rules in EL
The code of Parabolic SAR doesn't show how the indicator is calculated
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.
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" ) ;
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
- (33.74 KiB) Downloaded 622 times