I am having difficulty compiling a simple strategy to buy when Ehlers' Fisher score increases and sell when it decreases. The draft is below (and I think it's my c# experience!):
CODE:
Please log in to see this code.
Size:
Color:
CODE:
Please log in to see this code.
Size:
Color:
Thanks Eugene, appreciate the help -- and I did notice what I was doing wrong. L
Size:
Color:
Glad that you noticed it:
CODE:
Please log in to see this code.
On a related note, try to avoid placing variable declarations like that outside of the Execute() method unless you're doing it intentionally. You can get pretty unexpected results by declaring variables this way as
class-level unintentionally.
Size:
Color: