|
Lars Karlsson
2016-05-31 15:20:02
|
|
I'm trying to set up an AMM script for a CFD trend following strategy that uses trailing stops and fixed risk per position.
I need the script to sum up all the "locked in" profits based upon the current trailing stop levels for each active position. These accumulated,
but not yet realized, profits from the trailing stops, plus the available cash in the account, is then used to finance the opening of new positions.
How do I go about to access the trailing stop price level for an open position?
|
|