Automatic minimum stop distance
Forums › ProRealTime English forum › ProBuilder support › Automatic minimum stop distance
- This topic has 7 replies, 5 voices, and was last updated 5 years ago by Nicolas.
Tagged: stop level
-
-
10/14/2016 at 7:42 PM #14921
I trade ProRealTime via a broker and they have minimum stop distances that vary over time due to volatility and market risk.
I’m looking to code something that automatically sets the minimum allowed stop when I enter the market.
As for now I just have a low value that gets rejected a few times until it somehow settles with a stop at minimum allowed distance.
Any ideas on how to avoid this?
10/14/2016 at 8:22 PM #1492510/15/2016 at 9:00 AM #14929Nope, there is not built-in function to know the minimum stop level in real time (also called freeze level). If only we knew the spread in real-time it would help, I think it will be a new functionnality in future update, since it is often requested!
10/08/2018 at 2:53 PM #82285Hi Nicolas
Any news on this development? As Noxxiq said it would be a useful addition.
For my part I would like to use it in order to help my system avoid taking trades when IG minimum stop is extended as they tend to do that quite regularly and it regularly negatively affects the outcome!
1 user thanked author for this post.
10/08/2018 at 3:35 PM #8228710/10/2018 at 5:18 AM #82413+1 this is a long time wished for feature and to my mind crucial (my strategies often don’t enter or are stopped out due to min stop distance spikes and knowing the spread would help with order entry timing)
I am able to see this information and base my decisions on entering/exiting trades when manually trading so why not when autotrading? Speaking with IG (senior bloke) yesterday he told me he had tried to push this (as well as BID/ASK prices therefore Spread too) through development some time ago but (understandably) with recent ESMA changes it has had to take a back seat in terms of priorities and there were no promises about anything happening any time soon but good to know at least IG ‘want’ to implement this (rather than anything like wanting to ‘withhold’ this information)
1 user thanked author for this post.
05/09/2019 at 10:02 AM #98044If ProOrder tries to set a new stop within the minimum stop distance range and fails, the previous stop remains. Is there a feature in ProBuilder language that tries something and takes an error as an acceptable outcome? (Like try:, except: pass in Python) This way the algo would try again next end of bar and you’d have your old stop until than.
05/10/2019 at 10:14 AM #98160 -
AuthorPosts
Find exclusive trading pro-tools on