Skip to content

Instantly share code, notes, and snippets.

@CryptoRox
Created September 2, 2015 05:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CryptoRox/ba7d3aff9dbfe41d47a4 to your computer and use it in GitHub Desktop.
Save CryptoRox/ba7d3aff9dbfe41d47a4 to your computer and use it in GitHub Desktop.
Alert Indicator for 1 minute forex scalping
//Indicator for 1 minute forex scalping, to be used for firing alerts and automating trades using AutoView the Chrome extension
//@version=2
study("My1minforex", overlay=false)
a = ema(close, 12)
b = ema(close, 26)
c = sma(close, 55)
long = cross(a, c) and a > c
short = cross(a, c) and a < c
plot(long, "long", color=green, linewidth=1)
plot(short, "short", color=red, linewidth=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment