I have been getting problems when I wanted to test my efs strategy in realtime. Everytime I go to foreward test my strategy it never shows up on the charts or alert window. But when I back test it or apply the strategy to historical charts the buy and sell signals always show up. Why is this happening????
Announcement
Collapse
No announcement yet.
Help strategy problem!!!!!
Collapse
X
-
swishdaddy
That may have to do with the logic implemented in the script in particular if it is using the Strategy Object which is actually intended for back testing only. For example Strategy.NEXTBAR will not work in real time because there is no "next bar" to reference as is instead the case in back testing.
You may need to post your code for someone to be able to determine why this is happening and to offer a solution.
Alex
Comment