Advertisement
Guest User

Untitled

a guest
Jan 25th, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. //@version=4
  2. study("Kraken Buyer", overlay=true)
  3. topPercent = input(1.30)
  4. bottomPercent = input(0.70)
  5.  
  6.  
  7. top = (close*topPercent)
  8. bottom = (close*bottomPercent)
  9.  
  10. sell = crossover(high, top)
  11. buy = crossunder(low, bottom)
  12.  
  13. //plot(top)
  14. //plot(bottom)
  15. plotshape(sell, color=color.red, style=shape.xcross, size=size.normal, location=location.abovebar)
  16. plotshape(buy, color=color.green, style=shape.xcross, size=size.normal, location=location.belowbar)
  17. alertcondition(buy, title='BUY KRAKEN', message='ANOTHER AMAZING KRAKEN BUY OPP!')
  18. alertcondition(sell, title='SELL KRAKEN', message='ANOTHER AMAZING KRAKEN SELL OPP!')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement