Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //@version=4
- study("Kraken Buyer", overlay=true)
- topPercent = input(1.30)
- bottomPercent = input(0.70)
- top = (close*topPercent)
- bottom = (close*bottomPercent)
- sell = crossover(high, top)
- buy = crossunder(low, bottom)
- //plot(top)
- //plot(bottom)
- plotshape(sell, color=color.red, style=shape.xcross, size=size.normal, location=location.abovebar)
- plotshape(buy, color=color.green, style=shape.xcross, size=size.normal, location=location.belowbar)
- alertcondition(buy, title='BUY KRAKEN', message='ANOTHER AMAZING KRAKEN BUY OPP!')
- alertcondition(sell, title='SELL KRAKEN', message='ANOTHER AMAZING KRAKEN SELL OPP!')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement