Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, rki), 390 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Feature Request / increase - decrease LifeTime #480467
06/08/20 08:58
06/08/20 08:58
Joined: Mar 2019
Posts: 357
D
danatrader Offline OP
Senior Member
danatrader  Offline OP
Senior Member
D

Joined: Mar 2019
Posts: 357
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;

Last edited by danatrader; 06/08/20 09:11.
Re: Feature Request / increase - decrease LifeTime [Re: danatrader] #480468
06/08/20 09:35
06/08/20 09:35
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
This is already implement:

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

<b>TradeLife</b>


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1