good indicator for sure

Created at 03 Sep 2014, 10:37
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
GE

getbuen

Joined 29.11.2013

good indicator for sure
03 Sep 2014, 10:37


please can any one help me coding this indicator ctrader or mt4

// AK Trend ID Version 1.00
// This indicator simply indentifies if the market are
// in a up or down trend.
// For SPX or SPY ONLY, Time Frame = Monthly
// Created by Algokid 7/23/2014 
// Toronto, Canada

study("AK_TREND ID (M)")
input1 = 3, input2 = 8 , 

fastmaa = ema(close,input1)
fastmab = ema(close,input2)

bspread = (fastmaa-fastmab)*1.001

adline = 0

m = bspread > 0 ? lime : red

plot (adline,color = white)
plot(bspread, color = m)
barcolor( bspread > 0 ? green :red)


@getbuen