OPEN-SOURCE SCRIPT
Atualizado

[JHF] SQZPRO Multi Timeframe

579
New version based on the original SQZPRO by Makit0, with many new features for advanced users, including:

  • A fourth level of compression (Very Narrow), in purple. This level displays 10% more compression than the yellow dots.
  • Customizable Threshold for 4 timeframes. Other timeframes adopt the "Daily" settings.
  • Customizable Bollinger Band and Keltner Channel Moving Average Length, to increase or decrease the sensibility depending on the timeframe.
  • A Reversal Signal can be displayed when the Squeeze Momentum crosses above or below its moving average.


Any comment can be left here, or tag @JHF in The Real World Stocks Campus.
Notas de Lançamento
Added Alerts to know when an assets gets to a specific squeeze level

Added values to the squeeze dots depending on their squeeze level:
  • 0.00 = No Squeeze
  • 0.01 = Mild Squeeze
  • 0.02 = Medium Squeeze
  • 0.03 = Tight Squeeze
  • 0.04 = Very Tight Squeeze


These values can be used to set alerts on the indicator's "Squeeze Dots" series. For example "Moving Down 0.01 within 10 bars" to know when a squeeze is releasing.
Notas de Lançamento
Fixed Squeeze Dots value for tighter squeezes on the chart (0.04,0.03, etc.).
Added validation for alert conditions.
Cleaned code.
Notas de Lançamento
New update:
Any timeframe lower than 1 hour will use the 1 hour settings instead of the daily settings.
Notas de Lançamento
Hourly settings now work with timeframes in seconds.
So everything below 1 hour will use the 1 hour settings.

Weekly settings now work with monthly timeframe and multi-month timeframes as well as multi-weeks custom timeframes.
Notas de Lançamento
4H settings now apply for custom timeframes between 2H and 18H.
Notas de Lançamento
Added Monthly Timeframe.

Weekly will only affects timeframes in weeks.
Monthly affects timeframes in months.

Tweaked default settings for Monthly timeframe.
Notas de Lançamento
Cleaned the status bar to contain only the BB Length for each timeframe, instead of all the inputs at once.
Notas de Lançamento
  • Added new alerts for trend reversals
  • Stylized existing alerts
  • Added a small extra setting at the bottom of the settings list.
Notas de Lançamento
Massive update
  • Cleaned up the status line, keeping only the BB/KC lengths in there.
  • Full rework of the timeframe logic using arrays
  • Squeeze Dots are now always at 0.00 for more consistency on the charts, regardless of the squeeze level.
  • Removed the "JHF Theme" which had no meaning in there. Set your own custom colors in the settings :)

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.