Hello Metastocker’s
Wonder if someone can tell me if this is possible:
I have created an indicator via the MDK which will determine
(using dow theory) if the security is trending up or down. The indicator will
return only the security’s closing value where the trend changes. Example:
The security starts at 10 (01-Jan-07), up trend until close
reaches 50 (31-Mar-07) then down trend until close reaches 20 (30-Jun-07), then
up trend until close reaches 60 (31-Aug-07).
Ideally I would like the indicator to draw a straight line
from 10 (01-Jan-07) to 50 (31-Mar-07) to 20 (30-Jun-07) to 60 (31-Aug-07).
Currently I am getting a line from 10 (01-Jan-07) down to 0
until the 31-Mar-07 then up to 50, then back down to zero until the 30-Jun-07
then up to 20, then back to zero then up to 60 on the 31-Aug-07.
That make sense?
Almost need to assign psResultRec->psResultArray->pfValue
a NULL value so that it's not plotted on the chart????
Thanks,
Shaun