1614 8 258
Just converted the AK_ TREND ID into a strategy , to show the efficiency of this simple indicator. I used SPX             in this example, to display that the indicator has been accurate for a long time.
Remove from Favorite Scripts Add to Favorite Scripts
// by algokid , 10/2015
strategy("AK_ TREND ID Monthtly Strategy Version:Basic", overlay=true)

// inputs
input1 = 3, input2 = 8 , 

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

bspread = (fastmaa-fastmab)*1.001

// exeution

longCondition = bspread > 0 
if (longCondition)
    strategy.entry("Risk on", strategy.long)
strategy.close_all(when = bspread < 0 )

Just be clear , the AK_ Trend ID is not a trading system , hence the warning " for educational purpose only" in big red font. This indicator simply tries identify ideal market regime to invest and stay out . works on a monthly basis.Do not apply this indicator on other securities or other time frame , it will not work.


NOTE > AK_Trend is a serious lagging indicator. Look at the code, it's just crossing EMA's.
Like every oscillator based indicator, it looks like it works today, but can be total rubbish next week.
John_Winkelman John_Winkelman
Well, basically just crossing EMA's.

(Why can't we edit or remove comments?)
IanLip John_Winkelman
if you have something that can predict the future, please share
I just started looking at this on the daily and weekly. I know it's much more effective on monthly but hard to make a handful of trades in 5 years. Do you have an update for the daily charts? Thanks and keep up the good work!
+1 Reply
Thanks this is helpful but I guess many people do not trade monthly but 5 minutes.
+1 Reply
Algokid CosmicDust
true ... its pretty challenging to come up a intraday strategy with good long term results, but I'm working on one right now .
+2 Reply
yup this is a great indicator, I like it on weekly and monthly ... thanks
+3 Reply
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out