בחירות העורכים
OPEN-SOURCE SCRIPT

Auto Pitchfork, Fib Retracement and Zig Zag by DGT

מעודכן
Pitchfork is a technical indicator for a quick and easy way for traders to identify possible levels of support and resistance of an asset's price. It is presents and based on the idea that the market is geometric and cyclical in nature

* Developed by Alan Andrews, so sometimes called Andrews’ Pitchfork
* It is created by placing three points at the end of previous trends
* Schiff and Modified Pitchfork is a technical analysis tool derived from Andrews' Pitchfork


In general, traders will purchase the asset when the price falls near the support of either the center trendline or the lowest trendline. Conversely, they'll sell the asset when it approaches the resistance of either the center line or the highest trendline.

█ Study OPTIONS


Auto Pitchfork, the main aim of the study

‏ ‏    [-] Pivots threshold can be customized by “Deviation” and “Depth” input options
‏ ‏    [-] Pitchfork Type selection, available options Andrews' Pitchfork (Original), Schiff and Modified Pitchfork
‏     [-] Ability to set ALERTs for the Pitchfork Levels
‏     [-] Ability to add customized levels (all level lines customizable)


Auto Fib Retracement – This is the build-in study of TradingView, slight changes applied to fit with Auto Pitchfork

Zig Zag – Derived from build-in Auto Fib Retracement with some customization options.


█ Usage Tips :

  Andrews' Pitchfork (Original) best fit in a Strong Trending Market
  Schiff and Modified Pitchfork better with Correcting or Sideways Market. Modified Pitchfork is almost identical to a Parallel Chanel



Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely

The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
הערות שחרור
with this update

- added extended pitchfork levels (1.5, 1.75, 2)
  note: in case extended levels start point is grated than last pivot high/low then the line will not be drawn (rare cases) but you may still benefit from Alerts functionality even the line is not drawn

- added ability to display Fibonacci's previous retracment leves

- a bug corrected related to alerts


I will invite you to check the education post that i shared with regards to pitchfork application, you may find highly valuable comments received from the users :
how to apply pitchfork and auto pitchfork study
הערות שחרור
small tweak with line reference calculations
הערות שחרור
update

added ability to plot historical pitchfork
added pitchfork level labels
extended alerts - added alerts to pitchfork median line

added ability to choose between fibonacci retracements or extensions
removed option to draw labels on right side to avoid overlapping with pitchfork labels

added tooltips to some important input options
הערות שחרור
update

added inside pitchfork
made levels customization more flexible

הערות שחרור
update

added backgroud coloring option, thanks to new pine feature

additionally,
- imporved label customizations
- converted to Pine v5
הערות שחרור
Added
** Second Pitchfork,
** Second Zigzag, and
** Camarilla Pivot Points
Andrew's PitchforkautofibautopitchforkCamarilla Pivot PointsDGTfibextensionsModified Schiff PitchforkPivot PointsSchiff PitchforkSupport and ResistanceZigzagZig Zag Indicator

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור