Hello,
I am currently reading Alexander Elder’s “The new Trading For A Living” book and he describes setting a BUY target at an “average EMA penetration.” I am looking for an indicator that can give me the following value:
on a daily chart, if EMA value is in an uptrend, looking back at last 40 bars:
calculate an average penetration :
if closing price is lower than EMA, then subtract the closing price from the EMA (average this number for the last 40 bars)
estimate the EMA of tomorrow:
EMA tomorrow = EMA of today + (EMA of today – EMA of yesterday)
Calculate an entry point:
EntryPoint = EMA tomorrow – average penetration
return Entry
Is it possible to program this as an indicator?