OPEN-SOURCE SCRIPT
Telah dikemas kini

PFCC - Pivot Fractal Chaos Channel [Open Source]

With the release of my indicator "TOTC - Trade outside the Channel", the Pivot Fractal Chaos Channel used there has attracted significant interest.

TOTC - Trade outside the Channel (aka "Chaos Coaster") [Free]


Due to requests from some users, I am happy to publish the source code of the PFCC - although it is not "new" and has been implemented in many other scripts in one way or another. Some Examples:

  • Support and Resistance Levels with Breaks:
    Support and Resistance Levels with Breaks [LuxAlgo]
  • Support Resistance MTF:
    Support Resistance MTF
  • Pivot Points High Low (HH/HL/LH/LL):
    Pivot Points High Low (HH/HL/LH/LL) [Anan]


The code is briefly commented. Please feel free to use or further customize it ... And, of course, I would be happy to be named and/or linked. If you're satisfied, maybe buy me a coffee ;-)
I'm curious to see how this indicator will develop with more ideas - Please keep me updated by commenting below or by sending me a message.

Let's take a quick look at the function and idea
PFCC - "Pivot Fractal Chaos Channel" or also known as "Fractal Chaos Band" can serve as a baseline trend indicator for your strategy.

Essentially, the "Fractal Chaos Channel" shows an overall panorama of price action. As they filter out the insignificant price fluctuations. The upper level is created by drawing price highs and the lower level is created by drawing price lows.

Two Ideas, how this indicator can be used
  • Trend indicator: If the price breaks the upper line, it could be taken as a buy signal. If the price breaks the lower line, it could be taken as a sell signal.
  • Trailing Stop Loss: You can track the stop loss with the rising line in case of a buy trade. On the other hand, you can track the stop loss with the falling fractal line in case of a sell trade.


What do I need to consider?
It may be advisable to add further indicators and an analysis of the market structure in order to confirm the signals issued by the indicator. Please note that when you make adjustments to any strategy, you always carry out particularly detailed tests.

You would like to use this indicator, but you have adjustment requests, you want to have additional filters or features implemented, ...?
I am happy to create individual indicators based on "PFCC - Pivot Fractal Chaos Channel" or your ideas. Write me a message and we will discuss the details and conditions.
Nota Keluaran
What has been implemented?
  • Function: Added Alerts when price crosses PFCC Upper or Lower Band. How to use it: To use alerts, select 'Any alert() function call' in the 'Create Alert' dialog. If you change the triggering frequency, create the alert from scratch to be on the safe side.


#revision: dv63o
Nota Keluaran
Here are the changes I made in version dv149o of the PFCC indicator:

Signal Confirmation Filter
  • When enabled, new signals are only triggered if price exceeds previous signal's level
  • Could help to reduce false signals by requiring price confirmation
  • Can be enabled in the indicator settings


Signal Counters
  • Added counters that track consecutive UP and DOWN signals
  • Counters are displayed as labels on the chart
  • Counters reset automatically when channel boundaries change


Price Level Tracking
  • Added tracking of price extremes after signals
  • These values are used to validate follow-up signals


Alert Improvements
  • Alerts now include the signal counter information
  • Maintained existing alert functionality and settings


Technical Updates
  • Reorganized code structure
  • Updated to Version 5 of Pine Script
  • Added more detailed comments
  • Improved variable organization

Penafian