Gamestudio Links
Zorro Links
Newest Posts
V2.20 no FXCM Listed
by peterhw. 02/18/20 17:18
Increasing Number Animation
by Ayumi. 02/18/20 15:31
Is Text Box data check possible?
by Emre. 02/18/20 07:20
Behaviour of user-defined bars
by Petra. 02/15/20 13:34
Optimization parameters results
by Petra. 02/15/20 13:22
Bollinger Band - Multi Timeframe
by migo. 02/15/20 06:50
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
14 registered members (Dalla, 3run, AndrewAMD, peterhw, painkiller, Ayumi, alibaba, LabRatNo9, gamers, 2 invisible), 797 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
DebraSteed, Ricard, Apollo1, ziphnor, thomasprv
18377 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
TradeBars is not defined #477336
06/16/19 17:13
06/16/19 17:13
Joined: Jul 2017
Posts: 413
Z
Zheka Offline OP
Senior Member
Zheka  Offline OP
Senior Member
Z

Joined: Jul 2017
Posts: 413
In Zorro 2.12.2 TradeBars is not defined, though it is described in the manual.

Re: TradeBars is not defined [Re: Zheka] #477341
06/17/19 09:57
06/17/19 09:57
Joined: Sep 2003
Posts: 866
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 866
script?

Re: TradeBars is not defined [Re: Zheka] #477345
06/17/19 13:00
06/17/19 13:00
Joined: Jul 2017
Posts: 413
Z
Zheka Offline OP
Senior Member
Zheka  Offline OP
Senior Member
Z

Joined: Jul 2017
Posts: 413
Sorry, my 'include' folder redirection (set up via mklink) was incorrect, so I was compiling against the much older version of the variables.h, etc.

IT is recognized now, all fine.

Question:
would it make more sense to set TradeBarClose to the number of the current bar (rather than 0) while the trade is still open? Consistent with how TradePriceClose is set to the current price during the lifetime of the trade...

Last edited by Zheka; 06/17/19 13:06.

Moderated by  jcl, Nems, Spirit, Tobias 

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