Pivot Points
Camarilla screenerBasic script to screen up to 10 tickers with regards to their central pivot range and camarilla pivots.
Same color layout as the Danarilla script ().
The colors in the screener mean the following:
Blue : bar close price is > H4 or < L4
Red : bar close price is < H3 and > CPR top
Fuchsia : bar close price is < CPR top and > CPR bottom
Green : bar close price is < CPR bottom and > L3
No color means it is between H4/H3 or L3/L4
Resolution can be changed for the calculation of the pivots.
Script contains snippets from other screeners and the Danarilla script so many thanks to all who publish their scripts.
ETH Top Cap [jamesray]This script is modified from Top Cap , as published here.
Historically it matches market tops for ETH
Floor Pivots With CPR and Camarilla 3 LevelsThis script plots floor pivots with the central pivot range and camarilla R3/S3 pivots, to spot with ease the Golden Pivot Zone (GPZ). As described in the book *Secret of a pivot Boss* by Franklin Ochoa, the Golden Pivot Zone occurs when R3 or S3 pivot from the Camarilla Equation or from lies within the central pivot range. This combination can be simply profitable.
A bearish GPZ occurs when R3 of the Camarilla Equation is mixed within the central pivot range, therefore we should look for sells in that zone.
A bullish GPZ occurs when S3 of the Camarilla Equation is mixed within the central pivot range, therefore we should look for buys in that zone.
Here are some examples on Gold
Good luck !
Ps* i got part of the code from @cristian.d script
All in one pivot by AkhileshCamarilla Trade Setup:
Sell Opportunity:
H3 Reversal Trade
Entry - H3
Stop Loss - H4
Target - L3
L4 Breakout Trade
Entry - L4
Stop Loss - L3
Target - L5
Buy Opportunity:
L3 Reversal Trade
Entry - L3
Stop Loss - L4
Target - H3
H4 Breakout Trade
Entry - H4
Stop Loss - H3
Target - H5
Trade Type:
Scalping trading
Intraday trading
CPR Trade Setup:
1. Narrow CPR indicates Trending market
2. Wide CPR indicates Sideways market
Volume-Supported Linear Regression TrendHello Traders,
Linear Regression gives us some abilities to calculate the trend and if we combine it with volume then we may get very good results. Because if there is no volume support at up/downtrends then the trend may have a reversal soon. we also need to check the trend in different periods. With all this info, I developed Volume-Supported Linear Regression Trend script. The script checks linear regression of price and volume and then calculates trend direction and strength.
You have option to set Source, Short-Term Period and Long-Term Period. you can set them as you wish.
By default:
Close is used as "Source"
Short-Term Period is 20
Long-Term Period is 50
in following screenshot I tried to explain short term trend (for uptrend). Volume supports the trend? any volume pressure on trend? possible reversal? same idea while there is downtrend.
in following screenshot I tried to explain long term trend:
You can also check Positive/Negative Divergences to figure out possible reversals (to automate it, you can use Divergence for Many Indicators v4 , it has ability to check divergences on external indicators)
Enjoy!
ZigZag Multi Time Frame with Fibonacci RetracementHello Traders,
This is ZigZag Multi Time Frame with Fibonacci Retracement script. It calculates the ZigZag using Higher Time Frame, draw Fibonacci Retracement lines and put labels accordingly. I already published Zigzag with Fibonacci Levels script but this one is Multi Time Frame and I didn't want to change/update it.
You can set ZigZag Period and Resolution as you wish. Zigzag is calculated using higher time frames (ex: 1day) so you better choose small numbers as Zigzag Period, such 2, 3 etc. you should choose higher time frame wisely, meaning that you should not set 1Day while chart resolution is 1min ;)
It draws Fibonacci levels between 0%-100% and If the price goes higher/lower than 100% level than the script draws Fibonacci Levels accordingly. This means it draws Fibonacci levels until this levels get higher/lower than the price.
"Show Zig Zag" is not enabled by default, you can enable it if you want to see ZigZag as well.
You have options to set Text Color, Line Color, Zigzag Up Color and Zigzag Down Color.
You can set the location of the Fibonnaci Levels -> Left or Right
You also have option to enable/disable following Fibonnaci Levels:
---> 0.236
---> 0.382
---> 0.500
---> 0.618
---> 0.786
I added "Colorful Fibonacci Levels" for fun. if you enable it then Fibonacci line colors will be different randomly on each move, see it for yourself :)
Some Screenshots:
if you enable "Show Zigzag Option":
how the script adjust levels automatically:
if you set Label Location as "Right":
if you enable "Colorful Fibonacci Levels" then Line colors will be changed on each move randomly ;)
Enjoy!
Intraday Multi timeframe CPRDue to the request of some users and inspired by "Intraday CPR " I updated "CPR for Intraday Trading " and added extra functionality for your convenience.
Intraday CPR levels are changed according to timeframe instead of previous day high, low and close
This indicator you can change timeframe : Week ,Day, 240 min ,180in, 120 min, 60 min
code credit : ThePivotTrader
Wick Stop ZonesCount how many wicks bottom out in each price zone. Specify the following inputs.
Lookback: How far back from the latest candle to look for wick intersects.
Zone Size: The price range size for zone. Wicks tips that fall into each zone will be counted.
Minimum Intersects: Specifies how many wick tips must intersect with the zone before the zone is allowed to plot.
Beacon - Anthony Crudele's IndicatorBeacon uses the current volatility of the market based on your trading time frame to determine support and resistance levels, whether a trend is intact or ready to revert back in the range. One of the most difficult things I went through as a trader was determining whether we are in a trend day or if we are in grind up or grind down mode. I created Beacon to give me a simple look at the market to determine what type of environment we are in. I use Bollinger Bands (3 standard deviation) to determine the volatility cycle. Once the BB make peaks I took my Fibonacci Retracement tool and did a retracement from the peak high of the BB to the peak low. I use 70%, 50% and 30% for my support and resistance levels. I use those levels because I tested pretty much every percent level and those percentages averaged the highest performance on all tick charts and time charts. You can use Beacon on whatever time frame or tick chart you are trading on and it will determine that specific volatility cycle.
Nick Rypock Trailing Reverse (NRTR)This indicator was invented in 2001 by Konstantin Kopyrkin. The name "Nick Rypock" is derived from his surname reading in the opposite direction:
Kopyrkin -> Kopyr Kin -> Kin Kopyr -> Nik Rypok
The idea of the indicator is similar to the Chandelier Exit, but doesn't involve ATR component and uses a percentage instead.
A dynamic price channel is used to calculate the NRTR. The calculations involve only those prices that are included in the current trend and exclude the extremes related to the previous trend. The indicator is always at the same distance (in percent) from the extremes reached by prices (below the maximum peak for the current uptrend, above the minimum bottom for the current downtrend).
[JRL] Pivot Regression OscillatorIntroducing the Pivot Regression Oscillator. This oscillator uses a similar formula to the Stochastic Oscillator. However, instead of comparing the closing price to the lowest price of a period, it compares the distance between current price and the current pivot point. By basing our oscillator on pivot levels, we incorporate a much more relevant and consequential price point around which to base our comparisons.
The indicator can give reliable overbought and oversold signals, and it plots two exponential moving averages as output, which provides crossover signals that can be used to help time trades.
The Pivot Regression Oscillator can be effective for timing re-entries into a trend and seems to be able to avoid some of the false signals of other indicators.
Let me know if you find this useful. Cheers!
John Carter Pivot Points
This script is based on John Carter Mastering The Trade book. Pivot calculation is based on the previous day high, low, and close.
What Are the Trading Rules for Pivot Buys on Trending Days?
Sells are reversed.
1. Each day I update the appropriate pivot levels on the charts to reflect the previous day’s action. On Mondays, I also
update the weekly pivots, and on the first trading day of a new month, I update the monthly pivots.
2. The first pivot play is done in conjunction with the gap, if there is one. If there is a gap down, then I buy a decline into
the closest pivot level. If there isn’t a playable gap (more than 10 YM points or 1 ES point), then I will wait until
9:45 a.m. eastern to initiate the first play.
3. If the volume on the five-minute ES chart is more than 25,000 contracts, then I’ll wait for the markets to penetrate a
pivot level and move up at least a quarter of the way to the next pivot level. Once this happens, I will then set up a
bid to buy the first retracement back to the violated pivot level.
4. I enter my trades with limit orders only. I place orders “just in front of” the pivot. For the YM, I use 3 points; for the
ES, 0.25 point; for the NQ, 0.50 point; for the TF, 0.20 point; and for individual stocks, 5 cents. For example, if I’m
trading the YM and the pivot level is 10,000, then I would buy a decline to 10,003 and short a rally to 9997
.Sometimes the pivot will be an odd number, such as 1117.38 on the ES. In this case, I always round in the direction of
the trade. So, if I’m bidding for a long, I will round 1117.38 to 1117.50, and my bid will be 1117.75. If I’m offering a
short, I will round 1117.38 down to 1117.25 and place my offer at 1117.00. My stops and targets, then, would be “just
in front of” these appropriate long and short levels.
5. Once filled, I place an order to close the first half at the next pivot level and the second half at the pivot level after
that, using the same “just in front of” parameters.
6. I place a stop at 20 points for the YM, 2 points for the ES, 4 points for the NQ, and 1.50 points for the Russell. For
stocks, I will use a stop based roughly on the price of the stock. If the stock is under $10 a share, I will use a stop of
20 cents. If it is between $10 and $20, I will use a stop of 30 cents; if it is between $20 and $30, I will use a stop of
40 cents, and so on, adding another 10 cents for each $10 increment in price. (A $75 stock would have an 80-cent
stop, for example.)
7. If the first target is hit, I will then move up the stop to my entry-level pivot, minus the “just in front of” fractions
discussed in rule 3. For example, if I get in a YM long at 10,003 and the pivot is at 10,000, then my new stop would
be 9997 once the first target is hit.
8. If I am in a trade at the market close and neither my stop nor my target has been hit, I will close out my position “at the
market” at 4:10 p.m. eastern for futures, and at 3:58 p.m. eastern for stocks.
9. I don’t initiate any new positions after 3:30 p.m. eastern, but I will manage existing positions into the close.
10. The markets rarely have a sustained move above R3 or below S3. If I trade to those levels, I will always fade the
move.
11. After two losers in a row, I’m done with pivots for the day.
What Are the Trading Rules for Pivot Buys on Choppy Days?
Once again, sells are the same, just reversed. The rules for choppy days are identical except for the targets. On choppy days, I
just focus on the YM and the ES. My first target is mechanical: 10 points for the YM and 1 point for the ES on half of my
position. Once this is hit, I will trail up my stop in the same way I would for a trending trade. The second target becomes the
“just in front of” level for the actual next pivot level
ACD PMAPMA (Pivot Moving average) is a set of 3 EMAs on HLC3 data.
When all PMAs are rising, market is considered bullish and the color of PMA becomes green. When all PMAs are falling, market is considered bearish and the color of the PMA becomes red. Otherwise, market is considered ranging and the color becomes orange.
It's also possible to set the resolution of PMAs. For example, you can see daily PMA of 15min charts. This way, if resolution of PMA is greater than resolution of chart, a vertical line shows the beginning of the PMA's resolution candles.
These PMAs are important components of Mark Fisher's ACD strategy.
3 Weeks Tight - CANSLIM Technical Indicator3 Weeks Tight - Introduction
3 weeks tight is a bullish continuation pattern discovered by IBD's founder, William O'Neil.
The pattern can used as an opportunity to add to an existing position as it often occurs after a breakout above a cup with handle or other technical pattern.
The 3 weeks tight pattern forms when a stock closes within approximately 1% to 1.5% of the prior week's close for at least two weeks. The reason for the bullishness is that it indciates that investors who moved the stock upward in price since the breakout are not taking profits, the price is holding steady.
The buy point is just above the area of resistance formed at the highs of the three weeks plus 10 cents. The ten cent addition to the price is to ensure a push through the resistance at the high of the range.
Key Points:
It's preferred that closes for each week are in the upper half of the stock's range.
Ideally, volume will increase significantly as the stocks moves past the buy point.
This pattern generally performs best when the market is in an uptrend.
Features:
A configurable horizontal bar that spans the 3 week period.
A vertical band that highlights the tightness pattern.
A label to show the buy price after 3 week tight pattern.
Optional alert when the 3 weeks tight pattern is recognized.
Kviateq - Session Pivots for CryptoPretty much the exact same indicator as my other Session Pivots, however this one also shows the weekends and the session times are set to Bitmex exchange (note: I'm in a GMT+7 timezone myself).
CPR Width + MTF, Offset and BarcolorsDue to the request of some users and inspired by "5 Day ADR ICT Intraday Tracker" I updated "CPR Width" and added extra functionality for your convenience.
Point and Figure Chart - LiveHello Traders,
This is "Point and Figure Chart (PnF)" script that run in separated window in real time. The separated PnF chart window is timeless, so no relation with the time on the chart. PnF chart consist of "X" and "O" columns. While "X" columns represents rising prices, "O" column represents a falling price. If you have no idea about what PnF charting is then you should search for "Point and Figure Charting" on the net and get some info before using this script.
Now lets talk about details. PnF Chart requires at least two variables to be set => Box size and Reversal. Box size represents the size of each X/O in PnF chart and the reversal is used to calculate new X/O or reversal. for example if currrent column is X column then for new "X", "box size * 1" move is needed and for new "O" column or reversal, "box size * revelsal" move is needed. in the script I use lines as X/O columns.
In the options you can set "Box Size Assingment Method". you have 3 options Traditional, ATR, Percentage . what are they?
Traditional: user-defined box size, means you can set the box size as you wish, using the option . if you use this option then you should set it accordingly.
ATR : that's dynamic box size scaling and on each columns it's calculated once, you can set length for ATR
Percentage: that's also dynamic box size scaling according to closing price when new column appeared. if you use this option then you should set it accordingly.
Reversal: The reversal is typically 3 but you can change it as you wish
"Change Bar Color by PnF Trend": if you enable this option then bar color changes by PnF columns, by default it's not enabled
"Change Column Color When Breakout Occurs": PnF color changes if Double Top/Bottom breakout accours. enabled by default and you can set the colors as you wish using the options
"Change Bar Color When Breakout Occurs": bar colors changed if Double Top/Bottom breakout accours. enabled by default and you can set the colors as you wish using the options
the script checks only Double Top/Bottom breakouts at the moment. there are many other breakouts such Triple/Quadruple, Ascending/Descending Triple Top/Bottom breakouts, Catapult etc.
Also the script shows new X/O level and reversal Levels in PnF window. An example:
If you enable "Change Bar Color by PnF Trend" option:
An example if you disable the option "Change Column Color When Breakout Occurs
You may want to see my another/older "Point and Point Chart" script as well. you can find it in my profile/published scripts and in the Public Library. I use same PnF calculation algorithm in both scripts.
Enjoy!
Tweezers and Kangaroo TailHello Traders,
Here Tweezers and Kangaroo Tail script is in your service. The script searches for Tweezer / Kangaroo Tail candlestick patterns and shows them as T (Tweezer) and K (Kangaroo Tail). Thanks to RorschachT who game me the idea and some details while working on this script.
What are these candlestick patterns?
Tweezers :
- A tweezers pattern occurs when the highs/Lows of two candlesticks occur at almost exactly the same level
- Both candles must have wicks
- Bigger Wick / Smaller Wick rate should not be greater than 150% ( 150% by default and you have option to change it)
- First Candle must be highest/lowest for last 5 candles (5 by default and you have option to change it)
- The level of High for Top, Low for Bottom must be almost lower than 20% of the bigger wick of tweezer candles (20% by default and you have option to change it)
- The Candles can be right next to each other or apart but not more than 12 candles apart (12 by default and you have option to change it)
- You will see that Tweezers pattern occurs frequently
Kangaroo Tail:
- Looks almost like a Hammer or Inverted Hammer candle
- They have both its open and close in the top or bottom third of the candle
- There must be some space/room on the left of the kangaroo tail
- The open and close of the Kangaroo Tail candle must be inside the range of the previous candlestick
- The next candle should create a new high or new low
- You have several options to set details about the "Room" that should be on the left and also options for Wick/Body rates
- You can see example below
You have option to enable/disable any of these patterns.
as far as I have tested they are strong reversal patterns but none of the indicators or patterns may not be enough alone. so you should confirm the signals using other indicators or tools
If you need more information you can find a lot of info on the net ;)
Example: Tweezers - Aparted
Example: Kangaroo Tail - Bullish
Enjoy!
Low-ATR IndicatorWe often want to use a stop loss at a certain low - N*ATR,
But it is too troublesome to manually calculate a certain day low - ATR.
This indicator simply calculates it for you, by marking the value of day low - ATR.
By default the hardcoded ATR value is 0, which means "Uses the ATR at that day with configured look back period".
If you want to use a specific ATR value, e.g.
1) You want to set the stop loss using today's ATR but another day's day low (Very often)
2) You want to set the stop loss in another timeframe - N*ATR
You can type in the value of ATR into the "hardcoded ATR" field.
(Actually this should be the most used way)
Smooth First Derivative IndicatorIntroducing the Smooth First Derivative indicator. For each time step, the script numerically differentiates the price data using prior datapoints from the look-back window. The resulting time derivative (the rate of price change over time) is presented as a centered oscillator.
A first derivative is a versatile tool used in functional data analysis. When applied to price data, it can be applied to analyze momentum, confirm trend direction, and identify pivot points.
Model Description:
The model assumes that, within the look-back window, price data can be well approximated by a smooth differentiable function. The first derivative can then be computed numerically using a noise-robust one-sided differentiator. The current version of the script employs smooth differentiators developed by P. Holoborodko (www.holoborodko.com). Note that the Indicator should not be confused with Constance Brown's Derivative Oscillator.
Input parameter:
The Bandwidth parameter sets the number of points in the moving look-back window and thus determines the smoothness of the first derivative curve. Note that a smoother Indicator shows a greater lag.
Interpretation:
When using this Indicator, one should recall that the first derivative can simply be interpreted as the slope of the curve:
- The maximum (minimum) in the Indicator corresponds to the point at which the market experiences the maximum upward (downward) slope, i.e., the inflection point. The steeper the slope, the greater the Indicator value.
- The positive-to-negative zero-crossing in the Indicator suggests that the market has formed a local maximum (potential start of a downtrend or a period of consolidation). Likewise, a zero-crossing from negative to positive is a potential bullish signal.