This is a follow-up post to http://www.traderji.com/amibroker/71499-need-help-following-janeczkoimplementing-multiple-time-frame-analysis-amibroker.html
I am having trouble getting this to work AmiBroker 5.6. I used the following steps:
1) Set up a 1-min chart and analysis
2) Coded up the multithreaded versions of the MTMACD indicator as posed by Trash (see p2 of the above post)
3) Ran the scan, and inserted the indicator.
4) Switched to daily bars
A couple of problems.
1) The scan shows lots of buys/sells but I don't see any buy/sell arrows on my chart
2) I can only see to get the MTMACD indicator to work on daily bars
To explain the second point:
If I adjust the code to aggregate over 1-minute intervals up to, say, 5 mins, instead of 300 mins, as in the original code. I would expect that indicator to work for, say, hourly bar charts (as well as daily). I make the following adjustment:
for( i = 1; i <= 5; i++ )
This works fine on a daily bar chart, but for anything less than daily the MTMACD indicator remains stuck at 1.0, even though I am only aggregating bars up to a total of 5 mins.
Thanks.
I am having trouble getting this to work AmiBroker 5.6. I used the following steps:
1) Set up a 1-min chart and analysis
2) Coded up the multithreaded versions of the MTMACD indicator as posed by Trash (see p2 of the above post)
3) Ran the scan, and inserted the indicator.
4) Switched to daily bars
A couple of problems.
1) The scan shows lots of buys/sells but I don't see any buy/sell arrows on my chart
2) I can only see to get the MTMACD indicator to work on daily bars
To explain the second point:
If I adjust the code to aggregate over 1-minute intervals up to, say, 5 mins, instead of 300 mins, as in the original code. I would expect that indicator to work for, say, hourly bar charts (as well as daily). I make the following adjustment:
for( i = 1; i <= 5; i++ )
This works fine on a daily bar chart, but for anything less than daily the MTMACD indicator remains stuck at 1.0, even though I am only aggregating bars up to a total of 5 mins.
Thanks.