OPEN-SOURCE SCRIPT

Reversal Pivot Points

已更新
This indicator aims to identify price levels where price action has quickly reversed from. These "pivots" establish major levels where major liquidity is located. Unlike standard support and resistance levels, when price breaks below or above a pivot, these pivots disappear from the chart. Comes with various customization features built to fit all.

Features

  1. Pivot Timeframe: Identify and plot pivots from one specific timeframe and see it from all lower timeframes
  2. Pivot left/right bar limit: A feature aimed at preventing false pivots identification
  3. Remove On Close (ROC): Feature to only remove pivots once price close under it
  4. ROC Timeframe: The timeframe the script uses to determine if the candle closed under the level
  5. Wait For Close: Will only remove the pivot after the current candle closes
  6. Line Extension Type: The extension of the line. None - extends line to current time, left - only extends line to the left, right - only extends line to the right, both - extends line both directions
  7. Line Offset: How much to offset (in bars) the line and label from the current candle
  8. Line Type: The style of line when plotted. Solid (─), dotted (┈), dashed (╌), arrow left (←), arrow right (→), arrows both (↔)
  9. Display Level: Whether to or not to display the price of the pivot
  10. Display Perfect Level: Whether to or not to display levels where price perfectly rejected off of
  11. Alerts: Creates an alert when a level has been crossed


How to trade

1. Pivots can be traded to or from. The stock market (market makers) will tend to "chase" liquidity in order to fill orders at better averages. This allows us retail traders to to participate alongside these moves to these pivots. Once price action hits a pivot, it can do two things: break the pivot and continue or bounce off it. We can participate alongside these bounces after confirmation of a reversal (doji, volume, etc). These bounce plays are high risk as it's generally 50-50, but the risk to reward is typically also very high, making them very valuable to take.

2. Typically, the market is a fluid environment and should be "natural," so perfect things (manmade and filled with liquidity) should not occur. With this knowledge, we can expect these perfect levels, "PDT/PDB," to break as they are not natural occurrence and have heavy liquidity on and above/below them. We can trade to these levels and expect them to break/sweep if price action comes near them again.
版本注释
Fixed lookhead issues
版本注释
Fixed "Wait for Close" not working properly
版本注释
Improved code formatting and chart
版本注释
Removed showing lower timeframe pivots on a higher timeframe to prevent errors
Pivot PointsPivot points and levelsSupport and Resistance

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明