OPEN-SOURCE SCRIPT

HTF Manipulation Swing Points [Pogiest]

313
General

HTF Manipulation Swing Points plots out relevant swings on the higher timeframes selected and draws a horizontal line anchored from the extremes of the swing point. These are important levels traders can look to base entries off of. This indicator is designed to track higher timeframe swing points on a lower timeframe. It will detect a sweep (Manipulation) or a breakout/breakdown (Failure to Manipulate) based on the higher timeframe candle close.

Usage

Depending on how the higher timeframe candles engage the relevant swing points, it can assist traders on bias and direction given the higher timeframe order-flow, lower timeframe order-flow, zones, levels, etc. Manipulation of swing points can potentially signal the start of a reversal or retracement. Failure to Manipulate swing points can potentially signal continuation of the higher timeframe current trend. It is up to the trader to gauge the price action at these levels.

How the Indicator works

1. Lines (Not engaged) - Plots out line from higher timeframe swing points and extends to the right.
2. Manipulation (M) - M label will be plotted on the swing point line that has been engaged. For example, if 1 hour timeframe was selected in settings and the 1 hour swing point line is plotted on the chart, the indicator will track the first one hour candle to engage the line and wait for the 1 hour engaging candle to close before marking it out as a Manipulation label. It is deemed to be manipulation if the 1 hour candle sweeps the level and closes back into the range.
3. Failure to Manipulate (FTM) - FTM label functions the same as Manipulation in which it waits for the swing point line to be engaged in order for a label to be printed. However, if the price does not sweep the swing point, breaks through, and closes beyond the level then it would be deemed a "Failure to Manipulate".

Note: The timeframe selected in settings will match the engaging candle. For instance, if a 4 hour timeframe is selected, the next 4 hour candle that engages the swing point level will need to close before it displays a label. In addition, this indicator is designed to view on lower timeframes with higher timeframe swing points selected in Settings.

Settings

Timeframes:
1. Choose up to two timeframes for swing point levels.
2. Adjust Pivot lookback.
3. Option to change high and low line color, line style, and line width.

Timeframe Manipulation Labels:
4. Show/hide labels.
5. Option to adjust offset of labels horizontally/vertically for each high or low line.
6. Option to change label colors, label size, and text color.

Line Tags:
7. Show/hide line end tags.
8. Option to change tag size and tag color.
9. Adjust offset of tags.

Overlap Detection:
10. Adjust overlap threshold percentage.
11. Adjust label shift amount (for when labels are overlapping each other).

Alerts:
12. Option to enable/disable all alerts. Select different alerts for each timeframe (i.e. manipulate alert or failure to manipulate alert).

Risk Disclaimer

This indicator is for educational and informational purposes only and does not constitute financial advice. All trading and investment decisions remain solely the responsibility of the user.

Trading involves a high degree of risk, and past performance is not indicative of future results.

Always conduct your own research and consult with a qualified financial professional before making any trading decisions.

By using this indicator, users acknowledge they understand these risks and accept full responsibility for their trading decisions and outcomes.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.