OPEN-SOURCE SCRIPT

Fetch Z-score

업데이트됨
This script is enspired by the creator of the Z-score probability indicator made by tradingview.com/u/Steversteves/.

I took his calculation for the z-score and created my own strategy based on that z-score.

What is z-score? The Z-score represents how far the current price deviates from the moving average, measured in terms of standard deviations

What does this script do with the Z-score?
The script offers several customizable options, including displaying buy and sell signals based on Z-score thresholds and overlaying these signals directly on the chart or below/above the bars.

The idea is that when the Z-score exceeds a certain treshold, a count will start. The count will lead to a signal. For example: Say the Z-score dipped below -1. From there, the script will by default count whether the current Z-score is higher than the Z-score of the past 10 datapoints. If so, a buy signal will be printed on the chart. The idea is that the Z-score will creep up after a low, making sure you buy earyly in the new uptrend, making this a trend followiung system, with early trend detection.

You can choose whether you want the buy and sell signals on the seperate pane, or on the chart by toggeling a simple setting.

What are my favorite settings?
- Timeframe: weekly
- SMA Length: 75
- Z score buy treshold: -1.5
- Z score sell treshold: 3
- Lookback buy period: 20
- Lookback sell period: 20
릴리즈 노트
This script is enspired by the creator of the Z-score probability indicator made by tradingview.com/u/Steversteves/.

I took his calculation for the z-score and created my own strategy based on that z-score.

What is z-score? The Z-score represents how far the current price deviates from the moving average, measured in terms of standard deviations

What does this script do with the Z-score?
The script offers several customizable options, including displaying buy and sell signals based on Z-score thresholds and overlaying these signals directly on the chart or below/above the bars.

The idea is that when the Z-score exceeds a certain treshold, a count will start. The count will lead to a signal. For example: Say the Z-score dipped below -1. From there, the script will by default count whether the current Z-score is higher than the Z-score of the past 10 datapoints. If so, a buy signal will be printed on the chart. The idea is that the Z-score will creep up after a low, making sure you buy earyly in the new uptrend, making this a trend followiung system, with early trend detection.

You can choose whether you want the buy and sell signals on the seperate pane, or on the chart by toggeling a simple setting.


What are my favorite settings?
- Timeframe: weekly
- SMA Length: 75
- Z score buy treshold: -1.5
- Z score sell treshold: 3
- Lookback buy period: 20
- Lookback sell period: 20

Patch notes v2:
- Bugfix: "lookback sell period"did not influence sell signals, but "lookback buy period" did. They now work as expected
릴리즈 노트
Better precision on pane scale
릴리즈 노트
Add cool down period inputs
Moving AveragesOscillatorsz-score

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


또한 다음에서도:

면책사항