Posted 10/4/2010 16:53:14
|
|
|
|
Hi
To optimize the profit of a trading system I want to define profit targets (relative) for every bar during the holding period. For example, bar one has a profit target of 3%, bar two of 5% etc.
Is it possible to code this and if yes how?
Thank you for your help
|
|
Posted 10/5/2010 10:18:52
|
|
|
|
You could do this, but it's not handled automatically by RightEdge so it would require code on your part. You could iterate over the open positions, determine how long they've been held and cancel any open profit target orders and resubmit them with the new percentages.
rwinterberg (10/4/2010) Hi
To optimize the profit of a trading system I want to define profit targets (relative) for every bar during the holding period. For example, bar one has a profit target of 3%, bar two of 5% etc.
Is it possible to code this and if yes how?
Thank you for your help
|
|
|
|