Then optimise Time as I described in my erroneous post, then at least you will know if an exact Hour or 30 min or 15 mins, or 5 mins or 1 min is the optimum than you can set this (5 min or 1 min etc) as your Timeframe command? I’ve never done above, but I will try it later as I just thought of it! Or is the heat still getting to me!!?? 🙂
Haha, I see no difference with your first post about this, so my response will be the same and won’t need a repeat.
Now see emphasis in the quote above : Yeah, that could do something. But it is not related to what MTF is normally used for (like you say it yourself, you can always do *that*) plus I don’t think you will be able to make real money over this.
TimeFrame is about setting the bar lengths such, that all math you apply by means of PRT functions (Average, RSI, 200 more) apply to that set TimeFrame.
It could be mimicked by some smarter code which grabs the output of bars at e.g. 15 minute intervals and skips which happened in between and then apply an e.g. Average(MyClose[14]) but this is not even easy to make (will require a lot of looping and arrays could be useful).
It could be worthwhile so set up something like that, even if it takes a month. I suppose this month will be won back within a next month, as the testing everything within a new TF is an enormous redundant job which could be automated.
In the end this will fail because of too many references to e.g. MyVariable[2]) and MyVariable now needs a “MyClose” too (which is what it comes down to).
I suppose PRT better had created from the start a syntax like this :
TF10m->Close[2]
TF5s->Close[2]
And with some indirection support (or macro substitution or whatever similar technique) we could have made that
@MyTF04->Close[2]
@MyTF01->Close[2]
But then some PRT guy (or Roberto) will tell that this requires strings in variables, so that we can do this first :
MyTF01 = “TF5s”
MyTF04 = “TF10M”
but that PRT by now is too old to make such a radical change. So, stuck.
Still the support for MTF I deem great. Working with it can be a hell (think about the If commands not allowed and more hoopla we al ran into). I take it that this does not require elaboration.