BradfordFournier

Trend Shift Indicator

BradfordFournier ที่อัปเดต:   
TSI -- Early Trend Shift Indicator

PURPOSE: This indicator detects early changes in trends and provides confirmation

In particular, the TSI aims to do the following simultaneously:

  • detect trend changes early

  • provide a means of trend confirmation -- while still being early in the cycle change

  • provide an early indication of trend changing away from positive.

EMPI indicates shifts in the following ways (see reference image below)

  • Positive Shift: fill color red to green
  • Early Positive Signal: upward green over red (use with caution)

  • Negative Shift: fill color green to red
  • Early Negative Signal: in green but with decreasing green (use with caution)

เอกสารเผยแพร่:
TSI -- Trend Shift Indicator

  • Red to Green == BUY
  • Green to Red == SELL
เอกสารเผยแพร่:
  • Simplification of user interface / options
  • Reduce the frequency of rapid signal changes.
เอกสารเผยแพร่:
  • User now defines overbought line.
  • Default 170-180 overbought should work well for 1 and 5 day. The user may set lower (I suggest 140) for 1 month and longer.
  • User defined Overbought setting defines simple sell signal trigger.
  • Red X on bottom of indicator should hint at possible reversal.
เอกสารเผยแพร่:
Corrected signal x's to properly reflect sell points.

  • See example IRDM 6M
เอกสารเผยแพร่:
NOTICE OF ALTERNATE VERSION

An alternate version of this indicator -- called "Trend Shift Indicator v2.0" -- is now available.


  • Version 2 is NOT A REPLACEMENT version but an alternate version with a few extra features which may or may not prove useful to you.
  • Version 1 (this version) will still be the primary script and will updated and supported.

Give v2.0 a try. Suggestions are greatly appreciated. Let me know which you find more helpful. Also, please let me know of any things you find problematic.

Bradford Fournier-Eaton
เอกสารเผยแพร่:
Update:
- allows smoothing for fewer false signals.
-simplified algorithm.
เอกสารเผยแพร่:
Simplification.

Allows changing of smoothing factor.

Earlier trend detection. (see the AMD advanced indication of rally on associated chart)
เอกสารเผยแพร่:
Simplification

Example on Chart.
เอกสารเผยแพร่:
Simplification of visual interface

Removed Hist - Macd of TSI

Added suggested sell signals.



NOTE: IF YOU LIKED THE MACD on TSI then please look at "TREND SHIFT INTIDCATOR STRATEGY v2.0"

Feedback appreciated.
เอกสารเผยแพร่:
Simplified user interface

Removed MACD(TSI(time))

If you liked the macd signal, please use "Trend Shift Indicator Strategy V.2.0"
เอกสารเผยแพร่:
Improved sell signal tags
เอกสารเผยแพร่:
Edit to Sell Signals
เอกสารเผยแพร่:
Macd of indicator values plotted in orange
simplified interface
เอกสารเผยแพร่:
1. updated to include optional early buy/sell signal crosses
2. updated to automatically vary sensitivity based on cycle lengths.
3. updated to be more accurate and signal earlier.
4. updated to allow input price to be smoothed before algorithmic manipulation, (or after)
เอกสารเผยแพร่:
Changes:

  • Auto-adjusting look-back period and ema-lengths based on cycle length.
  • Highest values plotted above in long, medium, and short look-backs. (see next note)\
  • Relative height of shaded region is one metric of risk (i.e., highest shaded region in a month would indicate high risk for the intra-monthly trade).
  • Use orange dotted line crossovers as an early warning -- any discontinuities are due to self-adjusting sensitivity.

Usage:

Cautious Buy: orange crossover 0
Buy: Orange increasing + orange crossover 0 + filled region red and increasing quickly towards 0
Confirmed Buy: Orange line > 0 + filled region red-> blue + blue increasing

Cautious Sell: Orange line decreasing quickly + filled blue decreasing
Cautious Sell 2: Blue filled region near max in recent history. (red solid bounding line)
Sell: Orange crossunder 0 + decreasing blue
เอกสารเผยแพร่:
MAJOR UPDATE

Updates:
  • Dynamic mid and long-term overbought lines based on previous reversal values and volatility -- they will auto-adjust.
  • TSI's Macd Histogram shaded in grey for early signal information.
  • More simple interface for changing macd(tsi) parameters.
  • Conservative & non-intrusive visual caution marks on indicator (small orange and red crosses) which should be useful for visual scanning.
  • Customized alertcondition templates.
  • TSI rarely reaches 500, dashed red line is this value. If your value goes much beyond, consider caution.
  • Cleaner interface.

To Do
  • Implement adaptive length for smoothing of TSI and Macd of TSI.
  • Implement adaptive mid and long-term high based on variance/sd of TSI, not just recent average highs and volatility.
  • Implement correlation to benchmark to scale overbought risk.

If you have any suggesstions for features. Please let me know. I'd appreciate some feedback.
เอกสารเผยแพร่:
I heard your suggestions and have made the appropriate adjustments...

  • simpler interface
  • To view macd and hist (of the indicator) simply change the transparency to be > 0. (i.e., default is that macd(tsi) is not shown now)
  • More responsive overall

As always feedback is appreciated and acted upon.
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้เผยแพร่แบบปิดและคุณสามารถใช้มันได้อย่างอิสระ คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้แต่คุณจะไม่สามารถดูหรือแก้ไขซอร์สโค้ดได้
คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?