I’m running same strategy to my different accounts under different Multicharts charts. However, usually showed the below error in real time trade after position opened.
———————————————————————————-
8/21/2021 1:00:00 AM
Message: Error in study “Strategy 1 (@XXX-1 Minute)”
———————————————————————————-
It looks like not strategy logical issue, since only one account stopped, other account was still running fine. Also, backtest didn’t show any error.
When this situation happened, caused my position couldn’t be closed. I checked the log from Multicharts, nothing can help to troubleshoot, anyone can help?
My strategy suddenly stopped
- Vlada MultiCharts
- Posts: 293
- Joined: 22 Apr 2020
- Has thanked: 8 times
- Been thanked: 76 times
Re: My strategy suddenly stopped
Hi kinwai,
The issue was caused by the error in your strategy script. This can happen if the script calculation went outside the boundaries of a collection or an array, or if there was an error in handling string variables, for example.
To check what caused the issue we can recommend to use Print keyword to trace the behavior of the script line by line and find the issue.
The issue was caused by the error in your strategy script. This can happen if the script calculation went outside the boundaries of a collection or an array, or if there was an error in handling string variables, for example.
To check what caused the issue we can recommend to use Print keyword to trace the behavior of the script line by line and find the issue.