OPEN-SOURCE SCRIPT

Q-Trend

업데이트됨
Q-Trend is an multipurpose indicatorm that can be used for swing- and trend-trading equally on any timeframe (non-volatile markets are better for this thing).

Settings:
  • Trend period - used to calculate trend line in the special moments(will explain below);
  • ATR Multiplier - changes sensitivity. The higher the multiplier = the more sensitive it is.
  • Also option to smooth source data (helps get cleaner signals, as always).


How to use?
Signals are given on the chart. Also ou can use trend line as S/R line.

The idea behind:

Terms:
SRС = Source
TL = trend line;
MP = ATR multiplier;
ATR = ATR :)
TL = (highest of source P-bars back + lowest of source P-bars back) / 2
Epsilon = MP * ATR
I was thinking for a week about combining volatility and relation between highest and lowest price point. That why I called indicator Q-Trend = Quantitative Trend, as I was trying to think about price in a mathematical way.

Okay, time to go philosophical:
1) TL is shows good price trend, but as it is slow enough and not enough informative, we need add additional conditions to produce signals.
2) Okay, so what can we add as conditions? We need to take volatility into account, as it is crucial in the moments of market uncertainty. So let's use ATR (Average True Range) somehow. My idea is that if SRC breaks TL + ATR, then it means that there will be upmove and we update our TL. Analogically for SRC breaking TL - ATR (breaks are crosses of TL +- ATR lines).
Conclusion:
- if SRC breaks TL + ATR, it is a BUY signal and update of trend line;
- if SRC breaks TL - ATR, it is a SELL signal and update of trend line;

I think that such indicator already exisits on TradingView, as I've already saw something similar, but long ago, so please don't report, if such thing already exists.
But if not, then I hope, that you will gain some profits with Q-Trend :)

I will continue my work on this thing, so stay tuned.

Trade with your own risks and have your profits!
Wish you all the best!

- Tarasenko Fyodor
릴리즈 노트
+ Alerts;
+ Enabling/disabling trend line on the chart.
릴리즈 노트
+ Signal modes.
릴리즈 노트
+ Strong signals;
릴리즈 노트
+ Minors;
릴리즈 노트
+ Minors;
릴리즈 노트
+ Minors;
릴리즈 노트
+ Minor changes;
릴리즈 노트
+ STRONG signals' alerts.
릴리즈 노트
+ Minors;
릴리즈 노트
+ Reaching fix;
릴리즈 노트
+ Strong SELL alert fixed.
릴리즈 노트
+ Option for choosing ATR period. Experiment with it to get signals that will suit your trading style.
릴리즈 노트
+ Option for choosing which signals to display (All, Buy/Sell, Strong or None);
Same chart, but:
All Signals
https://www.tradingview.com/x/J9szJNw8/
Buy/Sell
https://www.tradingview.com/x/nztxkwlZ/
Strong
https://www.tradingview.com/x/eifPGTSz/

+ Option for choosing colours;
+ Little logic optimization.
릴리즈 노트
+ Option for choosing shape of signals: label (with text) or arrows (without text).

NOTE:
To apply changes delete indicator from chart, reload browser page and add indicator once again.
ATRconceptfilterforecastinggodmodePivot points and levelsprofitquantreversalsignalstarasenkotrend

오픈 소스 스크립트

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

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


또한 다음에서도:

면책사항