Delayed Opening Price Line with GuardrailsThis Delayed Opening Price Line with Guardrails indicator will draw 5 price level lines on the chart each day, beginning at the open of the first candle after a delay period specified by the user in the indicator settings. The default delay is 30 minutes from market open.
The lines are drawn at the open price of the first candle after the delay period, and then a specified increment above and below that price level. These increments default to 80 and 100, and can be adjusted in the indicator settings.
Most markets, indices, and equities have a finite and consistent range of price movement within a trading day. Eg. a particular stock may usually move no more that $50 up or down in a given day, which can be proven by looking at a historical chart. This indicator allows the user to quickly display that range on the chart once it's been defined.
Important note: This indicator is designed to be used on an intra-day chart - eg. minutes, or hourly. It will give an error if used on a longer time-frame chart.
Pricelevels
Last Candle OHLC (Ticks or Points)What the Code Does
1. **Draws Lines and Labels**:
- It draws lines on your chart to show the high, low, open, and close prices from the previous period (like the previous day or week).
- It also labels these lines with numbers that tell you how far the current price is from these levels.
2. **Shows Price Movement**:
- You can see how far the price has moved from these levels in terms of small price changes (ticks) or larger units (points).
- This helps you understand price movements and potential levels of support or resistance.
3. **Customizable**:
- You can choose whether to show these lines and labels, and you can select if you want to see the movement in ticks or points.
- The lines can extend into the future on your chart to help you anticipate where prices might be in the coming days.
### How It’s Useful:
1. **Identify Key Levels**:
- It helps you spot important price levels from past periods, which can act as support or resistance.
2. **Understand Price Movement**:
- You get a visual sense of how much the price has moved from key levels, which can help you gauge market volatility.
3. **Plan Trades**:
- By seeing where the price has been and how it has moved, you can better plan your trades, like deciding where to enter or exit based on these levels.
4. **Flexible for Different Markets**:
- It works across various markets, like stocks, futures, and forex, adjusting to the specific characteristics of each instrument.
In short, this tool helps you visualize and understand past price movements and levels on your chart, aiding in your trading decisions.
QQQ NDX NQ Price Converter [Pt]A must have tool for QQQ NDX NQ traders~!!!
Description
The QQQ NDX NQ Price Converter is a powerful and easy-to-use tool that allows traders to view corresponding price levels for linked instruments in real-time. This includes QQQ, NDX, NQ, and NAS100USD. Although these instruments often move in sync, differences in price movements, volume, and trading hours can create unique key levels and support/resistance areas for each. By mapping these levels on the same chart, traders can more easily spot trading opportunities and improve their chances of success.
Customizable features
- multiplier from the closest whole number price level
- line color
- line style
- label position / size
- # of levels to display
- toggle current price display table
SPY SPX ES Price Converter [Pt]A must have tool for SPY SPX ES traders~!!!
Description
The SPY SPX ES Price Converter is a powerful and easy-to-use tool that allows traders to view corresponding price levels for linked instruments in real-time. This includes SPY, SPX, ES, and SPX500USD. Although these instruments often move in sync, differences in price movements, volume, and trading hours can create unique key levels and support/resistance areas for each. By mapping these levels on the same chart, traders can more easily spot trading opportunities and improve their chances of success.
Customizable features
- multiplier from the closest whole number price level
- line color
- line style
- label position / size
- # of levels to display
- toggle current price display table
JPY PPLPsychological Price Levels for JPY Pairs (Price Action Institutional Levels 1, 0.200, 0.500, 0.800, 1)
Applicable for forex Yen Pairs.
Levels are configurable for color, style.
Comments, Suggestions and Feedback are appreciated.
+ ATR Support and ResistanceThis, a very different script from most of mine, is my attempt at making a useful, and not messy, support and resistance indicator. If you've never looked into trader xkavalis, and his scripts and discord, I would highly recommend it. He talks about "pay attention candles" a lot. It got me thinking about what those are. Best as I can tell all he means by that phrase is large, impulsive candles. Sometimes these lead to break outs of ranges, or they may signal tops, bottoms, or near-tops and bottoms. The only way I could make sense of this in a mathematical way was by using the average true range. Basically, any candle's true range outside of the ATR is considered a "pay attention candle," by my definition.
This script originally began as just a candle coloring exercise with some optional shapes plotted above/below certain candles, but I quickly realized I wanted to draw lines or zones from these candles, so eventually, after many hours spent figuring out and learning 'line.new' and 'box.new' I got things sorted.
Essentially, my line of thinking is that on impulsive candles down, the origin of the impulse is more important than the close (not always of course, as there are no unbreakable rules in what markets can do), and with impulsive candles up, the same theory applies.
So, for upward impulsive candles I've marked out the zone from the open to the low as a support (until broken, in which case it may become resistance). For downward impulsive candles the zone encompasses the open to the high. I've given the option to plot a line from the close for all of these. It's turned off by default as it's just less stuff on the chart, but you may like it.
The line length is customizable in a menu. It does funny things on low timeframes on forex and stock charts (long lines that result in chart compression), but for some reason very rarely on crypto charts. If someone who is smart (not me) and has much experience with pinescript could perhaps help me out with a fix for this, that would be great. I suspect it has something to do with my "bar_index_duration" that I defined using the time function, but I'm not sure how or why.
Line length on time frames of one hour and up it is typically fine.
Use the ATR multiple to change the sensitivity of the indicator. This is basically the determination of when a candle is beyond the ATR. A multiple of two is two times the ATR. With lower volatile pairs you can maybe make this lower. On lower time frames or with more volatile pairs (illiquid alts in particular) a higher multiple might serve better. I find the default 1.75 is mostly acceptable.
As I started this I also thought adding some sort of volume information to the candles might be useful as well, so I added a simple candle coloring feature referencing the OBV and a 21 period EMA. Candles are colored based on the OBV's relation to its moving average.
I added some plot shapes and candle coloring utilizing the RSI as well. Options to turn on or off shapes plotted for overbought and oversold across the top of the chart. The most interesting feature that I implemented here is a support/resistance zone around the centerline of the RSI. If the RSI is between 49 and 51 then you can have optional candle coloring, shapes plotted above the candles, and s/r zones drawn on the chart. In trending markets the centerline of the RSI will frequetly act as support or resistance, so by being alerted of this condition on the chart you can use that with actual levels marked off in order to help make a judgement on a trade. I think it's a nice addition, and an oft overlooked aspect of the usefulness of the RSI.
I've also included a calculation, with candle coloring and/or plot shapes, for something like a stop run on high volume. The calculation for that is in its section below, and should be pretty self explanatory.
Lastly, typing this as I'm posting it, this indicator could also be useful for helping to find placement for trailing a stop. Just a thought!