Put to Call Ratio CorrelationHello!
Excited to share this with the community!
This is actually a very simple indicator but actually usurpingly helpful, especially for those who trade indices such as SPX, IWM, QQQ, etc.
Before I get into the indicator itself, let me explain to you its development.
I have been interested in the use of option data to detect sentiment and potential reversals in the market. However, I found option data on its own is full of noise. Its very difficult if not impossible for a trader to make their own subjective assessment about how option data is reflecting market sentiment.
Generally speaking, put to call ratios generally range between 0.8 to 1.1 on average. Unless there is a dramatic pump in calls or puts causing an aggressive spike up to over this range, or fall below this range, its really difficult to make the subjective assessment about what is happening.
So what I thought about trying to do was, instead of looking directly at put to call ratio, why not see what happens when you perform a correlation analysis of the PTC ratio to the underlying stock.
So I tried this in pinescript, pulling for Tradingview's ticker PCC (Total Equity Put to Call Ratio) and using the ta.correlation function against whichever ticker I was looking at.
I played around with this idea a bit, pulled the data into excel and from this I found something interesting. When there is a very significant negative or positive correlation between PTC ratio and price movement, we see a reversal impending. In fact, a significant negative or positive correlation (defined as a R value of 0.8 or higher or -0.8 or lower) corresponded to a stock reversal about 92% of the time when data was pulled on a 5 minute timeframe on SPY.
But wait, what is a correlation?
If you are not already familiar, a correlation is simply a statistical relationship. It is defined with a Pearson R correlation value which ranges from 0 (no correlation) to 1 (significant positive correlation) and 0 to -1 (significant negative correlation).
So what does positive vs negative mean?
A significant positive correlation means the correlation is moving the same as the underlying. In the case of this indicator, if there is a significant positive correlation could mean the stock price is climbing at the same time as the PTC ratio.
Inversely, it could mean the stock price is falling as well as the PTC ratio.
A significant negative correlation means the correlation is moving in the opposite direction. So in this case, if the stock price is climbing and the PTC ratio is falling proportionately, we would see a significant negative correlation.
So how does this work in real life?
To answer this, let's get into the actual indicator!
In the image above, you will see the arrow pointing to an area of significant POSITIVE correlation.
The indicator will paint the bars on the actual chart purple (customizable of course) to signify this is an area of significant correlation.
So, in the above example this means that the PTC ratio is increase proportionately to the increase in the stock price in the SAME direction (Puts are going up proportionately to the stock price). Thus, we can make the assumption that the underlying sentiment is overwhelmingly BEARISH. Why? Because option trading activity is significantly proportionate to stock movement, meaning that there is consensus among the options being traded and the movement of the market itself.
And in the above example we will see, the stock does indeed end up selling:
In this case, IWM fell roughly 1 point from where there was bearish consensus in the market.
Let's use this same trading day and same example to show the inverse:
You will see a little bit later, a significant NEGATIVE correlation developed.
In this case identified, the stock wise RISING and the PTC ratio was FALLING.
This means that Puts were not being bought up as much as calls and the sentiment had shifted to bullish .
And from that point, IWM ended up going up an additional 0.75 points from where there was a significant INVERSE correlation.
So you can see that it is helpful for identifying reversals. But what is also can be used for is identifying areas of LOW conviction. Meaning, areas where there really is no relationship between option activity and stock movement. Let's take spy on the 1 hour timeframe for this example:
You can see in the above example there really is no consensus in the option trading activity with the overarching sentiment. The price action is choppy and so too is option trading activity. Option traders are not pushing too far in one direction or the other. We can also see the lack of conviction in the option trading activity by looking at the correlation SMA (the white line).
When a ticker is experiencing volatile and good movement up and down, the SMA will generally trade to the top of the correlation range (roughly + 1.0) and then make a move down to the bottom (roughly - 1.0), see the example below:
When the SMA is not moving much and accumulating around the centerline, it generally means a lot of indecision.
Additional Indicator Information:
As I have said, the indicator is very simple. It pulls the data from the ticker PCC and runs a correlation assessment against whichever ticker you are on.
PCC pulls averaged data from all equities within the market and is not limited to a single equity. As such, its helpful to use this with indices such as SPY, IWM and QQQ, but I have had success with using it on individual tickers such as NVDA and AMD.
The correlation length is defaulted to 14. You can modify it if you wish, but I do recommend leaving it at this as the default and the testing I have done with this have all been on the 14 correlation length.
You can chose to smooth the SMA over whichever length of period you wish as well.
When the indicator is approaching a significant negative or positive relationship, you will see the indicator flash red in the upper or lower band to signify the relationship. As well, the chart will change the bar colour to purple:
Everything else is pretty straight forward.
Let me know your questions/comments or suggestions around the indicator and its applications.
As always, no indicator is meant to provide a single, reliable strategy to your trading regimen and no indicator or group of indicators should be relied on solely. Be sure to do your own analysis and assessments of the stock prior to taking any trades.
Safe trades everyone!
Options
Earnings Volatility AverageThanks to Dead_Hunter for his ROCEM code which inspired me.
This code looks back over X number of earnings cycles (default is 8) and X number of bars in each earnings cycle (default is 15) to calculate the largest move in each defined earnings period.
The count of earnings cycles starts with the latest past earnings date. The code ignores all future earnings dates in its calculations.
Then the code finds the average price move of those X number of earnings periods.
Using the average price move value the code displays the Price Increase and Price Decrease based on the current price bar.
You can also define how many legs you would create for the option trade and the total commission to open and total commission to close, allowing you to better define your possible breakeven points.
This code was developed to use on a Daily chart.
Put-Call Bias IndicatorThe Put-Call Bias Indicator provides a visual representation of the relative bias towards put options using CBOE data. This script calculates the Put/All ratio, displaying the difference as compared to an even 50% ratio as columns on the chart. A positive value indicates a higher proportion of puts being bought compared to the total number of options contracts.
The indicator uses weekly CBOE data to determine the Put/Call ratio, making it suitable for analyzing longer-term trends in options trading sentiment. The gray columns represent the bias towards puts, with the green horizontal line at 0 acting as a reference point to quickly identify the prevailing bias.
In addition to providing an overview of market sentiment, this indicator can also be used as a contrarian indicator. A high Put/All ratio may suggest that the market is overly bearish, potentially signaling a bullish reversal, while a low ratio may indicate an overly bullish market, potentially pointing to a bearish reversal. Please note that this indicator should be used in conjunction with other technical analysis tools and indicators for a comprehensive understanding of the market.
(This is a new version of an old script bc previous version was deleted by TradingView; republishing with a more verbose description)
Earnings Option Play HelperThanks to Dead_Hunter to the base code which I modified.
This code will now use the last 21 daily candles of the earnings cycle to calculate the average percent price move.
Then using Dead_Hunters code looking at the past 8 earnings cycles, the final average percent price move is calculated.
This is the Average value which is displayed and used to calculate the Price Increase and Price Decrease on the up Earning date.
this script can be useful for planning Strangle and Straddle options trades.
Automated Option Price - Black-Scholes modelPlease make sure you are plotting this indicator on DAILY bars, not doing so will lead to unintended results. Also, make sure that you keep up to date the Risk-free interest rate, which you can consult (for U.S.) on ycharts.com.
This is an indicator that is meant to be used for Options Day Trading, but it can be useful for mid-term or leaps for I also enabled the possibility for user to input manually the Strike and Expiration date. I based the calculation on the Black-Scholes model. Variables included in the calculation are:
-Stock price (S): The current price of the underlying asset (e.g., a stock).
-Strike price (K): The predetermined price at which the option can be exercised.
-Time to expiration (T): The time remaining until the option expires, expressed as a fraction of a year.
-Volatility (σ): The annualized standard deviation of the stock's returns, which is a measure of the stock's price fluctuations.
-Risk-free interest rate (r): The annualized return on a risk-free investment, often approximated by the yield on a government bond.
The only variable I excluded from the original model was the Dividend yield (q).
U S E R I N P U T S:
1. AUTOMATIC calculations enabled:
i) Strike price (K):
Automatically calculate the strike price for both call and put options based on the stock's closing price. The logic follows a set of rules to determine the strike prices which will usually be Out-of-the-Money (OTM):
-If the stock's closing price is between 1 and 60, the call strike price is rounded up to the nearest whole number, while the put strike price is rounded down to the nearest whole number.
-If the stock's closing price is between 60 and 90, the call strike price is rounded up to the nearest whole number and increased by 1, while the put strike price is rounded down to the nearest whole number and decreased by 1.
-If the stock's closing price is between 90 and 120, the call strike price is rounded up to the nearest whole number and increased by 2, while the put strike price is rounded down to the nearest whole number and decreased by 2.
-If the stock's closing price is above 120, the call strike price is rounded up to the nearest multiple of 5, while the put strike price is rounded down to the nearest multiple of 5.
By applying these rules, I just tried to ensure that the automatically calculated strike prices are tailored to the stock's price range, allowing for more accurate option pricing calculations.
ii) Time to expiration (T):
The indicator will consider this week’s expiration contracts (Friday) only when the current day/bar = Monday. If Tuesday or older it will consider the expiration date of the next week’s Friday (because we are not Theta gamblers, right?).
If you are not comfortable with above for whatever reason, you can always…
2. Enter inputs MANUALLY
First make sure you UNTICK the boxes for automatic calculation.
i) Strike price (K) – Self-explanatory
ii) Time to expiration (T) – Just make sure that the horizon you are inputting matches with the next parameter (e.g. you would not input a Monthly risk-free interest rate for a Leap).
iii) Risk-free interest rate (r) – You can pull this data from the web. Here’s the link I used to define the value that this indicator was launched with:
ycharts.com
Don’t get obsessed with updating this daily if you are using this for day trading, you will notice that weekly may be more than enough.
V O L A T I L I T Y
Not option to manually input Volatility so I’ll explain how it is calculated in this script:
I considered two measures of volatility; one is derived calculating the annualized volatility using the standard deviation of daily returns and the second one is the ATR-based annualized volatility. I then used a ‘combined’ approach with the harmonic mean and the arithmetic mean of these results which can help account for the variability in the option prices calculated with different volatility estimates, which can be more robust when dealing with outliers or skewed data. I back tested with some samples of actual option prices and found that this approach is the one that got results closer to the actual bids.
T A B L E
Nomenclature to read rows is:
Option Strike Price | Type of Option (Put or Call) @ The current Close or at 50% level of bar | Estimated Price
*The Option expiration Date showed as dd-MMM as part of the headers.
Second and third row (color 1): These will show the calculated value for the Put/Call, assuming you are buying at the CURRENT price of the stock.
Third and Fifth row (color2): These will show the calculated value for the Put/Call, assuming you buy at the 50% level of the current bar (this is the value that the contract WOULD HAVE at the 50% level of the bar).
If you plot the indicator during market hours it will obviously update as price moves, this is an intended feature.
L I M I T A T I O N S
The Black-Scholes model, like many other models, has its limitations and will oftentimes provide inaccurate option prices in all market conditions. High volatility events, such as earnings announcements, can lead to significant price fluctuations that are not fully captured by the model.
The model assumes that the stock price follows a continuous random walk with constant volatility, but in reality, volatility can change over time, and stock prices can exhibit jumps, especially around significant events like earnings announcements. This can cause the model to underestimate the true option price in such situations.
Please make sure that you first back test on the symbols you trade to ensure the information presented by this indicator will suit your trading strategy. You will find that the delta between the proposed price of the indicator versus the actual price may differ significantly in some symbols while for others it will be very close. For instance, today (13APR23), the prices for AMD, DIS, AAPL (puts only), were very close to actual bids, whereas TSLA differ significantly (but then again, take a look at the calendar and this last symbol is having earnings next week which may add a premium to the contracts)… I am sure you will get your own conclusions and applicable use cases based on the data you test with.
As always, be wise and methodical on the investment or trading decisions you make!
Options Price CalculatorIn the team, we continue to explore and expand the boundaries of TradingView.
For now, there is not much an options trader can do with options in TradingView.
We wanted to change that and created a simple option pricer.
You can set up in parameters a set of strikes, implied volatility, and days to expiry.
The indicators will take a risk-free rate from US01Y and the underlying price from your current chart.
It will compute prices and greeks for both put and call options.
Thanks to @MUQWISHI for helping code it.
Disclaimer
Please remember that past performance may not indicate future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Leverage HelperCalculate position size & leverage the easy way!
- Drag & drop entry + stop loss level
- Input account size + risk size in the settings
- Calculation plotted on table
Swing BoxesHey, folks!
Sorry for not posting anything for such a long time. Don't have enough ideas and resources to get inspiration, so trying to brainstorm good stuff in my free time from university studies.
But despite my absence more I now have 300+ people subscribed to me! Thanks, guys, for keeping interest for my work, as I still do value each boost on my script, for real :)
So here is new script , enjoy!
Swing Boxes is pretty simple indicator, which plots signals with "boxes", that help you determine price targets.
What is the idea behind?
I wanted to make indicator, that could help me make swing trades with nice accuracy (as all we want, lol), and for signal criteria I decided to use highs and lows of the price . Then I started coding some ideas to see which of them could be worthy. And, actually, Swing Boxes appeared to be good. But the thing is, that I didn't intend to build them, they appeared as an anomaly from my code :)
I started to explore this anomaly (it looked super cool, but was repainting hard) to fix it and I succeeded, now Swng Boxes don't repaint.
The main idea is that when price goes above it's highest value of p-bars back or below it's lowest value p-bars back, then there is a some god probability, that price will continue to follow current direction.
And the things about Swing Boxes is that when there is a good trend movement, the boxes become super small to track price movement and when price breaks out in the counter-trend direction, then you will be able to almost perfectly catch a top or a bottom! But most of the signals won't be so high-quality, so don't think that is this some holy grail to trade swing-trading, because it is not.
Signal logic
Quick hint:
- epsilon(variable e ) = ATR * ATR_Factor . It is used to determine box's sensitivity to price changes.
If previous close is higher than variable, which contains previous HIGHEST value (variable h in the code), then update the this variable by taking up-to-date highest value and add epsilon( e ) to it;
If previous close is lower than variable, which contains previous LOWEST value (variable l in the code), then update the this variable by taking up-to-date lowest value and substract epsilon( e ) from it.
Variables decribed above ( h and l ) are box's top and bottom respectively, so if price cross them, it is logical to update it is value.
Settings and what is what
Swing Box Period - numbers fo bars in the past to find highest and lowest price from. The bigger the input, the bigger the boxes will be;
ATR Period;
ATR Factor - multiplier for ATR, determines sensitivity for price changes. The bigger this input, the more accurate signals will be, but less the probability that the signal will be on the top or a bottom.
Show Boxes? - when chosen, plots box's top and bottom. Used to determine price targets.
Show Baseline? - when chosen, plot's baseline, which midline between box's top and bottom.
How to use?
This indicator plots green and red triangles by default.
- Green triangle --> Buy ;
- Red triangle --> Sell ;
As I've said before, many signals from indicator will probably be garbage, so you need to tune settings for youself, so it could satisfy you .
You can enable showing boxes to see box's top and bottom. Box's bottom --> your entry, top --> your profit target.
If you find a way to sort bad signals, you will be able to trade with super cool RR, because the signal from Swing Boxes appear to be a good one, there is almost 95% probability, that price will not even come close to your stop loss, so you can trade with super small stop-losses! Smaller stop-loss --> smaller risk --> smaller loss --> bigger profit, it is that easy.
Also you can enable baseline to use at as your 1st TP, and box's top/bottom as 2nd TP, closing 25% on TP1 and the rest on TP2 (but that is just mine recommendation, you can use different RM (risk-management), if you want).
Also you can use baseline as your S/R (Support/Resistance) line, test it out on your charts.
And please, hear me out: as all other indicators out here on the TradingView, Swing Boxes ARE NOT meant to be traded in solo! Many bad signal can go in a row, so PLEASE find your way to filter out bad signals with other indicators.
You can see here the example of a garabge-class signal in a row, so be don't be deluded!
I do hope that somebody will suggest and idea to improve this thing, as I personally don't have enough time to think about it because of my university studies, but I will probably try it make this thing better throughout the time.
And that's it for now, folks! If you have any ideas for scripts, strategies or anything else, feel free to DM me or leave a comment, I will check it.
Hope you will find this script useful.
Take your profits!
- Tarasenko Fyodor
Weekly Options Expiry Candle V.2In India Weekly options expire on Thursday and that creates a different price action candle than the week timeframe.
My previous script Weekly Options Expiry Candle has some limitations. This script overcame those limitations and added some features.
You can use this in any intraday time frame candle.
It will show:
All expiry candle in box format
Expiry OHLC label
Pivot (Floor or Fibonacci) based on expiry OHLC data
Developing Expiry candle and Pivot
A table showing expiry range(high-low) and Expiry body abs(open-close) stats.
You can turn on or off any feature.
Please let me know if you found this script useful or have any questions or suggestions.
NSE:BANKNIFTY
NSE:NIFTY
4C Options Expected Move (Weekly + 0DTE)This indicator plots the calculated Expected Move for BOTH Weekly and Zero Dated Expiration (0DTE) Daily options, for a quick visual reference.
Please Note: This indicator is different from our original "4C Expected Move (Weekly Options)" indicator, as it now packages the ability to ALSO plot 0DTE options expected moves along with Weekly expected moves. Many other newer features have also been implemented.
Background Information
The Expected Move (EM) is the amount that a stock is predicted to increase or decrease from its current price, based on the current level of options pricing and implied volatility.
This range can be viewed as possible support and resistance, or, once price gets outside of the range, institutional hedging actions can accelerate the move in that direction.
It can be useful to know what the weekly EM range is for a stock to understand the probabilities of the overall distance, direction and volatility for the week.
About the Indicator
This indicator plots the calculated Expected Move for BOTH Weekly and Zero Dated Expiration (0DTE) options, for a quick visual reference.
For the weekly EM, the range is based on the Weekly close of the prior week.
For the Daily EM based on 0DTE options, the range is based on the Daily close of the prior day.
The indicator will automatically start a new weekly EM plot at the beginning of the week, and a new daily EM at the beginning of each day.
The EM values must be updated weekly and/or daily.
Features
Plots the EM for the week
Plots the EM for the day, for symbols that offer daily expiration options
Plots the 2 Standard Deviation EM for both the weekly and daily EM
Labels with calculated values are plotted near the levels for quick visual aid
Settings
Can toggle weekly EM on/off
Can toggle Daily EM on/off
Can toggle 2 Standard Deviation lines on/off
Can toggle labels for all EM on/off
Robust line settings
Can adjust label location left/right based on personal preference
Can enter symbol into settings as a reference
Handy instructions in the settings
How To Set Up The Indicator
To use this indicator you must have access to a broker with options data (not available on Tradingview).
Usually, you can look at the stock's option chain to find the weekly expected move.
You will have to do your own research to find where this information is displayed depending on your broker. You may also need to find the information elsewhere if your broker does not have this information.
You can also do your calculation of the EM using the following formula (please do your own research):
Expected Move = Option Price x Implied Volatility x Square Root of Time
See screenshot example below
This is the Thinkorswim platform's option chain, and the Implied Volatility % and the calculated EM are on the right side of the option chain.
The Expected Move is circled in blue. Use the +- number in parentheses, NOT the % value.
For the weekly EM, input the number that corresponds to the weekly option into the indicator. This must be done on a weekly basis, and It is typically best to use the EM for the next week expiration that is generated AFTER the Friday close and/or before the Monday open of the upcoming week.
For the daily EM, input the number that corresponds to the daily 0DTE option into the indicator. This must be done on a daily basis, and it is typically best to use the EM value for the 0DTE option that is generated the night before (after market close), or before the market opens for that 0DTE. .
SPY 1 Minute Day TraderWhen scalping options, users are looking for where breakouts are going to occur instead of sitting thru areas choppy price action that drain delta and cause them to lose value even if price is up trending. This script tries to identify when a trend reversal is expected based on one minute price action on the SPY. It alerts users to prepare for potential breakout when 5 out of the 6 key optimized parameters are discovered by showing a white L or S. Once all six trigger, it informs the user at the close of that candle with a golden triangle with Pivot Up or Pivot Down. As scalping options is something that is expected to be short in duration, a take profit and stop loss of 30 cents of price actions is established. If five or more parameters occur after the pivot is initiated, then stop losses and take profits are adhered to; however, if there are less, then it waits to take profit or stop the trade, as likely it is just noise and it will finish trend with an additional breakout.
This script has been created to take into account how the following variables impact trend for SPY 1 Minute:
ema vs 13 ema : A cross establishes start of trend
MACD (Line, Signal & Slope) : If you have momentum
ADX : if you are trending
RSI : If the trend has strength
The above has been optimized to determine pivot points in the trend using key values for these 6 indicators
bounce up = ema5 > ema13 and macdLine < .5 and adx > 20 and macdSlope > 0 and signalLine > -.1 and rsiSignal > 40
bounce down = ema5 < ema13 and macdLine > -.5 and adx > 20 and signalLine < 0 and macdSlope < 0 and rsiSignal < 60
White L's indicate that 5 of 6 conditions are met due to impending uptrend w/ missing one in green below it
Yellow L's indicate that 6 of 6 conditions still are met
White S's indicate that 5 of 6 conditions are met due to impending downtrend w/ missing condition in red above it
Yellow S's indicate that 6 of 6 conditions still are met
After a downtrend or uptrend is established, once it closes it can't repeat for 10 minutes
Won't open any trades on last two minutes of any hours to avoid volatility
Will close any open trades going into last minute of hour to avoid large overnight random swings.
BEST ABCD Pattern Screener Deribit:DVOL BTC DXY scannerModified this script by Daveatt (based on Ricardo Santos Fractals)
to scan patterns in BTCUSD, ETHUSD, DVOL, DXY, DVOL/VV
Monthly Options Expiration 2023Monthly options expiration for the year 2023.
Also you can set a flag X no. of days before the expiration date. I use it at as marker to take off existing positions in expiration week or roll to next expiration date or to place new trades.
All the best traders.
Jerry J8 30-123 Spy Dashboard ProPlease watch the J8 Scalping Tutorial Video below for a walkthrough on how these indicators work.
This script is used in conjunction with Jerry J8 30-123 SPY Scalping PRO” Indicator(which creates the buy and sell orders as a strategy). The Dashboard shows the 4 main criteria statuses from the strategy. I find the dashboard makes scalping the SPY much easier.
This study project is designed for scalping options that expire daily with bull put and bear call credit spreads on a 3 minute chart. The name 30_123 is a reference to 4 main criteria being met to give a green light for a potential trade. The criteria:
* 30 = 30 minute trend
* 1 = 3 minute trend
* 2 = Moving average criteria
* 3 = RSI criteria
4 = Secondary trend. Bonus if in sync but not a requirement.
* The strategy also utilizes momentum as a criteria but this is not shown on the dashboard.
This indicator is designed to trade options that expire daily including the SPY, IWM, QQQ, and NDX. However, it can be used with multiple symbols on a 3 minute chart.
When the 30_123 conditions are all green with all criteria are met a bull signal is created.
When the 30_123 conditions are all red with all criteria are met a bear signal is created.
This study is the dashboard that is designed to show how the main J8 strategy indicator is working and it shows which criteria have been met. Additionally there are multiple user INPUTS that you can adjust for the 4 main criteria plus inputs to help you with your credit spread criteria.
For example, if the SPY is at 400 we could have an order to sell a BULL PUT CREDIT SPREAD and I would likely sell the 398p and buy the 397p; The 398p delta would be approximately -.2. The spread position profits with any close over 398 and/or can be closed early with a bullish price move. IMPORTANT: If the SPY closed the day at $399 on the chart it would look like a loss based on the buy and sell orders but the spread would be a full profit since the close was above 398.
---- IRON CONDOR
For the SPY ticker only an iron condor label is generated when the SPY is trading sideways and meets specified criteria. When the criteria is met the Iron Condor label appears and it provides a recommendation for what option to buy and sell. The iron condor recommendations can be adjusted with user inputs.
This Indicator dashboard shows the criteria labels and colors the criteria as green if bullish and red if bearish. When the criteria are not met the dashboard shows “NO CLEAR SIGNAL”. There is also a label that shows whether you are looking for bullish or bearish positions based on the 30 minute trend.
The chart shown on the indicator is the RSI and for this indicator an RSI over 50 is bullish and under 50 is bearish. The line color shows the RSI trend. RSI OB (overbought) and OS (oversold) areas are shaded. The RSI can remain in an OB or OS state for a prolonged period and while some people use OB and OS as a reversal signal I use it as a strong trend indication and recognize it will not last forever. You can SET the OB and OS levels with inputs.
---- USER INPUTS
Paint Bars: Turns on/off the candle coloring. Default is OFF.
Iron Condor Settings: Defaults are what I use and can be used as a guide.
Criteria: Trend, moving averages, and RSI settings can all be adjusted.
---- SETUP & HINTS
Add "Jerry J8 30-123 SPY Scalping PRO” indicator to show bull and bear signals
Add "Jerry J8 MACD Optimal Entry Zone” indicator to show best MACD range for entry
I also like to add "Jerry Momentum Dream" indicator to see the momentum
With this indicator we’re looking for the 30, 1, 2, and 3 criteria to be met which increases our likelihood of success. IMPORTANT. Never automatically enter a position without reviewing the other indicators and drawing your own conclusions. You want to choose the entries that are the most appealing to you that take into account volume, time of day, and risk/reward. Positions should be closed based on your risk/reward goals.
Indicators are not a magic pill and should be used to support trading decisions, not to make them for you. Past performance is not a guarantee of future returns. The results of individual stocks/indexes with any strategy do not constitute proof they will repeat in the future.
DISCLAIMER: The information contained in our scripts/indicators/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. Trading and investing in the stock market and cryptocurrencies involves substantial risk of loss and is not suitable for every investor. I’m NOT a financial adviser. All trading strategies are used at your own risk.
Please Use the AUTHOR’s INSTRUCTIONS link below for more information.
NOTE: The PERFORMANCE SUMMARY below does not accurately reflect the trading strategy because the entry orders generated in the strategy are based on the stock price and our actual order is a credit spread that is profitable even if the price moves against us a little bit. What could show as a loss in the strategy could be a profit in the credit spread.
Jerry J8 30-123 SPY Scalping PROPlease watch the J8 Scalping Tutorial Video below for a walkthrough on how these indicators work.
---- STRATEGY
This study project is designed for scalping options that expire daily with bull put and bear call credit spreads on a 3 minute chart. The name 30_123 is a reference to 4 main criteria being met to give a green light for a potential trade. The 4 main criteria:
*30 = 30 minute trend
*1 = 3 minute trend
*2 = Moving average criteria
*3 = RSI criteria
4 = Secondary trend. Bonus if in sync but not a requirement.
* The strategy also utilizes momentum as a criteria.
This indicator is designed to trade options that expire daily including the SPY, IWM, QQQ, and NDX.
When 30_123 conditions are all green and all criteria are met a bull signal is created.
When 30_123 conditions are all red and criteria are met a bear signal is created.
The bull and bear signals are based on the stock/index price; BUT the actual orders are for option spreads that are normally based on a delta of approximately .15 to .25.
For example, if the SPY is at 400 we could have an order to sell a BULL PUT CREDIT SPREAD and I would likely sell the 398p and buy the 397p; The 398p delta would be approximately -.2. The spread position profits with any close over 398 and/or can be closed early with a bullish price move. IMPORTANT: If the SPY closed the day at $399 on the chart it would look like a loss based on the buy and sell orders but the spread would be a full profit since the close was above 398.
This script is used in conjunction with Jerry J8 30-123 Spy Scalping Dashboard Pro indicator which is the dashboard to give a visual for the 4 main criteria and makes things easier to understand.
---- TRADING TIME FRAME
The default time frame is 10:00 - 15:57 and can be controlled by the user. I do not enter trades in the first 30 minutes since that can be a very volatile period and you can easily configure the indicator and trading time frame based on how you trade.
---- MAJOR USER INPUTS
Paint Bars: Turns on/off the candle coloring for the trend
Exits: Open orders can be closed with 3 different exit criteria and all should be left on. These exits are needed to provide multiple entry signals throughout the day. However, you want to close the spreads based on your own criteria and not on the indicator.
Criteria: Trend, moving averages, RSI settings, and trading time frames can all be adjusted.
---- SETUP & HINTS
Add "Jerry J8 30-123 Spy Scalping Dashboard Pro” indicator to show J8 criteria dashboard
Add "Jerry J8 MACD Optimal Entry Zone” indicator to show best range of entry
I also like to add "Jerry Momentum Dream" indicator to see the momentum
With this indicator we’re looking for the 30, 1, 2, and 3 criteria to be met which increases our likelihood of success. IMPORTANT. Never automatically enter a position without reviewing the other indicators and drawing our own conclusions. You want to choose the entries that are the most appealing to you that take into account volume, time of day, and risk/reward. Positions should be closed based on your risk/reward goals.
Indicators are not a magic pill and should be used to support trading decisions, not to make them for you. Past performance is not a guarantee of future returns. The results of individual stocks/indexes with any strategy do not constitute proof they will repeat in the future.
DISCLAIMER: The information contained in our scripts/indicators/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. Trading and investing in the stock market and cryptocurrencies involves substantial risk of loss and is not suitable for every investor. I’m NOT a financial adviser. All trading strategies are used at your own risk.
Please Use the AUTHOR’s INSTRUCTIONS link below for more information.
NOTE: The PERFORMANCE SUMMARY below does not accurately reflect the trading strategy because the entry orders generated in the strategy are based on the stock price and our actual order is a credit spread that is profitable even if the price moves against us a little bit. What could show as a loss in the strategy could be a profit in the credit spread.
AIO Key LevelsAll In One Key Levels - Displays key levels for any type of chart.
Over 30 levels at your complete disposal.
Filled with a host of features that allow you to customise the appearance and display of the indicator to suit your individual trading style.
The result is a clear and concise indicator that helps traders easily identify key levels.
- The indicator is easy to use and does not need a detailed description.
- With customisable input parameters such as display style, line style, font style, offset, threshold and index.
- The colours for the key levels can also be customised.
- The script uses a 'switch' function and selected input parameters to set display, line and font styles.
- The key levels are constructed using the data received and the selected styles and colours.
- A unique cycle helps to improve the readability of the levels without "polluting" the graph with multiple labels
- In addition, I have left hints in the indicator to help you understand it better.
For Pine coders.
Why did I create it when there are many counterparts?
Simply because counterparts have very large and complex code and modest functionality and flex.
Here I have managed to fit it into 100 lines still readable.
You can learn how to call lots of lines and marks with just one function.
I also created a unique loop that connects labels if they are too close together for better visibility on a plot.
I have left detailed comments for each action.
I would be glad if someone could tell me how to make it more easier.
edjj NewYork Option Strikesedjj NewYork Option Strikes is a membership-only weekly issued pinescript that displays New York option strikes and their amounts, including: USDJPY , EURUSD , GBPUSD , AUDUSD , NZDUSD , USDCAD , EURGBP , etc. Over 1 billion strikes are automatically highlighted. To get access, follow the instruction below.
ichimoku Masters Backtester LightThis Indicator has so many options for build your own strategy
With this indicator you can build your own strategy using the options that we provided here
in the "Static Enter" Section you can choose where do you want to enter your position and customize it with "Enter Candle" Section,by specifying these options, the indicator will start opening the position for you and show you the backtest.
In the "Static Exit (SL & TP)" section you can choose where do you want to exit your positions with setting target and stop for your positions.
And at the end you can set alert on opening and closing position and be aware of that
We hope that you enjoy using ichimoku Masters Backtester Light
-Notice : The Sections: "Dynamic Enter" , "Dynamic Exit" , "9Br Enter" , "9Br Exit" , "Pre Cross" , "Cross Enter" , "Cross Exit" , "Chiko Enter" , "Break Enter" , "Pre Switch" , "Switch Enter" , "Switch Exit" , "Ichi Elements" , "Ichi Elements Order" and "Risk Management" are limited on this version and you are not able to use them
- the "Name" Argument is for naming your strategy
- Open Section has 3 options :
1 : Buy/Sell opens positions when ichimoku cloud and conversion and base line cross at the sametime
2 : 26BoxBr opens position when candle breaks the ichimoku 26 box that indicator builds on "Box" Section
3 : 52BoxBr opens position when candle breaks the ichimoku 52 box that indicator builds on "Box" Section
- Box Section has 6 options :
1 : Cr sets the box on conversion and base cross
2 : OldCr sets the box on conversion and base cross with the beginning candle
3 : PC sets the box on a cross which has no cross before until 26 candles
4 : 9Signal Box sets the box on 9 candles of open position candle
5 : 26Signal Box sets the box on 26 candles of open position candle
4 : 52Signal Box sets the box on 52 candles of open position candle
- Enter1% sets the percent of entry position
- Risk% sets the percent you want to risk your equity
- Max Leverage sets the maximum leverage you want to have on your positions
- S2S is for staying on the position and the indicator does not open the opposite position
- Enter Candle Section has 14 check boxes:
1 : Scandle means that our open position candle should be standard
2 : NoScandle means that our open position candle should not be standard
3 : Tr means that our open position candle should be green for long positions and red for short positions
4 : NoTr means that our open position candle should be red for long positions and green for short positions
5 : G means that our open position candle should be big candle
6 : NoG means that our open position candle should not be big candle
7 : 9Grd means that conversion line shoud be yellow for long positions and white for short positions
8 : No9Grd means that conversion line shoud not be yellow for long positions and white for short positions
9 : 26Grd means that base line shoud be yellow for long positions and white for short positions
10 : No26Grd means that base line shoud not be yellow for long positions and white for short positions
11 : 52Grd means that Lead2 line shoud be yellow for long positions and white for short positions
12 : No52Grd means that Lead2 line shoud not be yellow for long positions and white for short positions
13 : InCL means that our open position candle should be in ichimoku cloud
14 : OutCL means that our open position candle should not be in ichimoku cloud
- Static Exit (SL & TP)
- Sl Section has 6 Options:
1 : Middle26 sets the stop loss of the position on the middle of the box
2 : 9 Stop sets the stop loss of the position on the 9 candles box
3 : 26 Stop sets the stop loss of the position on the 26 candles box
4 : 52 Stop sets the stop loss of the position on the 52 candles box
5 : 26Double box sets the stop loss of the position on the Double of 26 candles box
6 : 52Double box sets the stop loss of the position on the Double of 52 candles box
- in TP we can set our targets from 1 to 20
- LogTp sets our target based on logarithm
- Multiple Enter:
in this section we can set our additional orders for open positions,for this you should turn on the "On" button and then set your orders base on box, for example:
when you put 50 on Enter2 and 10 on Enter2% ,then indicator sets an order on the 50 percent of box in 10% of your equity
- Multiple Exit:
in this section you can set your step exit of order, for this you should turn on the "on" button and set your steps on box targets, for example:
when you put 1 on Exit1 and 10 on Exit1% , then indicator exit 10 percent of your position on the target 1 of box
- RF Stands for risk free and you can risk free your positions using RF ,for example :
when you put 1 on RF and 10 on RF% ,then indicator place your stop on opening position candle when it touches the target 1 of the box and exits 10 percent of your position
- Ichi Numbers : in this section you can specify your ichimoku numbers
- C stands for Conv
- B stands for Base
- L stands for Lead2
- Visual Setting : in this section you can choose variable that you want to see on the chart
- Long TP/SL shows you the Long position target and stop
- Short TP/SL shows you the Short position target and stop
- Cloud shows you the ichimoku cloud
- Offset shifts the ichimoku clouds on 26 candles
- Conv shows you the conversion line
- Base shows you the base line
- Chiko shows you the chiko span line
- Pre shows you the point that conv prediction line and base prediction line cross each other and lead2 prediction line and lead1 prediction line cross too at the same time
- Cr shows you the cross point of conv and base lines
- PC shows the cross point of conv and base lines which has no cross up to 26 candles ago
- EqCr shows you the cross point of conv and base lines which the conv and base are equal
- Buy_Sell shows you the point that conv line and base line cross each other and lead2 line and lead1 line cross too at the same time
- Position Info shows you the information of position such as leverage and entry equity
- Enjoy :)
Morning Option Pullback IndicatorI designed this indicator to help me identify Option CALL and PUT signals for the QQQ and SPY on the 1 min chart.
Summary of how it works
1. It identifies the Pre-Market channel High and Low and draws green and red lines for the day at these levels.
2. Waits for a morning or afternoon sessions breakout/breakdown of price out of that channel.
3. The buy a CALL or PUT signal is when price pulls back to the EMA Medium line after breaking out of the channel.
4. Settings allow adjusting of when the signal happens
5. EMA Short (5) and EMA Medium (20) must stay apart for a selectable number of bars
6. For a CALL signal, the Price and EMA Medium (20) must be above the Pre Market High line when price pulls back to EMA Medium (20) line
7. There is a selectable adjustment to allow the signal to trigger when the price comes within a close enough range of the EMA Medium and PM High lines
8. There is a TICK.US filter that you can use to only signal a CALL when the TICK.US 10 min chart shows the average of the EMA5 and EMA20 is over 100
9. It has Buy and Sell signal Alerts and user adjustable Stop Loss and Profit Taker settings.
10. EMA Settings are adjustable and can show up to 3 EMA's on the chart. I personally like the EMA5 and 20. Others may use something similar like 9 and 21. It's user selectable.
Position Tools [Lot,Profit,Loss,Entry,RR,Balance][Mir Nader]This indicator is the advanced version of the position tool in Trading View. When I opened a trade in Metatrader, I had to switch between the MetaTrader and Trading View programs for the amount of profit or loss, that's why I thought of writing an indicator that shows the exact amount of profit, loss, size and other values of the open trade. It came to my mind.
Also, when you use the reply section for backtesting, this indicator helps you to use all the necessary information in each Trade to accurately calculate Trades.
To enter, it is enough to specify the three entry points, target and stop loss according to the message that is displayed to you, so that all the necessary information will be displayed for you.
Well, let's get to the main explanation about how the indicator works :
The indicator consists of two parts :
1 - the calculation table
2 - trade on the chart
Calculation table
This table shows the exact calculations of your trade live.
As you can see, this table consists of 10 sections, which I will describe each.
1 - Your trade entry point on the chart
2 - Your Stop Loss point along with the loss Pip amount
3 - Your Take Profit point along with the Profit Pip amount
4- The fourth part of the table, which is the most important part in my view, shows your current profit amount according to the risk percentage and your Broker Commission per Lot you have defined for Trade, and according to the balance, risk, Tp and Sl value, just like a Risk Management. It suggests the volume of your input based on the lot.
5 - Show the percentage change of the main market according to your trade live
6 - Display the value of Risk to Reward both according to Target Profit and live
7 - This section and the next section of the table show the amount of profit live according to the amount of the lot determined by you and without the risk of the transaction.
8 - Display the current amount of your balance according to whether the trade is in profit or loss
trade on the chart
The second part of the indicator includes the events that are being displayed on your chart
This section supports three types of display modes for buying or selling trades.
The first condition of your trade is that the price has not yet reached the entry point.
The second state is your trade that has not yet hit your target or stop
And the third state of your trade is that your target or stop has been hit.
Further Details :
I am still working on many conditions to add to the indicator and this will take more time.
For example, showing RR live on the chart after each touch has been added for buying Trade but this part is still problematic for selling Trade In the picture below, you can see that your Trade has already passed 3R profit
I have placed three labels next to each Trade for you so that you can see the values of Tp, Stop and Live without needing a table. These values will soon be visible with more options.
All calculations with precise mathematical formulas for accurate performance have been done by myself.
I will be at your service soon with more updates, I will be happy if you send me your suggestions to improve the indicator.
Round Numbers Breakouts Smart Formula Signals and AlertsThis indicator uses Round Numbers breakouts and then uses smart formula with the near Round Numbers to determine best TP (take profit)/SL (stop loss) areas. Furthermore, it calculates win percentage, shows in-profit/in-loss peaks and the price amount result over a customizable date range, which when combined well with the smart formula provides decent profitable outcome. I have decided to write my own backtesting engine as the integrated TradingView strategy one has limitations and has shown inconsistencies when compared to manual backtesting…
There are many settings you can manually change to trade any instrument, any style, any approach and there are presets included for Bitcoin(BTCUSD), FOREX(EURUSD), SPY(S&P500), so you can start trading immediately! Alerts correspond to indicator settings and are turned on with a few clicks. There are 3 tables (each can be shown/hidden) showing everything you need to see/know to calibrate the indicator as you wish.
Labels, lines, tables explanations (everything can be hidden/shown):
- LONG Labels: medium-green: position open, dark-green: SL, bright-green: TP, blue: TP2
- SHORT Labels: medium-red: position open, dark-red: SL, bright-red: TP, purple: TP2
- Gray circles: position entry area | Yellow crosses: SL area
- Green line: Long TP1, Blue line: Long TP2 | Red Line: Short TP1, Purple line: Short TP2
- Grey lines: Round Numbers (customized via “Round Number up/down measure unit” input)
- Yellow labels at end of each week: end of week OVERALL total results
- Red colored background: power segment
- 3 tables: 1) INFO | STATS, 2) SPY Options Calculator, 3) Indicator Settings
If you decide to fully customize the indicator yourself, on the very top - under “PRESETS” select “MANUAL”! NOTE: If you select any of the pre-set presets, only GLOBAL settings can be changed, the rest of the settings will be “frozen” until you switch it to “MANUAL”!
- Global Settings are self-explanatory and mainly observational, show/hide, etc.
- Manual TP2 (Multi-Take-Profit) Settings:
>>>>> Include TP2 System? Turn on/off multi-profit system, with this unchecked, every trade will either end with SL or with TP1.
>>>>> TP2 System: NEAREST/FORMULA, NEAREST – after TP1 is taken > next TP2 will be a round number price target nearest to where TP1 was taken (sometimes it can be very near, sometimes further away…), FORMULA – 2nd round number price target will be optimally selected based on the distance behind and ahead of TP1 area. For TP2 – FORMULA would be the most logical choice as with multi-take-profit setting turned on – you’d want to ride it out as far as possible.
>>>>> TP1/TP2 division type: 1) Each price target (TP1, TP2) will be ½ of the position 2) TP1 will be 2/3 of the position and TP2 will be the remaining 1/3.
>>>>> TP2 hit type: “close” > candle has to close on top/crossing the price target line, “touch” > once candle touches the price target – you will be immediately alerted to take the partial profit (if you will use such setting – you will need to take the partial profits as soon as you receive the alert.
>>>>> TP1 > Back to Entry hit type: similar to TP2, “close” > candle close, “touch” > candle touch. Please note: this is a very tricky setting as if you use “close” option – your profitable trade may become a loss if a huge candle will close against your position eliminating your TP1 profit, however often the price will touch and cross the entry area to only bounce and continue with your position direction for even bigger profits… so experiment with the date range results to see what works best for your instrument/setting/strategy.
>>>>> TP2 count towards trades count: this can be a bit confusing, but it is simply how should TP2 be treated towards trades count. The indicator will show you Win Percentage and Win % is obtained from winning trades count divided by total trades count. While TP2 is not “a new trade”, it expands the profit of the trade. This is an experimental setting to count TP2 as the whole winning trade, ½ of a trade, or not count it at all.
- Manual Signals/TP1 Settings:
>>>>> TP1/TP2 offset: this one is really cool, with this feature you can hunt these conditions when the price comes very near the profit target area, but never touches it. With this setting turned on and with a good offset amount – you will be able to catch these for TP1 and TP2!
>>>>> TP1/TP2 offset amount: just what the title says, please be careful with this as this number varies significantly depending on the instrument you will be trading. Examples: 1) For SPY 0.1 would be $0.10 offset - if TP1 is $400 and price hits $399.90 > TP1 considered taken/signal shown/alert) | 2) For EURUSD, it is very different and if wrong will show TP1 immediately at position open, typical good offset for EURUSD is: 0.0005 | 3) For BTCUSD, 10 - $10 offset, if TP is $15,000 > $14,990, etc.
>>>>> Round Number up/down measure unit (in dollars $): this one is very important if you will be using “MANUAL” selection to build your own setup as it is very different for every instrument. For SPY, round numbers are single dollars or even half-dollar 50 cent numbers: 1 or 0.5 (350, 351, 352, etc. or 350.50, 351, 351.50, 352, etc.), while for Bitcoin (BTCUSD) a single unit ($1) is too small to be a round number as Bitoin moves much faster and wider every second and it would have to be at least 50 ($50) to make sense. Similar for FOREX (EUR/USD) a single 1 unit ($1) will be too big as EURUSD will never move a whole $1 in 15 minutes or even a day.. and would have to be something like 1.05500. You can easily determine if this number makes sense for your instrument by observing the grey Round Number lines which will correspond based on this setting. You can also visually observer if the price of the instrument appreciates these round numbers.
>>>>> Close Position Before Market Closes: just what the title says. Indicator will close the position 15 minutes before market closes (US session), update backtesting stats, alert you.
>>>>> Close Position Before Power Hour: 3PM – 4PM ET is the last hour of US trading session, where sudden move in any direction can happen with huge volatility, while sometimes nothing will happen at all… Many try to avoid it, so if you wish to avoid it as well - turn this on and it will alert you to close your positions 15 minutes before Power Hour starts, backtesting/stats will be adjusted accordingly.
>>>>> Skip OVERSIZED candles in signals: turn on this setting to skip signals, which happen to fall on big candles. This is basically a protection from huge volatility moves, which usually happen during financial news/events and if you are not a fan of these – you can set this option for indicator to not open anything based on the candle size.
>>>>> Color OVERSIZED candles: this will help you calibrate the size of the OVERSIZED candles if you decide to use this setting and overall visually see them.
>>>>> OVERSIZED candle size: OVERSIZED candle size must be input as it varies significantly. Please note: for each instrument – the size number is completely different, as for SPY: 2 would mean any candle bigger than $2 distance will be considered OVERSIZED, for Bitcoin it would have to be several hundred dollars, like 400-500. For FOREX, this would have to be a decimal, for EURUSD something like 0.0005. It’s best to experiment visually with this setting depending on the instrument you will be trading while setting up the size. To see a typical huge unusual candle – look up financial calendar for something like FOMC meeting, then measure the candle input it into this setting.
>>>>> OVERSIZED candle size calculation type: this is just more flexibility for your preference. If you wish to calculate the size of the candle based on the open/close – select “BODY”, if you wish to use high/low – select “STICKS (from tip to tip)”. Hard to say which one is better, so it is up to you to decide.
>>>>> Include EMA in signal formula: LONG signals will only be shown only if above EMA, SHORT if below EMA. EMA length is of course customizable in below.
>>>>> Skip opposite candle types in signals: signals where the candle color confirms the direction of the trade, but the candle type is opposite (like a green colored bearish hammer for example) will be avoided (such candles can be very uncertain/deceptive).
>>>>> Skip doji: signals where the signal candle is doji (uncertain) will be avoided.
>>>>> TP1 hit type/system: same thing as TP2 hit type/system.
>>>>> SL hit type/system: same as TP1 and TP2 types/systems.
>>>>> Intraday Session Signals Active Time in ET: time range during the day when indicator will show signals (open trades, alert you, etc.). This is specifically for intraday trading. You can turn it off completely by selecting a BLANK option.
>>>>> Intraday TP/SL Active Time in ET: same as above, but for taking profits/stop losses.
*** To add the alerts
-Right-click anywhere on the TradingView chart
-Click on Add alert
-Condition: Select this indicator by it’s name
-Alert name: Whatever you want
-Hit “Create”
-Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
If you wish to try this out for a week or so – please write me directly and I will give you access.
Generalized Smooth StepHello, folks. Sorry for not posting anything for a long time, just busy with my university studies for the moment.
Quick script for today — Smooth Step.
You can search for it in Wikipedia, but saying shortly and informatively, this is just an advanced type of oscillator, used as momentum indicator.
In the codes across the Internet everybody uses the 3rd order equation, BUT I found it kinda boring to use indicator this simple, so I made an option to choose the order of the equation in the settings — parameter "Order of the equation". This why it is called generalized smooth step, as it makes possible to use equation of virtually any order.
It is limited to 18 because very strange behaviour that you get after passing 18th order (it jsut becomes not tradeable any longer).
As I've mentioned above, it is an advanced version of classical oscillator, used as momentum indicator .
How to use it?
If smooth step is above 50, then the price momentum is bullish;
If smooth step is below 50, then the price momentum is bearish.
As simple as it is, it becomes useful enough on the higher timeframes (>=1H), so feel free to play with it and find optimal settings for yourself.
Hints
Try perform different smoothing and leading methods (developed by Ehler) to get better results;
You can use smooth step as confirmation/filter for trend-following trades.
Hope you will find it valueable.
Take your profits!
- Tarasenko Fyodor
RU:
Привет, ребята. Извините, что долго ничего не выкладывал, просто сейчас занят учебой в университете.
Быстрый скрипт на сегодня — Smooth Step.
Вы можете поискать его теоретическое обоснование в Википедии, но если говорить кратко и информативно, то это совершенствованный тип классического осциллятора, используемый в качестве моментум-индикатора .
В кодах в интернете все используют уравнение 3-го порядка, НО Мне было скучно пользоваться таким простым индикатором, поэтому я сделал возможность выбирать порядок уравнения в настройках — параметр " Порядок уравнения». Поэтому он называется обобщеннымsmooth step, так как позволяет использовать уравнение практически любого порядка.
Я ограничил порядок уравнения 18 , потому что индикатор показывает начинается очень странное поведение, когда вы делаете порядок больше 18 (индикатор просто начинается вести семя хаотично, что ли).
Как я уже упоминал выше, это усовершенствованная версия классического осциллятора, используемого в качестве моментум-индикатора .
Как им пользоваться?
Если smooth step выше 50, то импульс цены бычий;
Если smooth steз\p ниже 50, то импульс цены медвежий.
Хоть это и очень простой индикатор, он может оказаться достаточно полезным на старших таймфреймах (>=1H), так что не стесняйтесь играть с ним и находить оптимальные настройки для себя.
Советы
Попробуйте использовать различные методы сглаживания и лидирования (разработан Джоном Элером (John Ehler)), чтобы получить лучшие результаты;
Вы можете использовать smooth step в качестве подтверждения/фильтра для сделок, следующих за трендом.
Надеюсь, этот скрипт будет вам полезен.
Получите прибыль!
- Тарасенко Фёдор
Orb breakout Buy condition =>ORB range 9:20-9:25. On 5 min TF if candle breaks high and next candle break high of that candle. buy signal when third candle breaks high of 2nd candle
Sell condition=>ORB range 9:20-9:25. On 5 min TF if candle breaks low and next candle break low of that candle. sell signal when third candle breaks low of 2nd candle
this indicator is extended version of my previous indicator i got a comment request from @RISHISAKHARE to devlope indicator based on above mention rule ....