Richard Von
08-02-2007, 04:20 PM
I coded the attached indicator which has two inputs, Upper and Lower, each set to .03. When applied to a chart, the indicator window shows them at that value.
But the indicator doesn't work. To debug, I print the values to the Output Window which shows that both upper and lower or Upper and Lower are rounded to 1 -- which throws everything out of range.
I'm pretty sure that the double data type allows for the .03.
What's changing this?
ALSO: My square now print in the price window. Is there a way to make them print in the MACD window?
Thanks.
But the indicator doesn't work. To debug, I print the values to the Output Window which shows that both upper and lower or Upper and Lower are rounded to 1 -- which throws everything out of range.
I'm pretty sure that the double data type allows for the .03.
What's changing this?
ALSO: My square now print in the price window. Is there a way to make them print in the MACD window?
Thanks.