hardware configuration
Forums › ProRealTime English forum › ProOrder support › hardware configuration
- This topic has 20 replies, 4 voices, and was last updated 7 years ago by
Nicolas.
-
-
04/12/2018 at 4:59 PM #6819204/12/2018 at 5:44 PM #68197
I set it going Live and got the same error message as you within 3 minutes … so each time the code executes.
So I changed line 60 as shown and the error message stopped. I guess it’s because there is no TradeIndex until you get your first trade? So it’s back to you now for a proper fix? 🙂
1nb = barindex - 1 //tradeindexPS how about maybe ?
1nb = barindex - max (1, Tradeindex)1 user thanked author for this post.
04/12/2018 at 6:13 PM #6820104/12/2018 at 6:47 PM #6820604/12/2018 at 7:47 PM #6821004/13/2018 at 7:28 PM #68311I dont know what the variable “nb” is made for, but if it is used as an indicator period, seems obvious that it can’t be negative (and that’s what happen with the first barindex), that’s why the system stopped in ProOrder. GraHal has spotted the problem (well done), seems that “sharing knowledge” is working finally here 😉
-
AuthorPosts
Find exclusive trading pro-tools on