Doug Hayman Posted July 24 Report Share Posted July 24 (edited) I'm running latest version of MT, which I updated to this morning. I have a chart with MACDHistogram with default values 12,26,9,Close,EMA I have a Custom scanner running the same default values, and have a logic portion looking for MacDHistogram positive crossover at 0: When the scanner crosses from negative to positive (as logic implies), it is not consistent with the Chart. Any clues? Edited July 24 by Doug Hayman Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted July 24 Report Share Posted July 24 Please give example of what is wrong.. Quote Link to comment Share on other sites More sharing options...
Doug Hayman Posted July 24 Author Report Share Posted July 24 (edited) Sorry hit Enter, before completing. My scanner logic is: if ((MACDHistogram[1] < 0) && (MacDHistogram > 0)) {fires alert} Edited July 24 by Doug Hayman Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted July 24 Report Share Posted July 24 The two should match. The easiest way to check is to set Scan value to the histogram's value, and compare the value you see on the portfolio to the one you see on the chart. The problem you're seeing may be a mismatch either in the candle size or in the extended hours between the chart and the scan. Those should be exactly same in order to match. 1 Quote Link to comment Share on other sites More sharing options...
Doug Hayman Posted July 24 Author Report Share Posted July 24 Mike, thanks for the quick comeback. My Extended hours settings were different (duh!). Fixed that and all is consistent now. Thank you very much! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.