Fisher Turnup, TurnDown Strategy
Author: lepete
Creation Date: 8/27/2017 10:00 PM
profile picture

lepete

#1
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.
profile picture

Eugene

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

lepete

#3
Thanks Eugene, appreciate the help -- and I did notice what I was doing wrong. L
profile picture

Eugene

#4
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.
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).