I'm a newbie to the trading game and I have created a strategy at least I think. But i'm getting some errors while compiling.
I want to create the following strategy.
If:
Target 1: 100 points, if it does not make 100 points close at target 2
Target 2: 90 points, if it does not make 90 points close target 3
Target 3: 80 points, if it does not make 80 points close target 4
Target 4: 70 points, if it does not make 70 points close target 5
Target 5: 60 points, if it does not make 60 points close target 6
Target 6: 50 points, if it does not make 50 points close target 7
Target 7: 40 points, if it does not make 40 points close target 8
Target 8: 30 points, if it does not make 30 points close target 9
Target 9: 20 points, if it does not make 20 points close target 10
Target 10: 10 points, if it does not make 10 points close target 11
Target 11: 5 points, if it does not make 5 points close 12
Target 12: 2 points.
Now I have created something with this youtube video from big mike. title: Advanced NinjaTrader Strategy How-to
But I can not compile it let alone know if the code is right.
Can somebody help me?
Thnx in advance.
Gr. a total newbie.
Comment