Bollinger Band with Fib Golden Ratio (0.618)This startegy uses Fib level (0.618) of Bollinger Band for long entry. I find this is the only strategy which gives similar results on the different time frames. I have tested QQQ for 1H, 2H , 3H and 4H charts , all showed over 70% winning rate.
BB settings 50 , mult 1.5 (or you can use 2.5 or 3 )
Note: for the basis I have used VWMA instead of SMA .
BUY
=========
ema 50 is above ema 200
when the price close or low touches BB50(Fib0.615) lower band
Exit
=========
when the price crossover BB50(Fib0.615) upper band
Stop Loss
=========
Stop oss set to 5% , configurable
Strategy works similar to mean reversion style. When it touches the lower bans (which 0.615 level of the BB50) , it bounces from there.
Warning
=========
This strategy is for educational purposes only. Please do your own reserach for trading decissions.
Eemani
Ultimate Oscillator [Long] StrategyAfter I published Short Selling strategy with RSIofUO , I have been working for Long side strategy with same indicator.
but for Long strategy , I have used only the Ultimate Oscillator ... (Not the RSI of UO)
Logic behind this is , when UO goes below oversold level , high chance of possible reversal from there ...
Ultimate Oscialltor values , I have used are 5, 10 and 15
Signal Line 9
Above values are best/defaulted based on testing the strategy multiple symbols
BUY
when UO crossing up buyLine and close > open ( if the cross over is already done , it will wait for 3 candles to see a green bar i.e close>open )
Note when the bar color changes to orange , that means startegy is ready to take LONG position on next bar. But dont jump here , waith for the startegy take the Long Position :-)
Add
Signal appears when there is divergence (marked in yellow color ) ... strategy doesnt add the position , it is ony indicating you could add to existing OR if you missed the BUY signal you could enter here
Partial Exit
when UO crossing down partial exit level
Exit
When UO crossing down sell line
StopLoss
stop loss defaulted to 3%
Please note , I have slightly modified stop loss exit in this strategy.
Even though price hits 3% stoploss , strategy wont wind up the position ...
First , it will check if RSIofUO is above 30 , then it will hold on to the Long position.
Very reason behind this is , price is falling down and UO is going up ... That means there is bullish divergence here .. so it might turn this losing position to profitable one or will exit you with less than 3% loss.
Tested with SPY , QQQ , TSLA on 30mins to 4hrs. Though winning rate is average , net profit is exponential ...
Best working on 30 mins and 1 HR chart for QQQ
Warning
For the eductional purposes only ...
This is not a financial advise , before taking trading decission please do your own research
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
RSI of emas difference [ EEMANI ]This strategy is found by error.
Initially I started to find the weekly version of RSIofVWAP strategy. somehow I didn't see good results. Then , on the same script I did change it to find rsi emas difference strategy.
while changing the code , for the long term ema /slow ema input , I had entered fastema value instead of the price close. That is the error.
But strategy showed good results , then I extended it to add stop loss and take profits. Since this is found by error, I cant explain much how it is working.
Please check if your symbol works with this strategy and let me know ... your feedback is greatly appreciated to improve the strategy ...
I name it as EEMANI strategy
BUY
======
When the RSIofEMAsdiff is crossing above 70 (buy Line) and fastEma is rising
Note:
On the indicator it shows yellow background ... thats the entry point ....
when strategy is already in Long position , if you see yellow back ground thats where you can add or enter if you missed earlier signal
background and bar color color changes to blue when strategy is in Long position
Partial Exit
=========
when RSI value reaches 99 , 1/3 of the position si closed with profit
Close
======
when RSI value crossing down 90 (exitLine)
Stop Loss
=========
defaulted to 4% (increasing this value might improve the performance , but number of bars will go high , that means you need to wait longer time to get out of the trade ... Thats boring !!!
Note :
I have added two formulas , both of them are produce similar results. But different equities on different logic. check which formula is working for you
LOGIC1 => fastEMAval-slowEMAval
LOGIC2 => (slowEMAval+fastEMAval)/weeklyVwap
Warning
=========
For the use of educational purposes only
BBofVWAP with entry at Pivot PointThis strategy uses BB of VWAP and Pivot point to enter and exit the Long position.
settings
BB length 50
BB Source VWAP
Entry
When VWAP crossing up BB midline and price/close is above weekly PivotPoint ( you can also use Daily pivot point )
Exit
When VWAP is crossing down BB lower band
Stop Loss
Stop loss defaulted to 5%
Note : Long will position will be exited on either VWAP crossing down BB lower band or stop loss is hit - whichever comes first . Being said that some time your stop loss exit is less than 5% which saves from more losses.
Entry is based on weekly Pivot point , so any time frame below weekly will work perfect. I have tested t on 30 min , 1 HR , 4 Hr , Daily charts. Even weekly setting shows good results , that will work for long term investing style.
if you change Pivot period to Daily , chose time frames below Daily.
I also noticed this strategy mostly do not enter Long position in a down trend. Even it finds one , it will be exited with minimal loss.
Warning
For the use of educational purposes only
VWMA_withATRstops_strategyThis strategy follows the trend when price is above VWMA indicator. I have modified entry and exit rules to get most out of it.
Instead of entering LONG when price crosses above VWMA, I have used RSI(14) of VWMA . that way it skips the false signals. (some extent)
ENTRY
========
1. VWMA setting is 33
2. When RSIofVwma is above 30 enter Long ( and also checks if price already broke the ATR Stop above line )
Stop Loss and Exits
==================
1. Exit is when price breaks the ATR stop loss
2. ATR setting is set as same VWMA Length and multiplier is 3.5
3. STOP Loss that I mentioned in the settings is being used to calculate the how many units can be purchased based on risk of capital value.
Note: There is NO hard stop loss. having above ATR stop loss works as Trailing stop loss
Warning
=======
For the educational purposes only
RSIofAggregateHighsThis strategy is based on aggregate of highs of specified length. Then this value is input to RSI 14 period.
Take long when the curve crossing up 23.6 , 32.8 , 50 , 61.8 and 72 ... These are Fib numbers ... ( you could use simple oversold level 20 or 30 , simple overbought level 70 or 80. )
Better results found when crossing up 50 line. Closing the LONG trade also use the same setting but when crossing down.
It best works for one hour / 4 hours chart.
Tested for SPY , QQQ and AAPL symbols.
Stop Loss set to 8%
I have also added SHORT parameter , however SHORT trade results are NOT good on any time frame.
Warning
for the use of educational purposes only
EMA_cumulativeVolume_crossover[Strategy]This strategy is back test for EMA_cumulativeVolume_crossover
BUY
When ema50 crossover cumulative volume of 100 period
Exit
When ema50 cross down cumulative volume of 100 period
Partial Exit
for the partial profit I have used stopLoss value , but up side. When price is above partial profit and crossing down EMA 50 , exit 1/3 position
Please note when you select this setting, you see spike number of trades, that is because you closing partial number of trades. which increases the winning rate but reduces the total net profit.
Stop Loss
Defaulted to 8%
Added parameter to take LONG or SHORT trades ... on SHORT side not very good results ... you can review it and provide feedback how to improve the performance.
Short Selling
Reverse above BUY conditions
I have tested LONG trades on SPY , QQQ and AAPL on 1 Hour and 30 mins timeframes. for AAPL on DAY timeframe it shows crazy results :-)
Note
For the use of educational purposes only.
EMA_cumulativeVolume_crossover [indicator]while I was doing some research with exp MA crossovers and volume indicator , I have noticed that when ema 50 is above cumulative volume of 100 period , shows to capture nice profits in that trend. Shorting also (ema50 cross down volume of 100 period) also shows nice results.
BUY
When ema50 crossover cumulative volume of 100 period
Exit
When ema50 cross down cumulative volume of 100 period
Short Selling
Reverse above BUY conditions
Back ground color shows blue when ema50 is above cumulative volume of 100 period, shows purple when ema50 is below cumulative volume of 100 period
I will publish the strategy for back testing later today
Warning
For the use of educational purpose only
RSI of VWAPThis strategy inputs the vwap as source to RSI indicator.
ENTRY
When RSIofVwap crossover 70 and price is above ema200
partial exits
when RSIofVwap reaches 90 level take a portion of profit
Exit
When RSIofVwap crossdown 30
stoploss
defaulated to 5%
Risk Level
Defaulted to 10%. Based on this startegy calcuclates hiw many units can be purchased adhering to stoploss value
Note: code doesnt draw the RSI (vwap) indicator to the chart. if you want to see how these signals are generated , you can select RSI and VWAP of 14 period length.
warning
For educational purposes only
BB21_MA200_StrategyThis strategy follows the trend and keeps you in the trend until it breaks SMA 200
SMA setting is 200
BB setting is 21
BUY
====
when BB is (lower band and upper band) above SMA 200 and price crossing above BB middle line
Partial Exit
==========
When Lower BB crossing down SMA200 , exit 30%
Total Exit
=========
When BB middle band crosses down SMA200 , exit ALL
Stop Loss
======
default is set to 5%
Risk Management
================
This is new parameter I have introduced in my strategies. Default value is 10% . That means , if your capital is 10000 , you are willing to risk 10% of it ... i.e 1000.
It doesnot mean that you are buying shares/units for 1000 only. It is different ...see below
Your trade size is calculated based on Risk% .... capital x risk 5 / stop Loss units
for further explanation you can check Alexander Elder's risk management rule. He mentioned 2% rule for 100K account. But most of us dont have 100K accounts .. . so I have defaulted 10% on 10K account. You can change this values and see the results. It wont change the number of trades or profit factor. It will increase the net profit.
Warning
=======
For educational purposes only
EMA_HMA_RSI_StrategyThis strategy BUYS when HMA is below EMA (default setting is 200) and HMA turning to green and RSI 13 is below 70
Adds to existing position when current price is below BUY price and RSI crossing above 30 or 40
Exits the long position when HMA crosses down EMA
when you select Take Profit setting , partial profits are taken when current price > BUY price and RSI 13 crossing down 80
Bar color changes to purple when RSI13 is above 80 (if only in Long position exists)
Tested for SPY QQQ AAPL on hourly and 30 mins chart
Warning : For educational purposes only
Aroon Oscillator StrategyThis is simple strategy based on Aroon Oscillator. I have found that using length 144 or 169 on hourly chart shows excellent results.
Tested on SPY , QQQ and AAPL. Especially when you look at AAPL results , it has 60% profitable in recent trades. ( Dont assume this will be same for other stocks or ETFs)
Aroon Oscillator setting : 169 ( 169 is square root of 13 ... you can also use fib level 144 , which is square root of 12 )
BUY
When Aroon Oscillator crosses above zero line
Add
if Long position is already opened, and current close is less than BUY price and RSI 13 crossing above 30 line
Exit
when Aroon Oscialltor crosses below zero line
Stop Loss
default stop loss has been set to 5%
Note: I have not plotted RSI to the chart. Please include RSI 13 to see how position gets added ... Also add ema 169 to see how the price is aligned with the Aroon Oscillator
Warning
For the educational purposes only
Golden Triangle StrategyGolden Triangle strategy setup is a variation of the buy-the-dip strategy, by Charlotte Hudgin.
You can find the detailed explanation here by Thomas N. Bulkowski thepatternsite.com
BUY
===
1. price should be trading above sma50
2. when it touches sma50 first time , check the starting rallypoint of where it initiated
3. from the above point to current close , see if you have white space , then draw the triangle
4. then check for volume confirmation ( current volume should be greater than last 4 ) --- I have slightly changed this to fit into hourly strategy by adding condition close>vwap
EXIT
====
1. Exit when close crossing down sma50 with at least 2% profit (slightly modified original condition)
StopLoss
========
2. stop loss is set to 6%
Warning
=======
For the use of educational purposes only
VWAP and BB strategy [EEMANI]This strategy combines VWAP and BB indicators
BUY RULE
1. EMA50 > EMA 200
2. if current close > vwap session value
3. check if price dipped BB lower band for any of last 10 candles
EXIT RULE
1. price closes above BB upper band
STOP LOSS EXIT
1. As configured --- default is set to 5%
warning: for the use of educational purposes only
ADX strategy (considering ADX and +DI only )I have been checking the strategies on ADX indicator.
I have found that +DI crossing above ADX line under threshold 30 and exit on crossdown when ADX above 30 has better results than just following crossovers of +DI and -DI , ADX crossing above 30 .
BUY Rule
========
fast ema is above slow ema (default 13 and 55 , you can change these values in settings)
+DI cross above ADX well beloe threshold level (default 30)
Exit reule
========
when +DI cross down ADX , well above on threshold level
Stop Loss
=========
Default is set to 8%
Take a look and let me know how your symbol works with this strategy
Note : Bar color changes to yellow when the BUY condition is met.
Bar color and Background color shows to blue --- if Long position is active
fast ema and long ema doesnt print on the chart -- please add manually to the chart
Warning : for the use of educational purposes only
VWAP and RSI strategyThis strategy combines VWAP and RSI indicators
BUY RULE
1. EMA50 > EMA 200
2. if current close > vwap session value and close>open
3. check if RSI3 is dipped below 10 for any of last 10 candles (as defined rsi_buy_level)
EXIT RULE
1. RSI3 crossing down 90 level (as defined in rsi_sell_level)
STOP LOSS EXIT
1. default is set to 5%
you need to add EMA 50 , EMA 200 and VWAP (session) indicators to the chart to see how these signals are generated
This strategy is tested on SPY and QQQ index stocks on hourly chart.
Warning
for educational purposes only
VFI strategy [based on VFI indicator published by UTS]This strategy is based on VFI indicator published by UTS.
for the strategy purpose , I have added buy line and sell line to the indicator and tested SPY stock/index on one hour chart
BUY RULE
==========
1. EMA 50 is above EMA 200
2. vfi line is pulled down and crossing above -4
EXIT RULE
==========
1. when vfi line crossing down 5
STOP LOSS
=========
1. default stop loss is set to 5%
ALL the above values (Buy Line , Sell line and Stop Loss ) can be modified in settings window
Notes :
more details of VFI indicator can be found at mkatsanos.com and precisiontradingsystems.com
Warning:
for educational purposes only
EEMANI - collect money strategy 1This strategy is for stock market ONLY
Strategy: EEMANI ... Collect the money by selling Credit spreads - Tested on SPY index weekly options
This strategy is based on consecutive up and down strategy which is available in TradingView Built in indicator. list, i have added EMA filter to that.
Tested on SPY Hourly chart
============================
ENTRY:
1. when price is consecutively up 3 bars and price is close above EMA (defualt EMA is 8 )
2. consider selling PUT nearest weekly ( SPY weeklies are available for Monday, wednesday and Friday)
Example: if the signal occurs on Monday or Tuesday , Consider selling Wednesday PUT spread
3. PUT strike one leg is mentioned on the chart when signal occurs ( calculate the second value based on your comfortable spread distance, either 5 points or 10 points)
( OR You can chose PUT strikes using a bollinger band --- strike below the lower band )
EXIT:
1. You can wait until the spread expires worthless OR
2. Exit if the short leg is 0.01 OR
3. Exit when 50% of the premium is evaporated (this is to avoid any sudden down spikes )
4. Script is configured to exit after 16 Bars. (that is maximum number of Hourly bars for two days)
StopLoss:
1. when the price touches the Put short leg (as mentioned in entry signal) --- close the position
2. OR when the price touches the Put short leg --- You can defense the position by certain percentage by converting it to IronCondor ,
that means, sell the CALL credit spread ... chose the strikes above upper Bollinger Band
happy Trading
Warning: for educational purposes only
Historical Exp MA crossover (EEMANI) strategyThis strategy is based on exponential moving average.
I was doing some research on when price extended too far from moving averages / exponential moving averages , ended up with this idea.
LONG RULE
when Exponential MA cross over the historical Exponential MA
EXIT RULE
when Exponential MA cross down the historical Exponential MA
Take Profit
if you check take profit parameter , strategy marks the bars in yellow color when it reaches 30% profit
Example:
I have tested this strategy with SPY , which showed best results with Exp MA = 51 and Historical Exp MA = 100
which has 71% win ratio and High profit factor low max draw down . especially Max Loss on any taken trade is less than 5%
Though price movement looks ugly on the chart , ultimately trade closes with decent profit / minimal loss
Note : past performance is not necessarily indicative of future results, please do your research and back test