View Single Post
Old 04-10-2010, 04:50 AM   #140
gomifromparis
Senior Member
 
Join Date: Oct 2007
Posts: 367
Thanks: 3
Thanked 38 times in 18 posts
Default

You can't access Close[0] from the ladder class because they are different classes with no inheritance. That's why there is the ugly helper class, to manage all information sharing between the Indicator class and the Ladder classes.

What you could do more easily is create a GomCD instantiating indicator, and use the exposed dataseries DeltaClose DeltaHigh DeltaLow DeltaOpen.

Here's an example (NT 6.5)
Attached Files
File Type: zip GomCDDivergence.zip (18.0 KB, 326 views)
gomifromparis is offline  
Reply With Quote