Attachments forums

List of attachments posted on this forum.


All files on forums: 163291

Re: MT4 Indicator requests and ideas

Anonymous, Fri Mar 10, 2017 3:07 am

OK, sorry if I'm a bit confused.

If the smooth period is set to 1, I understand that it will return actual price/value.

If the custom period for the smooth period is an EMA set higher than 1 wouldn't it produce an different result than an SMA for the same custom period?

I have a Vidya that came bundled with my broker software. I can't open it to check the code, but it appears that the smooth period is an EMA (which seems to be what Chande's original calculation is based on).

mladen wrote:
Fudo,

That iMA() call is a "dirty little trick"
it is used in that form because that is the fastet way to get the desired price in mql (when no custom price types are used)since period is set to 1, regardless of what average type you use the return is always the same (any average with period set to 1 must return the price/value itself), so regardless what ma type you place there, unless the average period is changed from 1 to some other period, no change for the results will happen
All files in topic