Gamestudio Links
Zorro Links
Newest Posts
script() function that sets Script
by AndrewAMD. 07/20/19 14:18
Beginners Workshop
by danatrader. 07/20/19 07:54
ANet and GSTsqlite files
by TheDynamit. 07/20/19 06:38
What are you working on?
by rayp. 07/19/19 20:34
missing trade variables
by sarmasboy. 07/19/19 15:54
histdata to t1
by sarmasboy. 07/19/19 14:26
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
6 registered members (danatrader, Dalla, AndrewAMD, TheDynamit, Zheka, Seymour), 641 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ChrPr, fclaros, maxwellreturn, chtostoic, Charttrader
18259 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: 384
Z
Zheka Online OP
Senior Member
Zheka  Online OP
Senior Member
Z

Joined: Jul 2017
Posts: 384
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: 853
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 853
script?

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

Joined: Jul 2017
Posts: 384
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