Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by 3run. 09/19/19 09:42
Any chance of PBR materials with A8?
by Quad. 09/18/19 18:00
Sierra Chart Plugin
by AndrewAMD. 09/18/19 14:03
3d model editor
by karmacomposer. 09/18/19 13:18
Can MED export to FBX?
by karmacomposer. 09/18/19 13:07
I cannot get the A8 game engine to show anything
by karmacomposer. 09/18/19 12:38
Script, Start Trading Immediately
by jcl. 09/18/19 08:38
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
12 registered members (Ayumi, 3run, AndrewAMD, Quad, saulius, 20BN, kvm, MatPed, 3 invisible), 613 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Dark_Light, oxygenjoe, web20tpo, tarekhazem, Juanjo
18290 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: 400
Z
Zheka Offline OP
Senior Member
Zheka  Offline OP
Senior Member
Z

Joined: Jul 2017
Posts: 400
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: 854
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 854
script?

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

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