Can you tell me if it’s possible to get access to the fields “Gain Today” and “Latent Gain” from the Order Book area.
I’m trying to build into my system a piece of code which will allow me to set a profit level for the strategy so when “Gain Today” or “Latent Gain” reach a certain level all trades for the strategy are closed and the system stopped. Am I thinking along the correct lines here or is there another way to code this.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue