Peterbolic SARThe Peterbolic SAR indicator is based on Peter Brandt's 3 Day Trailing Stop Rule. The yellow triangles indicate setup candles, and the green and red triangles represent trigger candles to buy and sell, respectively.
Sawcruhteez asked me to create the code for this SAR. Gabriel Harber came up with the name for the SAR. Peter Brandt gave his permission to use his name.
For more information, see Sawcruhteez Streamz: Live Coaching Sessionz with Gabriel Harber - Trading Peterbolic SAR
and Peter Brandt's original description of the 3DTSR
SAR
ENVELOPE BOLLINGER KELTN IMPULSE EMA SMA SAFEZONE SAR CHANDELIERALL THIS ALL IN ONE!
there are many options to check or uncheck to show only the tool that you need at that particular moment.
ENJOY!
ENVELOPE BOLLINGER KELTNER IMPULSE EMA SMA SAFEZONE SAR CHANDELIER
PSAR MTF Pane [Anan]Hello Friends,
My lovely pane now for built-in Parabolic SAR
Green : Bullish Parabolic SAR
Red : Bearish Parabolic SAR
No Green/No Red : The turning point
SmartSARSAR signal filtered by 3 indicators: MACD, AC, RVI.
This combination of trend indicator(SAR), 2 oscillators (MACD, RVI) , and 1 Bill Williams (AC) give us good Enter point.
Recommended timeframes: from 30 min and higher.
TJD Parabolic SAR + Binary PivotsIdentifies support points, and pivots on the market, to place you in trending trades, and identify potential reversals.
RePaNoCHa V4 [Alerts]Script for automatic trading with Alerts.
LG --> Long (green: not confirmed) (lime: confirmed)
ST --> Short (maroon: not confirmed) (red: confirmed)
TS --> Trailing Stop
xL --> Close Long Position
xS --> Close Short Position
SL --> Stop Loss
The trailing stop closes the trade if the price changes direction by a specified percentage or offset. There is no ideal distance because markets and price are always changing and we know that is impossible to exit on the top or bottom. This script interpolate the trailing Stop Offset with profit, higher profit --> higher Trailing Stop Offset. Despite this, it's difficult to catch the price but not impossible. It has a TS delay too. It take a snapshot every X seconds, if the TS is activated the alert is triggered, otherwise the price keeps fluctuating until a new snapshot.
It can be easily converted to Backtest. Just delete "//" on the corresponding part.
Default settings for XBT:USD at 1H.
Lucid SARI wrote this script after having listened to Hyperwave with Sawcruhteez and Tyler Jenks of Lucid Investments Strategies LLC on July 3, 2019. They felt that the existing built-in Parabolic SAR indicator was not doing its calculations properly, and they hoped that someone might help them correct this. So I tried my hand at it, learning Pine Script as I went. I worked on it through the early morning hours and finished it by 4 am on July 4, 2019. I've added a few bits of code since, adding the rule regarding the SAR not advancing beyond the high (low) of the prior two candles during an uptrend (downtrend), but the core script is as it was.
This code is open source under the MIT license. If you have any improvements or corrections to suggest, please send me a pull request via the github repository github.com
For more details on the initial script, see
Sawcruhteez from Lucid Investment Strategies wrote the following description of the Parabolic SAR, where the quotes are from Section II of J. Welles Wilder, Jr.'s book New Concepts in Technical Trading Systems (1978)
--------------------------------------------------------------------------------------------------------------------------
Parabolic SAR
"The Parabolic Time / Price System derives its name from the fact that when charted, the
pattern formed by the stops resembles a parabola, or if you will, a French Curve. The system
allows room for the market to react for the first few days after a trade is initiated and then the
stop begins to move up more rapidly. The stop is not only a function of price but also a function
of time .
"The stop never backs up. It moves an incremental amount each day, only in the direction which
the trade has been initiated."
"The stop is also a function of price because the distance the stop moves up is relative to the
favorable distance the price has moved... specifically, the most favorable price reached since the
trade was initiated."
A. The calculation for a bullish Parabolic SAR is:
Tomorrow’s SAR = Today’s SAR + AF(EP - Today’s SAR)
"Acceleration Factor (AF) is one of a progression of numbers beginning at 0.02 and ending at
0.20. The AF is increased by 0.02 each period that a new high is made" (if long) or new low is
made (if short).
EP is the "Extreme Price Point for the trade made so far. If Long , EP is the extreme high price for
the trade; if Short , EP is the extreme low price for the trade.”
Most websites will provide the above calculation for the Parabolic SAR but almost all of them
leave out this crucial detail:
B. "Never move the SAR into the previous day’s range or today’s range
"1. If Long , never move the SAR for tomorrow above the previous day’s low or
today’s low . If the SAR is calculated to be above the previous day’s low or
today’s low, then use the lower low between today and the previous day as
the new SAR. Make the next days calculations based upon this SAR.
"2. If Short , never move the SAR for tomorrow below the previous day’s high or
today’s high . If the SAR is calculated to be below the previous days’ high or
today’s high, then use the higher high between today and the previous day
as the new SAR. Make the next days calculations based upon this SAR."
When a Bullish SAR is broken then it gets placed at the SIP (significant point) of the prior trend.
In otherwords it is placed above the current candle and at the price that was the SIP.
The inverse is true for the first Bullish SAR.
"This system is a true reversal system; that is, every stop point is also a reverse point." If breaking
through a bearish SAR (one above price) that simultaneously signals to close a short and go
long.
Casey's Parabolic SARI whipped together this script after having listened to Hyperwave with Sawcruhteez and Tyler Jenks in the evening on July 3, 2019. They felt that the existing Parabolic SAR was not doing its calculations properly, and they hoped that someone might help them correct this. So I tried my hand at it, learning Pine as I went. I don't know if this script works properly (so don't use it!), but it does show a trend change on the weekly this week as it apparently should. I'm making the script public so that Sawcruhteez and Tyler Jenks can take a look at it.
MIT License
Copyright (c) 2019 Casey Bowman
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
EB 21 - Ricky IndicatorIndicates multiple signals:
SAR
2 SMA
MAST Detector
Bullish Engulfing
Bear Engulfing
Gold and Dead Cross
Volume Increment
SMA/pivot/Bollinger/MACD/RSI en pantalla gráficoMulti-indicador con los indicadores que empleo más pero sin añadir ventanas abajo.
Contiene:
Cruce de 3 medias móviles
La idea es no tenerlas en pantalla, pero están dibujadas también. Yo las dejo ocultas salvo que las quiera mirar para algo.
Lo que presento en pantalla es la media lenta con verde si el cruce de las 3 marca alcista, amarillo si no está claro y rojo si marca bajista.
Pivot
Normalmente los tengo ocultos pero los muestro cuando me interesa. Están todos aunque aparezcan 2 seguidos.
Bandas de Bollinger
No dibujo la línea central porque empleo la media como tal.
Parabollic SAR
Lo empleo para dibujar las ondas de Elliott como postula Matías Menéndez Larre en el capítulo 11 de su libro "Las ondas de Elliott". Así que, aunque se puede mostrar, lo mantengo oculto y lo que muestro es dónde cambia (SAR cambio).
MACD
No está dibujado porque necesitaría sacarlo del gráfico.
Marco en la parte superior cuándo la señal sobrepasa al MACD hacia arriba o hacia abajo con un flecha indicando el sentido de esta señal.
RSI
Similar al MACD pero en la parte inferior.
Probablemente, programe otro indicador para visualizar en una ventanita MACD, RSI y volumen todo junto. El volumen en la principal hay veces que no te permite ver bien alguna sombra y los otros 2 te quitan mucho espacio para graficar si los tienes permanentemente en 2 ventanas separadas.
[Long/Short] Range Filter-ADX-SAR [BACKTEST]Backtest of the same previous script with alerts.
Range Filter + ADX + SAR + Trailing Stop + Take Profit
Sar-MA SystemThis Script uses Parabolic SAR (developed by Welles Wilder) and some Moving Averages to calculate BUY/SELL and Close Buy/Close Sell points. Additionally the script adds Stop Loss line that is calculated by using Average True Range (ATR).
Basically, script checks the Parabolic SAR and gets confirmation from moving averages or parabolic sar of the higher time frame.
You will not be in a position all the time because if there is no comfirmation then you need to wait for it. For example after closing BUY position, if no confirmation from MAs or higher time frame SAR then there will not be short position, or vice versa.
if you use it please comment.
If you find this script useful, please consider a donation
BTC: 16XRqyS3Vgh1knAU1tCcruqhUrVm4QWWmR
Parabolic SARThis is a redesign of the built-in Parabolic SAR indicator. I added a proper input system, an option to highlight initial points for both lines and an option to choose points width. So, customize it as you want.
Parabolic SAR was originally developed by J. Welles Wilder and described in his book "New Concepts in Technical Trading Systems" (1978). It is a trend-following indicator that can be used as a trailing stop loss.
To know which settings for PSAR are the most profitable on your instrument and timeframe you can use this tool
Profitable Parabolic SAR
Profitable Parabolic SARHello friends,
This script is a powerful, non-repainting optimizer for the classic Parabolic Stop and Reverse (PSAR) — one of J. Welles Wilder's most respected trend-following systems. It automatically finds and applies the most profitable PSAR settings for each instrument and timeframe, eliminating the need for manual parameter tuning.
🛠 How It Works
The indicator evaluates over 500 combinations of PSAR parameters using a decision tree–based algorithm under the hood .
Each configuration is backtested across the instrument's full price history, and when a more profitable setup is identified, the indicator seamlessly switches to those values in real time — while maintaining the original PSAR logic.
The Maximum parameter remains fixed since its impact on overall profitability is minimal compared to Start and Increment.
This self-adjusting approach removes the guesswork of parameter optimization and keeps the PSAR dynamically tuned to changing market regimes.
💡 Integrated Versions Explained
This all-in-one tool merges 3 complementary indicators:
• Profitable PSAR — A parameter optimizer that runs in a separate window below your main chart. It doesn't generate buy/sell signals directly but analyzes your specific asset and timeframe to find optimal settings. These are displayed as two lines (purple and orange), with optional labels showing the actual parameter values. Once identified, you can apply these optimal values manually to the standard PSAR.
• Self-Adjusting PSAR — A real-time overlay version that looks and behaves like the standard PSAR but automatically adjusts its parameters on the fly. It requires no manual configuration and can be paired with the Profitable PSAR to monitor which settings are currently active.
• Compact Self-Adjusting PSAR — A minimalist oscillator version that reflects the same adaptive logic through simple binary outputs: -1 for Sell and 1 for Buy. This variant is ideal for filtering or signal integration into other systems.
Together, they form a unified adaptive system that gives users both automation and interpretability — the best of both worlds.
🔥 Key Features
Adaptive optimization powered by a decision tree–based algorithm
Real-time switching to more profitable parameter configurations
Direction filter (Longs | Shorts | Longs & Shorts)
Optional analysis start date for focused historical testing
Commission customization for realistic performance modeling
Visual highlighting of parameter changes
Optional buy/sell labels and compact trend signal display
If you'd like access or have any questions, feel free to reach out to me directly via DM.
👋 Good luck and happy trading!
有料スクリプト
LINEdicator - Trendanalysis toolThis indicator creates an trend channel based on an EMA/SMA combo and a Parabolc SAR indicator.
Watch for the peaks and the size of the red/green channel for possible trend change.
Can also be used as an Entry/Exit/Stop-Loss setting tool.
Cyatophilum SAR-MA Strategy [ALERT SETUP]An Automated Strategy based on Parabolic SAR and EMAs, also called the SARMA Strategy. Works on any timeframe and market.
Read More
This indicator will trigger long/short signals entries and exits. Excellent for manual or bot trading!
It has a stop loss system that you can activate to reduce risk.
Note: If a stop loss is reached, an exit alert is triggered.
This is the Alert Setup version. That means it is used to create automatic email or SMS alerts.
It has a Backtest version that you can use to find the best configuration. I will also be there to help you on my Discord channel .
Sample Use cases
Get the indicator today!
Multi Time Frame SARThis Indicator plots 5 differents time frame SAR in the same graphic.
It must be used in 5 minutes Time Frame.
Plots 5 minutes SAR, 15 minutes, 30 minutes, 1 Hour and 4 Hours.
If you need it to use in other time frame, you can send me a message to evaluate the development of a new version.
Parabolic SAR Strategy with Bactesting RangeStandard Parabolic SAR Strategy with SAR level plotted and backtesting range option.






















