View Single Post
  #23 (permalink)  
Old 02-20-2006, 02:54 PM
codersguru's Avatar
codersguru codersguru is offline
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Unhappy EMA_Prediction_2

There were some errors in the previous Indicator .
using pos-1 in the EMA calculation was wrong because pos -1 is a bar in the future, it works only if there was future bars (while drawing the indicator from the first bar, the second bar is -1 of the first bar, and the third bar is -1 of the second bar etc. but the -1 of the current bar is not exist yet).

Anyway, this is the new version of the indicator.
I hope to see your comment! Is it worth to enhance or to forget !
Attached Files
File Type: mq4 EMA_Prediction_2.mq4 (4.9 KB, 1329 views)
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Reply With Quote