Converting formulas

Hi,

Trying to code a formula, however I dont understand one aspect of the formula.
“For time t and m past bars the value of the indicator…”.
Shoudn’t the time t and m be the same thing? My guess is that t will be an array of Time[]? The formula is supposed to be:

Hmmm, I am not any kind of coder but could this mean, for example, when using 30min bars, that “t” could = 24 hours and then “m” would = 48 bars?

Just guessing…

yozo2
What has this got to do with free forex trading systems
Wake up !!! and post in the right section
Maybe you would also get more feedback
Regards

Hm not sure, doubting though. Thanks anyway!!:slight_smile:

the formula is supposed to go into a trading system so I though it would be appropriate to add it here. Just started to use the forum now, sorry. Where should I move the post/start a new one? Sorry for the inconvenience.

I think not, actually: I suspect that “t” will refer to periodicity per bar (chart time-frame), and “m” will refer to the number of bars (“lookback-period”).

Don’t worry about it! I think it probably belongs in “Forextown” and I’ve suggested to the moderators that they might like to move it there; if they do, they do; if they don’t, it really doesn’t matter. :wink:

Ahh yeah sounds reasonable!!
Thanks a lot! :slight_smile: