OPEN-SOURCE SCRIPT

RSI of VWAP [SHORT selling]

已更新
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
版本注释
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

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明