I created a very simple NT8 script which, for the most part, compiles and executes successfully.
The problem I get is after adding the last few lines of code to accept the end time of the RTH session. As I'm attempting to add the indicator to my chart, the chart freezes, turns black and the NT engine freezes, at which point I need to restart NT8. If I comment out these a few lines, the indicator compiles and executes perfectly. It's a small NT8 script that accepts 2 parameters the RTH start time and the RTH end times for the RTH session. I do this to distinguish the RTH session from the ETH session but the 2 different colors that the user chooses. This happens in the properties section where I accept 2 colors and 2 time slots. The problem specifically happens after adding the "EndSessionTime" parameter in the properties section.
I've tried many different ways to get it to work, if anyone can help me out, that would be great.
Thanks, Spartacus

Comment