OPEN-SOURCE SCRIPT

RSI of VWAP [SHORT selling]

Telah dikemas kini
This is SHORT selling version of RSIofVWAP strategy. Settings and Logic are totally different from LONG side version , hence I am publishing it as a new strategy.

Settings
============
VWAP of RSI Length 15

Slow EMA Length 200

Short entry level 25

Cover short level 70

stop loss 5


SHORT Entry
============
condition1 : When RSIofVWAP crossdown below 25 and VWAP is below ema200

condition2: When weekly RSIofVWAP crossdown 70 and VWAP (note : session vwap , not weekly vwap) is below ema200

condition3: Use VIX value , if you want to short when the price is above ema200
vwap RSI crossing down 70 and VIX RSI is cossing up 70

enter short ... This is like falling knife :-)

I need to add the code -- later
if any of above condition is TRUE , SHORT entry will be taken


Take Profit
============
When close less than short entry price and RSIofVWAp is crossing up 25 , take profit ...close 1/3 of the position


Exit
============
When RSIofVWAP crossing up 70 level


Stop Loss
============

Stop Loss is set to 5%


Note:
1. When strategy is in SHORT position , background and bar color changes to gray
2. When strategy is already in short position , possible entries are shown in yellow background
3. RSI Length 15 is working most of the equities on hourly chart. ( RSI length 9 and 14 also works good , but not for all ... You may want to try which setting works for your symbol)
4. weekly VWAP (blue color) is also plotted by default ... you can disable it if you dont want to see it. But there is advantage keeping it on the chart , you can notice whenever weekly VWAP crosses above 70 line , trend is UP ... if you have LONG position you can hold on it ... Hurray :-)

Warning
============
For the educational purposes only
Nota Keluaran
I have added check VIX paaremeter. When this is selected , strategy only checks whether VIX reading is rsisng and above 60. This setting gives advantage of volatility in the market , which boosts the over all performance SHORT selling trades.

RSI Length has been adjusted to 11

Please note this is tested for SPY on hourly. for your equity / asset and timeframe , adjust the settings accordingly

Have fun :-)
eemaniExponential Moving Average (EMA)mohaneeMoving AveragesrsiofvwapshortsellingshortsetupTrend AnalysisVolume

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian