OPEN-SOURCE SCRIPT

Mr. Nitish Kumar Triveni Sangam Shapes and Alerts

已更新
Triveni Sangam Shapes and Alerts:
Spot and set alerts on "Triveni Sangam" (Three averages meeting) breaks. 1. It helps avoid cluttering the chart with the three averages (9 SMA, 20 SMA Bollinger Band, and VWAP) by hiding them and optionally showing only the Golden (bullish) and Death (bearish) crosses.
2. Avoid showing consecutive breaks of the same color, so that one can act only on a significant breaks.
3. This setup is generally used with the Hilega Milega indicator.
4. One can learn more about this setup from Mr. Nitish Kumar's YouTube video titled: "Triveni Sangam Intraday Trading Setup With #Hilega_Milega | By- N.K Sir | #NKSTOCKTALK".
5. Most importantly, it helps set up alerts to get triggered not only when the breaks occur, but even as the break is impending based on a customizable price percent threshold.

Please let me know for any issues/improvements needed.

Thanks!
版本注释
Fixed 9 SMA which is based on "high" price instead of "close" price.
版本注释
Added "Any alert condition" functionality for a broad tracking.
版本注释
Improved/fixed all type of alerts and added a new alert to cover all conditions properly.
版本注释
Minor fix..
版本注释
Added a graded alert for either a Golden or Death cross occuring condition.
版本注释
Made significant changes to the script.
1. The Triveni Sangam is not based on the MA (moving averages) crossovers anymore. It is now based on them coming close together. This squeeze is decided based on ATR. When the three averages come within 1 ATR of the close price then it's considered a Trivenin Sangam.
2. As such the logic of Golden and Death cross is removed entirely. Now it's the user's choice on whether or not to cosidered it bullish or bearish Triveni Sangram. This can be done based on Hilega Milega, for example.
3. As before, there is a logic to avoid having frequent Triveni Sagam detections which the user can control based on the number of candles after which a new Triveni Sagam should be detected.
4. Other minor fixes.
版本注释
Improved how the Triveni Sangam shapes are plotted for a deeper historical analysis.
intradayMomentum Indicator (MOM)momentumstrategyTrend AnalysisVolatility

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明