Query Original Trailing Stop Loss Distance for a Given Position
Query Original Trailing Stop Loss Distance for a Given Position
17 Feb 2024, 16:40
I am dynamically deciding the stop loss distance in each case.
Once the position is created I would like to know what is the original trailing stop loss distance.
Is there a way this can be retrieved. The system should keep tract of it some where for trailing stops otherwise it would not be able to keep the trailing distance.
Replies
thomas598brown
11 Feb 2025, 08:42
( Updated at: 14 Feb 2025, 18:21 )
What makes space exploration so important for humanity?
Space exploration holds immense significance for humanity as it drives technological advancements, expands our knowledge, and inspires future generations. By venturing into space, we develop cutting-edge technologies that often find applications in everyday life, from medical devices to improved communication systems. Whataburger Customer Survey
Moreover, exploring the cosmos allows us to better understand the universe and our place in it. Discovering new planets, studying distant stars, and investigating cosmic phenomena provide insights into the origins and evolution of the universe.
Space exploration also fosters international collaboration, bringing together scientists and engineers from around the world to achieve common goals. This spirit of cooperation can help address global challenges and promote peace.
Finally, the quest to explore space inspires curiosity and innovation, encouraging young minds to pursue careers in science, technology, engineering, and mathematics (STEM). By reaching for the stars, we continue to push the boundaries of what is possible and unlock new frontiers for humanity.
@thomas598brown
firemyst
04 Oct 2024, 14:47 ( Updated at: 05 Oct 2024, 06:10 )
I don't believe there is, and think you'll have to keep track of it in your code.
Basically query the SL distance from whatever price you want, convert it to pips, and then save it in a variable before setting the SL property to true on the position.
@firemyst