OPEN-SOURCE SCRIPT
Mis à jour [LazyBear] SQZ Momentum + 1st Gray Cross Signals ━ whvntr

I have modified LazyBears Squeeze Momentum Indicator with enhancements, plus added signals
LazyBear mentioned that in John F. Carter's book, Chapter 11, "Mastering the Trade", that "Mr. Carter suggests waiting till the first gray after a black cross, and taking a position in the direction of the momentum (for ex., if momentum value is above zero, go long). Exit the position when the momentum changes (increase or decrease --- signified by a color change)." I have done just that. Now at each "first gray after a black cross", there are now Bearish and Bullish signals.. The signals only appear in the direction of the momentum.
Disclaimer: This indicator does not constitute investment advice. Trade at your own
risk with this method of identifying changes in stock market momentum.
https://www.tradingview.com/x/VEsGNJjo/
LazyBear mentioned that in John F. Carter's book, Chapter 11, "Mastering the Trade", that "Mr. Carter suggests waiting till the first gray after a black cross, and taking a position in the direction of the momentum (for ex., if momentum value is above zero, go long). Exit the position when the momentum changes (increase or decrease --- signified by a color change)." I have done just that. Now at each "first gray after a black cross", there are now Bearish and Bullish signals.. The signals only appear in the direction of the momentum.
Disclaimer: This indicator does not constitute investment advice. Trade at your own
risk with this method of identifying changes in stock market momentum.
https://www.tradingview.com/x/VEsGNJjo/
Notes de version
Tooltip updated (Show/Hide Bearish/Bullish) It now says: For a multi-sourcehistogram, hide signal groups and move indicator
to a new pane
Notes de version
Updated code notesNotes de version
An attempt to rename the title to: 1st Gray Momentum Signals + SQZ Mom [LazyBear] ━ whvntrNotes de version
Great new feature: Adjust the length of the arrows in the Inputs Menu.I just made the option to shorten the length of the arrows...Enjoy!
As a note... if found no reference on the internet on how to accomplish this..
I, through trial and error, developed a path to display text via input.string in the code.
Fellow coders of Pine will appreciate this.
Notes de version
Input arrangements Notes de version
Font adjustments Notes de version
Updated histogram bool value to trueNotes de version
Added arrow adjustments to the top of the menu..plus restored default settings Notes de version
Added Inlines to the Inputs MenuNotes de version
Added background highlightsNotes de version
Adjusted inlines Notes de version
Alerts tested and active. To use: click 🕘Alert + Condition + SQZ_MULT + (1st Gray Cross Longs or Shorts) + Trigger: "Once Per Bar Close" Background highlight feature can now be used separately.
Notes de version
New chart photo for new additions Notes de version
Minute adjustmentNotes de version
Alerts UpdatedNotes de version
Menu arrangementsNotes de version
Additional alert conditions Notes de version
Multipurpose background highlightshttps://www.tradingview.com/x/9aM3Ff0a/
Notes de version
Alert messages updatedScript open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.