Jump to content
Medved Trader Forums

Recommended Posts

Posted (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 by Doug Hayman
Posted (edited)

Sorry hit Enter, before completing.   My scanner logic is:

if ((MACDHistogram[1] < 0) && (MacDHistogram > 0))  {fires alert}

 

Edited by Doug Hayman
Posted

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.

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...