footon wrote:dfumagalli wrote:Is this tutorial still good for today's indicators?
Yeah, the main structure hasn't changed, only minor things like added namespaces and few added lines. If you're going to use current standard indicators for modifications, you'll be fine. If you have problems, don't be shy and post them, it's good exercise to have a crack at them, keeps my thinking sharp, and if I fail there'll be others to guide your path, hopefully.
Thank you very much!
At the moment I don't have problems but I do have a question and the PDF did not cover it.
Imagine I have a strategy made of 3 pieces (most of my strategies do):
1) Basic indicator(s) logic on timeframe A (in example: 15m chart): moving averages crossing, channel breakout etc.
2) Only if 1) is true then check for a certain pattern on timeframe B (in example: daily or hourly bar). Example: detect an inside bar happened on daily bars NN days before today's session.
3) If 1) and 2) are true then enter short / long position until End Of Day.
How would I implement 2) and 3)'s End Of Day, considering the bars arrays examples I found only deal with timeframe A bars and not with multiple timeframe bars?
I hope I made sense.