Choose whether to use it for scalps, or to set up larger trades with bigger time frames and support or resistance zones.
*Warning*- This is untested and will remain untested due my unavailability.
Reason behind the coding: As I trader, I like to think that I am always "buying low and selling high"or "selling high and buying low". Throughout my trading experiences, I can tell you that I have done the opposite many times. This indicator helps me in finding opportunities as I have written it to always Sell at the closing price of a green candle and always to buy at the close of a red candle. The indicator makes the attempt to Sell High and Buy Low.
study(title="Buy&Sell", shorttitle="Scalp EA", overlay =true) x=security(tickerid,'D',high) y=security(tickerid,'D',low) z=security(tickerid,'D',close) buy=(high-open)*10000 sell=(low-open)*10000 a=iff(buy>.1,2,0) b=iff(sell<-.1,2,0) d=iff(a==0,1,0) e=iff(b==0,1,0) plotarrow(d,colorup=green,colordown=green,transp=50) plotarrow(e,colorup=red,colordown=teal,transp=50)