Feature Request / increase - decrease LifeTime

Posted By: danatrader

Feature Request / increase - decrease LifeTime - 06/08/20 08:58

Hi, I did read the manual, it states

" The life time of a open trades can be extened by enter commands that are prevented to open a trade, for instance due to MaxLong/MaxShort or due to a margin or risk limit. Open trades of the same component get then automatically the life time that the new trade would have."
Seems to be incredible complex to conditional increase or decrease the lifetime of a trade by e.g. one hour.

Would it be difficult to implement something that allows

if(close[0] > close[1]){
LifeTime = LifeTime+1;

if(close[0] < close[1]){
LifeTime = LifeTime-1;
Posted By: Grat

Re: Feature Request / increase - decrease LifeTime - 06/08/20 09:35

This is already implement:

https://zorro-project.com/manual/en/trade.htm

<b>TradeLife</b>
© 2024 lite-C Forums