Plot Weekly Bollinger Bands on Daily chart
Author: ayc868
Creation Date: 7/8/2008 11:00 PM
profile picture

ayc868

#1
CODE:
Please log in to see this code.

the result is not correct, please advice.

profile picture

Eugene

#2
CODE:
Please log in to see this code.
profile picture

ayc868

#3
CODE:
Please log in to see this code.


if take away (BBandLower)
compiler will give error - need cast
Have you ever see your solution work?
profile picture

Eugene

#4
Have you noticed that DataSeries were added to the code above?
profile picture

ayc868

#5

My codes compile ok, but fail on run-time

your codes can not pass compiler. please advice
profile picture

Eugene

#6
I double checked that my code compiles OK otherwise I won't be posting it. Post the whole code please.
profile picture

ayc868

#7
it is from the sample

CODE:
Please log in to see this code.
profile picture

Eugene

#8
Everything compiles and runs fine when you properly substitute the first block of code with the corrected block.
profile picture

ayc868

#9


The above codes will have run time error

Can not cast BBandLower to DataSeries
profile picture

Eugene

#10
QUOTE:
The above codes will have run time error

Can not cast BBandLower to DataSeries




Substitute your code fragment with mine from 7/9/2008 3:56 AM to get rid of the error.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).