[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

really wierd el problem



PureBytes Links

Trading Reference Links

I'm working on an idea that is complex, so I wanted to simplify the idea
to see if it works before implementing the full complex code. The test
case is to use the parabolicsar code to see what price is doing as a long
term trending function. To simulate the complex code I call parabolicsar()
from inside an indicator four times. As I'm testing thes I plotted the
ParabolicCustom indicator against price, then plotted my new indicator
to make sure the two indicators generated the same values. They didn't.
I then thought maybe TS6 is helping me too much so I copied the
ParabolicSAR() function to another name and caused all temporary
variables to be passed in as NumericRef's. This includes references
to High and Low. The values are still not the same.

The higher indicator that calls the custom ParabolicSAR() function does
not modify oParCl received from the function. Once the value is received
it is plotted.

Why is TS6 helping me so much? What is causing these values to be different?o
The indicator and multiple ParabolicCustom indicators are plotted in
a single chart with a single symbol. There is nothing else plotted.

Mike