TradingView
ceyhun
7 אפר׳ 2019 13:33

Support Resistance Buy Sell 

Bitcoin / DollarBitfinex

תיאור

Support Resistance Buy Sell

הערות שחרור

mistakes were improved

הערות שחרור

fix
תגובות
ZAQDA
Great Work ,
Thanks for your Support and Assistance
ceyhun
@ZAQDA, thank you too
kapon55
@ceyhun, sadece highest ve lowest den buy sell indikatörün varmı teşekkürler...
DaveBarnes
Hey @ceyhun can you please make this to strategy?
ceyhun
@DaveBarnes, ok

tr.tradingview.com/script/b2i8gQE5/

//@version=2
strategy("Support Resistance Buy Sell Strategy", overlay=true)

pd=input(60)
yuzde=input(5)
k1=highest(high,pd)
k2=lowest(low,pd)

plot(k1,"Resistance",color=green,title="5", linewidth=2)
plot(k1*(1-yuzde/100),"Sell",color=red,title="5", linewidth=2)
plot(k2,"Support",color=green,title="5", linewidth=2)
plot(k2*(1+yuzde/100),"Buy",color=blue,title="5", linewidth=2)

Buy=k2*(1+yuzde/100)
Sell=k1*(1-yuzde/100)

signal =crossover(close,Buy) ? true : crossunder(close,Sell) ? false : signal[1]

longCondition = signal
if (longCondition)
strategy.entry("Long", strategy.long)

shortCondition = signal != true
if (shortCondition)
strategy.entry("Short", strategy.short)
GrimReaper_
Thank you Ceyhun ... your Indicators will help many traders 🙏
עוד