SET value at zero weird results.
Forums › ProRealTime English forum › ProRealTime platform support › SET value at zero weird results.
- This topic has 22 replies, 6 voices, and was last updated 5 years ago by robertogozzi.
-
-
06/09/2018 at 8:00 AM #72687
It has just been drawn to my attention that no final answer or solution was found for this topic so now that I have the ability to move topics myself I have moved it to the PRT Platform Support forum as that is a more relevant place and hopefully an answer can be found or the documentation amended or SET STOP LOSS 0 made to actually cancel SET orders.
06/10/2018 at 9:00 AM #72744Hi Vonasi, I remember now I had a talk about your issue with PRT, but cant sort of in my mind what was the conclusion of the discussion! I’ll try to make a definitive answer this week!
1 user thanked author for this post.
06/18/2018 at 7:47 AM #73539I spotted that this situation occurred only during the next candle after an entry. The “Set stop ploss 0” is working properly according to the pictures below, but it emerges a new problem:
The original stoploss is correctly triggered at the desired level (see the ‘square’ symbol). But this stoploss level is below the pending stop one?! So the pending stop should have triggered before it, as you can see in the below picture:
The stoploss is set to 0 (NULL), seems to work because the pending stop is triggered (cross symbol) but its level is above the original stoploss one.
I’ll make further investigate and come back here.
(test made on DAX 4h, with the code from the post https://www.prorealcode.com/topic/set-value-at-zero-weird-results/#post-59768 )
2 users thanked author for this post.
10/16/2018 at 9:36 AM #82853FYI, this behavior has been reviewed and fixed with the new engine to come.
2 users thanked author for this post.
12/31/2018 at 8:45 AM #8777201/02/2019 at 3:21 PM #8788801/02/2019 at 3:55 PM #8789801/02/2019 at 7:04 PM #87917“This year” is intended from January to December?
Point 2a at https://www.merriam-webster.com/dictionary/year.
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on