Advertisement
iDark

3Commas Scalping

Aug 29th, 2018
2,329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.44 KB | None | 0 0
  1. //@version=2
  2. study("1 min scalping", shorttitle="Scalping", overlay=true)
  3. a = ema(close, 12)
  4. b = ema(close, 26)
  5. c = sma(close, 55)
  6.  
  7. long = cross(a, c) and a > b
  8. short = cross(a, c) and a < b
  9. plot(a, title="12", color=red, linewidth=1)
  10. plot(b, title="26", color=blue, linewidth=1)
  11. plot(c, title="55", color=green, linewidth=1)
  12.  
  13. alertcondition(long, title='Long entry', message='')
  14. alertcondition(short, title='Short entry', message='')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement