VIX based Levels

Major - The Major support line where the day low, high or close can occur at that level
Minor - The second level of the Support/Resistance line , where we can expect some rejections or breakouts/breakdowns
Mild - The mid level between the Major and minor levels. The market may consolidate around that area.
The script will automatically get the previous day close value of the current scrip and the India vix.
India vix is calculated based on the annual percentage and hence the previous day close value of the scrip is divided by 19.1 ( square root of 365 )
The PDC values can be manually overridden for backtesting purposes.
Please note, there will be some slippages involved on the trend lines.
Use Manual Close Value
The previous Day close of the scrip is automatically calculated , when this option is unchecked. If checked, you can manually enter the value. This option is useful during the backtest.
Use Manual VIX Value
The previous Day close of the India VIX is automatically calculated , when this option is unchecked. If checked, you can manually enter the value. This option is useful during the backtest.
PDC - Scrip
The Previous close of the Scrip. Used along with 'Use Manual Close Value' option
PDC - India VIX
The Previous close of the India VIX. Used along with 'Use Manual Close Value' option
Levels Above PDC
The number of main lines to be drawn above the Previous Day Close
Levels Below PDC
The number of main lines to be drawn below the Previous Day Close.
Line Left Offset
The line length from the current bar to the left
Line Right Offset
The line length from the current bar to the right
Extend Lines
Option to extend the lines on both side. Useful during the back test.
Show Minor Support Level
It shows the minor Support and resistance lines
Show Mild Support Level
It shows the mild Support and resistance lines
Show Price on Lines
The labels on the lines will show the price value
Release Notes v0.6
* Added a new option Show Price On Lines
* Changed CMP to PDC
Major - The Major support line where the day low, high or close can occur at that level
Minor - The second level of the Support/Resistance line , where we can expect some swing highs or lows. Good Confluence level for order flow reversal imbalances.
Mild - The mid level between the Major and minor levels. The market may consolidate around that area. Better to avoid this one , as it will have least significance on the intraday
The script will automatically get the previous day close value of the current scrip and the India vix.
India vix is calculated based on the annual percentage and hence the previous day close value of the scrip is divided by 19.1 ( square root of 365 )
The PDC values can be manually overridden for back testing purposes.
Please note, there will be some slippages involved on the trend lines.
Release Notes:
v0.7
Introduction of Timeframe:
Intraday, Weekly , Monthly , Quarterly , Yearly.
The above levels can be used to analyze the week or month's high/low possibilities. It will be very useful for swing trading.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.