OPEN-SOURCE SCRIPT
Telah dikemas kini [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/
Nota Keluaran
Tooltip updated (Show/Hide Bearish/Bullish) It now says: For a multi-sourcehistogram, hide signal groups and move indicator
to a new pane
Nota Keluaran
Updated code notesNota Keluaran
An attempt to rename the title to: 1st Gray Momentum Signals + SQZ Mom [LazyBear] ━ whvntrNota Keluaran
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.
Nota Keluaran
Input arrangements Nota Keluaran
Font adjustments Nota Keluaran
Updated histogram bool value to trueNota Keluaran
Added arrow adjustments to the top of the menu..plus restored default settings Nota Keluaran
Added Inlines to the Inputs MenuNota Keluaran
Added background highlightsNota Keluaran
Adjusted inlines Nota Keluaran
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.
Nota Keluaran
New chart photo for new additions Nota Keluaran
Minute adjustmentNota Keluaran
Alerts UpdatedNota Keluaran
Menu arrangementsNota Keluaran
Additional alert conditions Nota Keluaran
Multipurpose background highlightshttps://www.tradingview.com/x/9aM3Ff0a/
Nota Keluaran
Alert messages updatedSkrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.