Hello,
I have created very simple strategy (see MoveSLPlain.java file) that, after being run, (1) shifts stop-loss level and (2) stops.
Attachment:
File comment: Plain strategy
MoveSLPlain.java [1.97 KiB]
Downloaded 66 times
Later I have rewritten the strategy for JButton use (see MoveSL.java). Unfortunately the strategy stopped working: (1) it prints order information and (2)
does not shift stop-loss level
Attachment:
File comment: Strategy with JButtons
MoveSL.java [3.7 KiB]
Downloaded 75 times
What might be the problem?
Regards,
FXer