//long condition
Long=rsi1>55 and xSMA1_SMA2>0 and outHist>0
Longexit=xSMA1_SMA2<0
//Short condition
Short=rsi1<45 and xSMA1_SMA2<0 and outHist<0
Shortexit=xSMA1_SMA2>0
//Long Entry
strategy.entry("Long",strategy.long, when = Long == true)
strategy.close("Long",when = Longexit == true)
//Short Entry
strategy.entry("Short",strategy.short, when = Short == true)
strategy.close("Short",when = Shortexit == true)
Copy paste the code in trading view pine script section, save and Add to chart. Go to strategy Tester to see the results! Great job with the webinar! Twitter is full of learning if you have the right focus!
• • •
Missing some Tweet in this thread? You can try to
force a refresh
- If everyone is talking about it on social media and it has already broken out
- If a stock has moved up already for the last few days
- If a stock is up more than 10% already from breakout zone
- If your SL is deep
2⃣ Enter only on breakout & nowhere else if you're trading breakouts...
Buy only…
- above breakout zones (no entry in no-man land)
- above a key resistance zone after a stock consolidates
- 1-2% above resistance zone
- Identify entry points(set alerts on TV/set GTT in zerodha)