OmCrypto - PSAR with TargetOmCrypto - PSAR with Target
This script uses PSAR as it's main buy and sell signal with automatic target to take profit, entry and stop loss
It also supports alert so you can use it for bots
You can set your own period (timeframe) for the target lines in settings, default is 60 minutes (1h)
Psar
RelicusRoad - Signal LineWhen you have charts full of too many indicators, it can mess up with your analysis and cause analysis paralysis. Use RelicusRoad Signal Line to simply your charts with a beautiful color changing moving average line as per the strategies selected.
4 different strategies to choose from:
1) MACD
2) PMACD (Price Action + MACD)
3) Parabolic SAR
4) Momentum
GREEN: BUY ZONE
RED: SELL ZONE
FUNCTIONS OVERVIEW
MACD: Moving average convergence divergence ( MACD ) is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price. The MACD is calculated by subtracting the 26-period exponential moving average ( EMA ) from the 12-period EMA .
The result of that calculation is the MACD line. A 9 EMA of the MACD called the "signal line," is then plotted on top of the MACD line, which can function as a trigger for buy and sell signals. Traders may buy the security when the MACD crosses above its signal line and sell—or short—the security when the MACD crosses below the signal line. Moving average convergence divergence ( MACD ) indicators can be interpreted in several ways, but the more common methods are crossovers, divergences, and rapid rises/falls.
Moving average convergence divergence ( MACD ) is calculated by subtracting the 26-period exponential moving average ( EMA ) from the 12-period EMA .
MACD triggers technical signals when it crosses above (to buy) or below (to sell) its signal line.
The speed of crossovers is also taken as a signal of a market is overbought or oversold.
MACD helps investors understand whether the bullish or bearish movement in the price is strengthening or weakening.
PMACD: It's an improvement to MACD that you can use the Red/Green indications to make better decisions.
Parabolic SAR: The parabolic SAR indicator, developed by J. Wells Wilder, is used by traders to determine trend direction and potential reversals in price. The indicator uses a trailing stop and reverse method called "SAR," or stop and reverse, to identify suitable exit and entry points. Traders also refer to the indicator as the parabolic stop and reverse , parabolic SAR , or PSAR.
The parabolic SAR indicator appears on a chart as a series of dots, either above or below an asset's price, depending on the direction the price is moving. A dot is placed below the price when it is trending upward, and above the price when it is trending downward.
The parabolic SAR (stop and reverse) indicator is used by technical traders to spot trends and reversals.
The indicator utilizes a system of dots superimposed onto a price chart.
A reversal occurs when these dots flip, but a reversal signal in the SAR does not necessarily mean a reversal in the price. A PSAR reversal only means that the price and indicator have crossed.
Momentum: On paper, momentum investing seems less like an investing strategy and more like a knee-jerk reaction to market information. The idea of selling losers and buying winners is seductive, but it flies in the face of the tried and true Wall Street adage, "buy low, sell high."
Momentum investing is a trading strategy in which investors buy securities that are rising and sell them when they look to have peaked.
The goal is to work with volatility by finding buying opportunities in short-term uptrends and then sell when the securities start to lose momentum.
Then, the investor takes the cash and looks for the next short-term uptrend, or buying opportunity, and repeats the process.
Skilled traders understand when to enter into a position, how long to hold it for, and when to exit; they can also react to short-term, news-driven spikes or selloffs.
Risks of momentum trading include moving into a position too early, closing out too late, and getting distracted and missing key trends and technical deviations.
Maddrix_club I - Scalper (3commas)Maddrix club I Scalper (3commas version). The code is very different from the ALERTATRON version.
It really is not the same!
Maddrix Club I is a simple, straightforward trading algorithm that goes long or short, based on user’s choice. It is considered to be a scalper, because it aims to capture small profits that accumulates and compound over time.
The theory behind it is based on trend following and DCA .
Strategy type one uses momentum to generate signals.
Strategy type two uses price action only
Very good results have been observed on the 1 min time frame though it technically works on all timeframe (5 min for example, 1 hour also). The most important part of this algorithm is risk management and capital preservation.
You can run this with very little capital, and always make sure that in the worst case scenario, meaning when the market goes against you and all your SO (Safety Orders) are filled, you are using less than your account balance.
If you are in a trending up phase on the weekly time frame, you can go long. If this is a definite trend down, of course go short. During a bear market, stay long, during a bull market, evidently long as well.
For totally new traders, I would recommend to LONG only, and set super low risk settings (cover a 50% drop for example), and see how it runs. Then, as you become a more experienced trader, you can identify trends and short as well, and/or increase your risk.
It works on all markets as long as there is volatility .
The best way to go about changing the settings, is to start off the default values. I’d run it and see how it fits your risk preferences.
There are absolutely no guarantees about this algorithm and past results are not indicative of future performance.
Fees, slippage and API delay: for any algorithm you will use (from me or others), please keep in mind that fees add up, slippage and delay creates differences between algo theory and reality. We can put in place systems to circumvent that, but we will always have them.
*** This one is SPECIAL 3COMMAS**
Indicator Direction Table With Bullish & Bearish LabelsINDICATOR DIRECTION TABLE WITH BULLISH AND BEARISH LABELS
This is a table that shows the bullish, bearish or neutral trend for nine different popular indicators. Each indicator label will change color in real time to make you aware of each change in direction. This way you don’t have to read and analyze a bunch of different indicators constantly and you can focus on price action instead.
Look for the entire table to turn green or red before taking positions.
You can also set alerts for when the entire table of indicators is bullish or bearish.
The indicator settings allow customization of indicator lengths & values, table position and turning the indicator table on or off.
The length and other values for each indicator can be customized to suit your preferences, but by default all of them are set to the normal default settings that Tradingview supplies the indicators with. Typically 14 as the length.
The indicators used in this table are as follows:
MACD - Moving Average Convergence Divergence
Stochastic RSI - Stochastic Relative Strength Index
Vortex - Vortex Indicator
Momentum - Momentum Indicator
RSI - Relative Strength Index
PSAR - Parabolic Stop & Reverse
DMI - Directional Movement Index
MFI - Money Flow Index
Fisher - Fisher Transform Price Action
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex.
***TIMEFRAMES***
This indicator table can be used on all timeframes.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are our Auto Fibonacci, Directional Movement Index + Fisher Price Action, Volume Profile With Buy & Sell Pressure, Auto Support And Resistance and Money Flow Index in combination with this indicator direction table. They all have unique features to help you make better and faster trading decisions.
ORB PSAR MTF Screener+ 1.0The parabolic SAR is a technical indicator used to determine the price direction of an asset, as well as draw attention to when the price direction is changing.
Sometimes known as the "stop and reversal system," the parabolic SAR was developed by J. Welles Wilder Jr., creator of the relative strength index (RSI).
PSAR can itself prove to be great trading strategy if it is used on a multiple timeframe.
This indicator contains the followings:
1. A Screener to process multiple stocks at one go to show possible trades
2. MTF plotting of trading signals for individual stocks as well as list of stocks
3. Alert system to inform you of possible trade setups
4. Auto selection of best MTF for trades
5. Strength Candle markings.
6. Configurable options to customise as per your need.
The indicator works on the 1 Min, 5Min, 30Min, 1Hr, 4Hr, Daily, Monthly setups.
Due to TradingView restrictions and MTF usages, the screener can process a list of only 14 symbols. However , you can use the alerts option to define multiple lists of 14 stocks.
Enjoy!
ORB Parabolic SAR Multi Time Frame (PSAR MTF)
This is an adaptation of the inbuilt PSAR function in a Multi Time Frame .
When MTF enabled It will plot two timeframe simultaneously as follows:-
1 Min with 5 Min (HTF)
5 Min with 15 Min(HTF)
15 Min with 1H(HTF)
1H with 4H(HTF)
4H with Daily(HTF)
Daily with Weekly(HTF)
Weekly with Monthly(HTF)
The higher timeframe(HTF) will get plotted in bigger circled lines.
By enabling plotting of all levels, you can see all current levels of all TF( M1 ,M5,M15,H,4H,D,W,M) on the same screen as "X" on the right side.
Alerts allow you to get alerts when these crossover happens.
Measure Volume, Momentum, Trend, VolatilityThis script displays the following indicators in one pane to quickly determine several important factors regarding price action. It allows the user to quickly see all of most important factors surrounding price action in one pane with one quick glance. This should be incredibly helpful and allow things like double divergence and trend confirmation to be spotted much more quickly. I personally use the data in this indicator to replace four separate indicators and it has brought my win rate and profit factor significantly higher. I hadn't seen any place where all of the best J. Welles Wilder indicators such as RSI, Parabolic SAR, and DMI/ADX were brought into one easy to use interface. This is my attempt at fixing that gap. For a much deeper understanding of how to use these indicators, I recommend reading New Concepts in Technical Trading Systems written by J. Welles Wilder.
Momentum via RSI (Relative Strength Index)
Volume via MFI (Money Flow Index)
Volatility via DMI/ADX (Direction Movement Index/Average Directional Index)
Trend via Parabolic SAR (Parabolic Stop and Reverse)
It is worth noting that DMI/ADX and Parabolic SAR can both help determine trend strength and volatility.
The Volatility mechanism is measured by DMI and ADX and displayed at the top of the pane using circles. The top, tiny circles reflect if show if positive DI or negative DI has a higher value. The small circles directly underneath indicate whether or not the ADX is above 20 (configurable, some may choose to increase this to 25 or even 30).
The Momentum mechanism is shown as standard RSI with the default being a white line and default period of 14, which is all configurable.
The Volume mechanism is shown as standard MFI with the default being a fuchsia line and default period of 14, which is also configurable.
The momentum and volume oscillators should be used in conjunction to help spot whether the trend is strong or weak using divergences and the middle, overbought, and oversold levels. These levels are also configurable.
The Trend mechanism is measured by Parabolic SAR and displayed at the bottom of the pane using diamonds. The default is red diamonds when in a bear trend, green when in an uptrend which is configurable. When price is above the Parabolic SAR, it is considered to be an uptrend. When price is below the Parabolic SAR, it is considered to be a downtrend. The way price is measured is also configurable (i.e. open, close, ohlc4, hlc3, etc.). When price crossed above or below the Parabolic SAR, the diamonds will change colors.
All the indicators displayed should be used in a well rounded strategy. For instance, I only trade when ADX is above 20 and rarely trade against the trend shown via PSAR. When trend shifts and divergences helped indicate a trend shift would occur using the RSI and MFI, it can be a great spot to take an entry. RSI/MFI can also confirm the trend is strong when they are not showing divergences and inline with price action. All of this data should be used in conjunction with good fundamental data and technical levels. Divergences with RSI and MFI on double tops or bottoms can also be incredibly powerful. There is no right or wrong way to use all the data displayed in this indicator, however using all four pillars of trading (Momentum, Volume, Trend, Volatility) will help ensure only the best trades are taken.
PSAR Optimization ScriptHello!
User @henryph24 suggested I make this script!
This script calculates the cumulative and average gain/Loss of rising SAR following a price crossover of SAR.
The cumulative and average gain/Loss of falling SAR following a price crossunder is also measured.
Changes to the parameters of SAR will return the requisite calculations for evaluating performance.
Benchmark SAR can be used to compare performance against test SAR.
When changing the SAR parameters the script will recalculate and display the rising SAR and falling SAR performance of the modified parameters. The script works for any asset on any timeframe.
Essentially, this script allows you to optimize SAR parameters, and quickly ascertain what can/cannot work for an asset.
The script automatically plots the best performing SAR between a benchmark SAR (SAR #1) and a test SAR (SAR #2). Both benchmark SAR and test SAR works the same. The two are used to compare performance between different SAR parameters. If you would like the script not to plot the best performing SAR you can select "On" for the "Override SAR" input box. Doing so will plot the SAR parameters of your choice while still allowing you to compare the performance of benchmark SAR and test SAR.
There are tooltips available in the user input tab that explain the SAR parameters, in addition to what your modifications of the parameters will do, should you be unfamiliar with the indicator!
Enjoy!
SAR+RSI+EMAs SignalsNOTE:
Indicator based strategies may expire and begin to work again. There are various ways to check the expiration of these strategies but I suggest equity curve trading (EC trading) as the best one.
Please check every single indicator based strategy to see if it’s still profitable or it has been expired to avoid losses.
Principles:
I personally believe every profitable indicator-based setup need 3 factors. Actually I analyze indicator-based set up in this way!
1- Trend detector: a tool that detect the “trend”.
2- Oscillators (Discount finder): a tool that detects “discounts” in the direction of the trend.
3- Stimulus: A tool that indicates the Initiation of a movement.
There may be profitable strategies that do not use all three, because other factors are strong enough to lead us to profit, but they are rare and sometimes they hide the other forgotten factor in the main two ones.
Elements:
(Since most of traders here, are familiar with these famous indicators I will not take your time to write about their uses and formula)
SAR: As a Trend detector, regarding position of close and SAR
EMA 7 and EMA 21: As trend detectors, regarding position of EMA 7 as fast “moving average” and EMA 21 as slow one. Also we need another confirmation for trend regarding EMA 7 and closing price of the signal candle.
RSI: In this strategy RSI is used both as a discount finder and a stimulus.
For RSI being over/under 50, regarding the trend, a possible discount may have been occurred. Imagine these conditions: close>EMA7, EMA7>EMA21, close>SAR and simultaneously RSI being under 50 is really a sign of powerful uptrend which it’s RSI decreasing might be a sign of corrective move, which will be following a bullish impulsive move.
The other use of RSI is to stimulate a buy signal by “crossing” over 50 or 30 (50 as balanced point of momentum and 30 as a sign of ending an oversold) or stimulate a sell signal by “crossing” under 50 or 70 (50 as balanced point of momentum and 70 as a sign of ending an overbought).
Entry point: you can use one of the followings.
1- Open of the next candle
2- EMA 7
3- Open of the signal candle
(Totally optional but “open of the next candle” is suggested by me.)
SL: Use one of the followings.
1- SAR or some pips (regarding ATR Or your experience of this trading instrument’s fluctuations in this time frame) below the SAR
2- Fixed amount (regarding ATR Or your experience of this trading instrument’s fluctuations in this time frame)
3- Use EMA21 as dynamic SL (if a candle far enough from the initiative candle close over (for sell) below ( for buy)
Again number 1 is suggested by me.
TP: Use one of the followings.
1- Use static levels or zones of support and resistance as TP.
2- Use dynamic levels for instance band of BB or moving averages (Moving the SL is possible).
3- Use fixed R to R
And I believe static zones of support and resistance work better.
Examples:
I indicate a buy signal on the chart!
Using local level as TP worked just good.
Using EMA was better in this case.
And using a riskier level or a fixed R to R is obvious in the chart!
Since in the range markets, this strategy may not work well and at the same time, TP to SL might be too small to be worth the risk, I prefer to use levels to filter range market conditions!
I convert all those circumstances to a simple buy and sell signs on the chart!
EMA21 and SAR are still visible because it is possible that traders use them for their TP and SL.
This is how it look without EMA21 and SAR!
Another screenshot of this strategy!
I also add a check box to filter signals by another trend detector. MATD created by me to help traders detect trend!
As it’s visible, some profitable signals filtered too, but using a longer-term trend detector as an additional one, alongside the double EMAs is very useful for this strategy.
The other box “use high&low instead of close for fast EMA” makes the “EMA7 and close” trend detector an easygoing one!
Almost everything is editable here!
*** I did not invent this strategy, you can find it for free on net ***
I'll change it to a "strategy" instead of an indicator if reader like to!
Seer by EY84This is a strategy based on Exponential Moving Averages or Volume Weighted Moving Averages against Adaptive fib resistance / support level and profit percentage which can be definetly defined by user and targeting small profits(profits will be raised by leverages).
In this strategy, there are predefined values which are collected one by one with statistical background and backtests. This gives an advantage to see which ratios are working better for each symbol.
Also this statistics are re-evaluated monthly and if there is a need they are goging to be changed with the help of libraries. Also IT IS RECOMMENDED TO USE IN HOURLY INTERVAL GRAPHICS!!!!
When we deep dive to strategy, it is based on profit percentages. it is similar to the MOST system. MOST only changes the way with default value of %2. But this hardcoded strategy is not working well with each Symbol.
So this is the point where Statistics are involved.
For Ex. while BTC is suits well with %2, it does not do wonders for RSR or RUNE which is 4-5% for each.
Library stores these values as a predefined options. Also it is allowed to change these predefined values within the settings of this strategy.
what is next ? Lets see how are we closing the positions.
Script checks cross of EMA / VWMA and adFib to decide open a position. In reversal / crosses, adFib line had been set to defined Fib. Percentage level. This sets the Full Position close / SL value for current order.
OK! we got the SL but how we get the profit ?
Now this is the place where Profit Percentage (PP) parameter involved. After the position opened it is waiting for PP to be reached. After PP had been reached, close signal had been raised for the HALF of the OPEN ORDER (with the BAR CLOSURE!!).
so tricky part has come here. Remaining position is still open and when "total available profit with remaining amount" had been reached to PP it wil raise the Close Half signal will be raised.
what happens to the SL position ? TWO possible scenarios will be raised here.
Case 1. Reversal on the adFib (short-to-long or long-to-short) will trigger full close signal.
Case 2. If the level drops the previous signal system will generate full close signal again.
Example 1:
Long Order Open : 100$
Half Close Signal : 110$
Case 1: adFib Reversal occurs : 105$ ==> Triggers Full Close Signal with Short Order.
Case 2: Price falls : 100$ ==> Only Triggers Full Close Signal.
Example 2:
Long Order Open : 100$
Half Close Signal : 110$
2. Half Close Signal : 121$
Case 1: adFib Reversal occurs : 115$ ==> Triggers Full Close Signal with Short Order.
Case 2: Price falls : 110$ ==> Only Triggers Full Close Signal.
Beside of these, strategy is also includes editable 4 EMA, 1 WMA, 1 AVWAP and Bollinger Bands Plotting (2.5x Multiplier) who wants to use them as a supportive statistics.
All feedbacks are welcome.
Zero-Lag MTF PSAR MACD with Bollinger Bands v1.0 [loxx]Zero-Lag MTF PSAR MACD with Bollinger Bands v1.0
This is an experimental indicator that captures PSAR movements on seven different timeframes in order to improve trend detection on the daily timeframe. The seven PSARs are averaged and then fed into a zero-lag MACD function where the average of the PSARs is the source for the slow moving average and the daily timeframe close is the sourse of the fast moving average.
Things to know:
- Dark Green Background: All seven PSAR waves are above the closes of the PSARs respective timeframes; i.e., macro trend up
- Dark Red Background: All seven PSAR waves are below the closes of the PSARs respective timeframes; i.e., macro trend down
- Histogram and bar coloration is based on the difference between close and the average of all seven PSARs
- Various color schemes included
- Indicator has neither been backtested nor tuned with a strategy backtest
How to use:
Reversal Longs and Shorts
- Bollinger Bands show movement outside of normal deviation around the zero line. Wait for MACD to reach the either side top or bottom of Bollinger Bands for reversal long and reversal short respectively
- Check that MACD has crossed over or under the Signal line; i.e., denoted with a green dot for cross up and red dot for cross down
- Check dark background colors to see where the PSAR waves are currently situated and whether PSAR wave direction has aligned on all time frames
Longs and Shorts
- Longs: Check when MACD is above the zero line and the Signal line crosses over the zero line
- Shorts: Check when MACD is below the zero line and the Signal line crosses below the zero line
Strong Confluence:
- Longs/Shorts: Whenever the MACD crosses up or crosses down over/under the Signal/Zero line while inside a candle with background highlighting
- Reversals: Whenever the MACD crosses up or crosses down over/under the Signal/Zero line while inside a candle with background highlighting and at the very top/bottom or outside the top/bottom of the Bollinger Bands
Comment below or send a PM with questions, comments, observations, or concerns.
PSAR + EMA/TEMA/RSI/OBVThe Parabolic Stop-and-Reservse (PSAR) is a trend indicator, intended to capture reversal signals and show entry and exit points. The PSAR is bullish when the PSAR is below the candle body (usually indicated by a dot) and bearish when the PSAR is above the candle body. The PSAR generally only moves in the direction of the trend, making it useful for markets with an upward or downward trend, as well as swing markets. It is weaker when the market it sideways, as it can be prone to frequent flips (bull-to-bear or vice versa) in markets where a predominant trend is not present.
In order to combat the tendency for rapid swings in the PSAR, it is commonly paired with a second indicator. Often, this is a moving average (MA) to confirm the PSAR signal. Here is a common example:
PSAR + 2 EMAs: A trade would consider entering long when the PSAR is bullish and the fast EMA is above the short EMA.
PSAR + 3 EMAs: As above, but the trader could also add a very long EMA (200, for example) and use that as an additional filter.
In addition to using EMA, other MAs can be used and may be more appropriate to certain instruments and timeframes. Using TEMA, for example, may result in less lag but introduce more noise. Likewise, the Ehler's MAMA is an option.
Some traders use other indicators as PSAR confirmation signals, such as the relative strength index (RSI) on on-balance volume (OBV). The strategy is similar:
bullish PSAR + RSI oversold = consider long entry
bullish PSAR + OBV oscillator > 0 = consider long entry
The strategy presented here is based on my PSAR + EMA + TEMA study. Any of the above strategies are supported by this script:
1. The PSAR is the primary signal.
2. Confirmation is provided by any of the following: EMA , TEMA , Ehler's MAMA , RSI , or OBV.
3. You may use a third EMA (set to 200 as the default) to filter entries -- if used, the strategy will only show signals if the price is above the third (additional) EMA .
For example, a normal long signal would be a bullish PSAR + fast EMA > slow EMA + price > ema 200.
In addition, you may use a SL, which is set to the PSAR dots shown. You may also limit the backtesting dates. (Please note in the chart above, I do not have a limit on the trading dates. I believe this exaggerates the success of the strategy, but the house rules demand I not limit the timeframe to show you a more accurate picture.)
7 Moving Averages [Plus]Moving Averages are price based, lagging (or reactive) indicators that display the average price of a security over a set period of time. A Moving Average is a good way to gauge momentum as well as to confirm trends, and define areas of support and resistance. Essentially, Moving Averages smooth out the “noise” when trying to interpret charts. Noise is made up of fluctuations of both price and volume. Because a Moving Average is a lagging indicator and reacts to events that have already happened, it is not used as a predictive indicator but as an interpretive one for confirmations and analysis.
Bollinger Bands (BB) are a widely popular technical analysis instrument created by John Bollinger. The BB consist of a band of three lines which are plotted in relation to security prices. The line in the middle is usually a Simple Moving Average (SMA) set to a period of 20 days (the type of trend line and period can be changed by the trader; however a 20 day moving average is by far the most popular). The SMA then serves as a base for the Upper and Lower Bands which are used as a way to measure volatility by observing the relationship between the Bands and price. Typically the Upper and Lower Bands are set to two standard deviations away from the SMA (The Middle Line); however the number of standard deviations can also be adjusted by the trader.
This script shows 6 moving averages and Bollinger Bands.
Features:
- Standard MA inputs.
- MA type.
- MA period.
- MA source.
- MA resolution (time frame).
- MA Offset.
- Forecasting : forcasted prices are calculated using our MAType and MASource for the MAPeriod.
- Trail: Show only candles not included in the MA calculation.
The color of MA1 depends on the chosen strategy, by default this is the 3EMA strategy. You can also select "Pivot Point Supertrend" or "Ichimoku Trend"
Added "Parabolic Stop and Reverse (PSAR)" . The PSAR is a time and price technical analysis tool primarily used to identify points of potential stops and reverses. In fact, the SAR in Parabolic SAR stands for "Stop and Reverse". The indicator's calculations create a parabola which is located below price during a Bullish Trend and above Price during a Bearish Trend.
Added "Linear Regression Channel" which can be correctly plotted on logarithmic charts. A linear regression channel consists of a median line with 2 parallel lines, above and below it, at the same distance. Those lines can be seen as support and resistance. The median line is calculated based on linear regression of the closing prices but the source can also be set to open, high or low. The height of the channel is based on the deviation of price to the median line. Extrapolating the channel forward can help to provide a bias and to find trading opportunities.
PSAR + MACD + 200 EMA by @DaviddTechIndicators used for this
200 EMA
MACD
PSAR
To take a Long Entry
* Price above the 200 EMA
* PSAR long entry signal
* Both MACD and signal line below 0
* MACD crossover
To take a Short Entry
* Price below the 200 EMA
* PSAR short entry signal
* Both MACD and signal line above 0
* MACD crossunder
WARNING:
- For purpose educate only - My mission is to debunk fake strategies with code to find THE ONE.
- Plots EMAs and other values on chart.
- This script to change bars colors.
Papercuts Dual PSAR v01Dual PSAR is a trend following script that uses auto-higher timeframe calculation of the current timeframe to create a dual Parabolic Stop And Release.
This is useful because it can determine periods of transition or indecision and can flag those periods with which way it is learning even though it is undecided, what i call "Wait Zones".
When both PSARS are not in alignment, it uses the lower timeframe one to determine which way the wait zone is learning.
You can see below in the chart shows some good trends and some wait zones.
A wait zone can have bullish indication, but then still have a bearish continuation.
A wait zone can have bullish indication, and then enter a bull trend.
Typically I won't make trades in wait zones, and I will exit trades when entering one.
Just wanted to try this out and see how it did. Figured I'd share.
B3 PSAR v4This is an update to Pinescript version 4 for one of my oldest indicators, Parabolic Stop and Reverse.
The indicator math and algorithm has not been modified, but the stylization and usage has improved.
Added:
Bar-coloring = User sets the up and down colors in user interface style menu.
Inputs = The two inputs' up-down arrows now increment by thousandths & hundredths respectively. This is a vast improvement! Just leave the UI up when fishing for a value and watch the chart change.
Alerts!!! = Set your alerts to "B3 PSAR" then "Any alert() function call" in your Alerts User Interface; and you can also quickly turn alerts on/off in the PSAR indicator's UI.
Important Note:
TradingView has a version of PSAR, and you may find other scripters make the indicator as well.
People make claims on what math or algorithm is correct and what were Wilder's intentions for the indicator.
I am not interested in the theory, MY VERSION OF PSAR MATCHES OTHER PLATFORMS' CHART RESULTS for their native PSAR (Tradestation, TOS, etc). ;-)
Text copied from the obsolete posts:
Version 1 notes:
I have seen Parabolic SAR done several ways in the past and on several platforms. I have a few trailing systems I use to have a time-affected stop, meaning that as time goes, the way the stop works changes. In this method, you have a stop starting off of the high or low at the time of the cross of the previous stop, giving you a binary flipping agent. I like the usage of this system upon trendy action, however, in sideways action, the indicator flips back and forth with no pertinence. The flat lines represent the last price that was crossed, and as the PSAR crosses the line you essentially lock in profits in the trend.
Version 2 notes:
The minimum value inputs for acceleration and limiter inputs have been set to zero, by P.M. request.
[PX] MTF OverviewHello everyone,
the new table-functions came out, so I wanted to give it a try. With this indicator you can get an overview for your chart by looking at multiple timeframes and different type of indicators for each timeframe.
How does it work?
The indicator uses 3 different timeframes, which you can select in the settings-tab. For each timeframe it will look at the following indicators:
- Volume for the Volume column
- Relative Strength Index (RSI) for the Momentum column
- Average True Range (ATR) for the Volatility column
- Parabolic SAR (PSAR) for the Trend column
Increasing values will be shown in green, decreasing values in red. For the trend it prints a nice little symbol. I'm planning to add more indicators for each indicator category, so that you can choose, which indicators you want to use.
Hope that might be useful to some of you :)
Please click the "Like"-button and follow me for future open-source script publications.
If you are looking for help with your custom PineScript development, don't hesitate to contact me directly here on Tradingview or through the link in my signature :)
PSAR using Moving Linear Regression (LSMA)Works exactly as the standard PSAR with the only difference that a Moving Linear Regression Line (=Least Squares Moving Average, LSMA) is used as input.
So the PSAR flip is triggered not by price itself but by the LSMA line.
Angel Algo PSARHello, wanted to drop this self learning PSAR Algorithm for you guys
This input is equivalent to "Max Value" in the built-in SAR . It's fairly self-explanatory.
This is the acceleration factor's limit.
I kept it at 0.2 like the standard. You won't typically notice much of a difference when changing this value, unless you decrease it.
The inputs control your date and time settings for the "learning" phase.
The start and end times are also displayed within the info panel.
You can also select your timezone for this. By default, it uses the exchange's timezone. But you can set a custom time zone for this as well.
When time is within this range, the optimizer is actively running and identifying the best settings for start and increment. Once time is outside of this range, the values are finalized.
The last input group is for the info panel.
From here, you can toggle it, as well as select size and colors.
Naturally, this script is quite different from your "run of the mill" PSAR since it uses a form of algorithmic learning to automatically identify the best settings. Or in other words, the inputs are optimized to deliver the best returns over the testing range.
Leave a like or comment!
Had to update the this public script
Rfactory: Ken Long RLCO FrameworkRfactory has partnered with Dr Ken Long of Tortoise Capital Management to provide his complete RLCO Framework into a single seamless TradingView indicator along with his most recent MACD Seasons work. This is by far the quickest and easiest way to get up and running with a beautifully crafted RLCO Framework in just a few clicks.
Dr Long developed the RLCO (Regression Line Cross Over) Framework as a statistical lens through which he trades the markets and has taught the approach to countless traders through Dr Van Tharp's IITM as well as his own workshops and trading community.
All elements of the Framework are preconfigured and the indicator includes a custom "Stats" overlay with daily range statistics (such as FrogBox, Hybrid FrogBox, Rangestat, etc). Each element of the RLCO Framework can be enabled or disabled at the click of a button via the indictor settings.
The RLCO Framework elements include the Linear Regression lines (RL10, RL30, RL90, RL270), the Bands (River, Flood Plain & Z3 Bands as well as the Dragon and the Baby Dragon) and a host of other Supplemental tools that are often used in conjunction with the above including VWAP, PSAR and the customized PSAR on the RL10 that Dr. Long pioneered.
In order to keep an eye on intraday volatility the Z3 bands will change color to yellow when we enter an SQC (Sideways Quiet Channel) environment to alert the trader.
Each element has been carefully designed with pre-configured and deliberate layering, coloring and translucency settings by default so it looks gorgeous out of the box but can also be customized to taste using the usual TradingView indicator settings.
For an even more intuitive experience you can monitor the MACD Season at a glance from within the RLCO Framework itself by coloring either the RL10 line or the Dragon by MACD Season which has become a very popular feature.
Also available (although it is a separate indicator it is included along with the framework) is the MACD Seasons Indicator which is loaded into its own sub-graph. All settings are preconfigured to be the same as Dr. Long uses out of the box and the plots include the MACD line colored by Season, the Signal line and the Red River. SSC (Spring Supported Crossing) Signals are specifically highlighted with large Dots on the MACD Line. Everything is customizable including not only coloring and line styles but also the underlying settings for lookbacks as well as a selector to use SMA's or EMA's for the calculations.
Full strategy Psar+ adx + cmf + rsi This ia full strategy made with a combination of a trender, volume, volatility and oscillator.
In this case we only go long.
Indicators used:
Default PSAR
Default CMF
Modified RSI logic, not using OB/OS
ADX with EMA applied
The rules are : we check if we are in a uptrend on psar, together with a positive value in volume, rsi is above the middle line(50), using a big length, and lastly the ADx is superior to the ema ADx
For exit, we check the opposite, like downtrend psar, negative value volume, rsi < 50, and adx < ema adx
If you have any questions let me know.
PSAR-Risk Strategy Analysis ToolThis is the strategy version of my PRS indicator, information of how it works and parameters explanation is located there. This generates performance chart and an exportable trading log, but it's incapable of sending alerts (the reason of the fork). Use this tool for backtesting information and the original PRS to generate the alerts, once the optimal input values have been found with this tool.
cheesywedges MTF MACD+Stoch+Ichi+PSARThis is a heatmap created to show 4 key indicators MACD, Stochastic, Ichimoku and PSAR. Adjust TF accordingly. Default is incremental by 45 minutes.
One advantage is you can see as the indicator current candles change from green to red or the other way round as the current trend changes. Eg. MACD attempting to cross Signal and the candle will flicker red to green and you can see it happen on multiple TF.
Standard Settings
PSAR - Start, Increment and Max Value
Stochastic - K,D,Smooth, Upper and Lower
MACD - Fast, Slow and Smooth
Ichimoku - Conversion Line, Base Line Periods, Lagging Span and Displacement
Advanced Settings (MACD)
MACD/Signal Crossover , eg. Long = MACD > Signal
MACD/Signal + Histogram Crossover , eg. Long = MACD > Signal and Hist > 0 and Signal > 0
MACD/Signal Crossing, eg. Long = MACD > Signal and previous MACD < previous Signal
MACD/Signal + Histogram Crossing, eg. Long = MACD > Signal and previous MACD < previous Signal and Hist > 0 and Signal > 0 and previous Hist > previous Signal
For normal usage, just use MACD/Signal Crossover
Recommended Settings
Ichimoku 20, 60, 120, 30
If customized enhancement required drop a message and I'll see what I can do.