OPEN-SOURCE SCRIPT

[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/
版本注释
Tooltip updated (Show/Hide Bearish/Bullish) It now says: For a multi-source
histogram, hide signal groups and move indicator
to a new pane
版本注释
Updated code notes
版本注释
An attempt to rename the title to: 1st Gray Momentum Signals + SQZ Mom [LazyBear] ━ whvntr
版本注释
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.
版本注释
Input arrangements
版本注释
Font adjustments
版本注释
Updated histogram bool value to true
版本注释
Added arrow adjustments to the top of the menu..plus restored default settings
版本注释
Added Inlines to the Inputs Menu
版本注释
Added background highlights
版本注释
Adjusted inlines
版本注释
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.
版本注释
New chart photo for new additions
版本注释
Minute adjustment
版本注释
Alerts Updated
版本注释
Menu arrangements
版本注释
Additional alert conditions
版本注释
Multipurpose background highlights
https://www.tradingview.com/x/9aM3Ff0a/
版本注释
Alert messages updated
accuratebuysignallazybearMomentum Indicator (MOM)momentumstrategyOscillatorssellsignalsignalsVolatilitywhvntr

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明