Trendoscope

Multiband - Market Timer

Trendoscope Wizard ที่อัปเดต:   
This strategy is made for market timing in the bull markets. Hence, more ideal to use it with index ETFs or high conviction large caps.

This makes use of different custom indicators:

  • Multi Band Channel - Overbought/Oversold Oscillator
  • VixFix Linear regression
  • Regular Linear Regression.

Multi Band Oscillator is used for identifying overbought/oversold state of the instrument. This is used in conjunction with VIXFix Linear Regression to to find market bottoms for entry conditions.

Few parameters are explained below:

  • CheckBandDistance - If checked checks for narrow bands and ignore signals when crossover happens in narrow bands.
  • ConsiderOversoldDaysCounter/ConsiderOverboughtDaysCounter - If checked, considers oversold and overbought crossovers only if instrument stays in oversold/overbought state for that many bars.
  • UseLinearRegressionToOpen/UseLinearRegressionToClose - If checked, combines linear regression along with overbought/oversold condition for entry and exits.
  • UseVixFixToOpen - Uses VixFixLinear regression to identify market bottom and this condition will be combined with oversold/overbought state. When using VixFixLinearRegression signal, we can allow generating entry signals during non crossover bars. Vix Fix Entry Range sets the max bar for multi band state to be for generating signal. For example, if Vix Fix Entry Range is set to oversold, signal is generated based on VixFix if price is below oversold.
  • ExitStrategy - This can be trailing/reversal or combined. If set to reversal, exit will happen on state moving out of oversold region. If set to Trailing, stop will be based on trailing stops. Indicator shows what is the present stop value. If set to combined, exit will happen on stages. 30% of the remaining position gets closed upon reversals. State may go into oversold and return back many times before having full exit. If this happens, each time, 30% of the position will be closed. Full position closure happens on hitting training stop.

Candles are colored based on linear regression.

  • Green -> positive and moving up
  • Lime -> Positive moving down
  • Orange -> Negative moving up
  • Red -> Negative moving down
  • Purple -> Possible VixFix peak - aka Market bottom

Another snapshot of the script along with Linear regression and VIXFix-LinReg indicators:


Related scripts are found here:


I have not put additional indicators to identify trend. But, can be combined with higher timeframe trend filters to generate better signals. Making this as invite only script as I find it very lucrative to time index ETFs. Please PM me if you want to try this script.
เอกสารเผยแพร่:
  • Added maxLossPercentage for protection. This is set to 50 by default to allow more room for instrument to recover during dips.
  • VixStateEntry disabled for reversal Exits. If exit type is reversal, entry is only done in oversold region.

Note: Only parameter you need to set is Exit Strategy. More trending instruments such as Nasdaq, trailing stop is better method. More volatile (BTC) or less aggressive instruments (XJO) - reversal exits are better suited.
เอกสารเผยแพร่:
Add optional donchian trend filter for strengthening entry and exits.

Original donchian trend filter is present here:
เอกสารเผยแพร่:
Minor optimizations on oversold-overbought boundaries
เอกสารเผยแพร่:
Add optional higher time frame moving average condition
เอกสารเผยแพร่:
Added option to use different initial stop multiplier. Removed trail percentage stop.
เอกสารเผยแพร่:
Ignore oversold days for entry when exit condition based on trailing stops
เอกสารเผยแพร่:
Added option to use custom moving average for ATR. Settings optimized for non leveraged index ETFs - SPX, QQQ, DIA, IWM
เอกสารเผยแพร่:
  • Added trailProfitPercent - after which tighter trailing will be done.
  • Updated Stoploss values before tightened trailing.
เอกสารเผยแพร่:
  • Updated implementation to use strategy.order instead of strategy.entry to allow regular topups
  • Added trade stats table
เอกสารเผยแพร่:
Added reduce percent input
เอกสารเผยแพร่:
Default VIX-Fix entry changed to overbought (Meaning allow entry if it is not in overbought condition)
เอกสารเผยแพร่:
Major update - added divergence based confirmations which makes the strategy much stronger
เอกสารเผยแพร่:
Major updates:

  • Refine divergence based filters.
  • Updated display information on major entry criteria - this includes volatility, momentum and divergence.
  • Added custom alerts using alert function. This will generate additional alerts based on overbought oversold conditions and can be used for reduce/reload positions.

New custom alert has to be configured in slightly different way:
เอกสารเผยแพร่:
  • Updated Divergence stats
  • Move trade stats to bottom bar
เอกสารเผยแพร่:
Added option to different ways of deriving dynamic overbought/oversold. This is based on the study - RSI-Dynamic-Overbought-Oversold-Range
เอกสารเผยแพร่:
Remove few redundant lines of code and conditions and format input fields
เอกสารเผยแพร่:
Updated alert texts for custom alerts.
เอกสารเผยแพร่:
Update data displayed on tables. Instead of numbers, just displaying directions for momentum and volatility.
เอกสารเผยแพร่:
Major update: Further optimization after testing more indices. Fixed a divergence-zigzag issue identified.
เอกสารเผยแพร่:
Major update - Converted to pine 5 :)
เอกสารเผยแพร่:
Major updates:
  • Making use of libraries - which allowed additional optimization of settings with respect to bands
  • Adding alert timer and alert auth to prevent exploiting alert behavior.
เอกสารเผยแพร่:
Update libraries and auth key added
เอกสารเผยแพร่:
Update input layout. No functionality changes
เอกสารเผยแพร่:
Fix memory error

สคริปต์เฉพาะผู้ได้รับเชิญเท่านั้น

การเข้าถึงสคริปต์นี้จำกัดเฉพาะผู้ใช้ที่ได้รับอนุญาตจากผู้เขียน และมักจะต้องชำระเงินก่อน คุณสามารถเพิ่มลงในรายการโปรดของคุณได้ แต่คุณจะสามารถใช้งานได้หลังจากขออนุญาตและขอรับจากผู้เขียนเท่านั้น ติดต่อ Trendoscope สำหรับข้อมูลเพิ่มเติม หรือทำตามคำแนะนำของผู้เขียนด้านล่าง

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

คำจำกัดสิทธิ์ความรับผิดชอบ

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

คำแนะนำของผู้เขียน

Please PM me if you want to access this script. Settings are optimized for Leveraged Index ETFs.

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

คำเตือน: กรุณาอ่าน ก่อนร้อขอการเข้าถึง