Register
Log In
Forums
Starting with Zorro
How to obtain last price in tick() function?
Forums
Calendar
Active Threads
Search
Forum Help
Gamestudio Links
► Features
► Download
► Online Tutorial
► Free Resources
Zorro Links
► Download
► Online Manual
► Online Tutorial
► Blog
► Support
► What's New?
Newest Posts
Alternative to Stooq for Zorro S
by cwford. 10/09/26 21:13
Stooq now requires an API key
by cwford. 10/08/26 23:27
♪♫♪ [For hire] VOLKOVSTUDIO - Music, SFX, Voice over, implementa
by Volkovstudio. 10/08/26 13:53
ZorroGPT
by TipmyPip. 10/06/26 05:32
Didn't Receive Subscription Key after Purchasing Zorro
by AndrewAMD. 10/05/26 16:36
Purchase A8 full licence version
by jcl. 10/05/26 12:12
Alice1 (Black Book) – missing weekend-open bars in H1, results c
by jcl. 10/05/26 12:02
Has anyone developed a turtle trading script?
by gbe. 10/03/26 14:42
AUM Magazine
Latest Screens
Who's Online Now
2 registered members (
EW_bytes
,
ukgamer
), 5,888 guests, and 5 spiders.
Key:
Admin
,
Global Mod
,
Mod
Newest Members
JimSimons
,
julienp
,
julienper
,
KelleyAbbey
,
Yopachi
19246 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to obtain last price in tick() function?
#479323
03/18/20
01:16
03/18/20
01:16
Joined:
Oct 2018
Posts: 72
J
JamesHH
OP
Junior Member
JamesHH
OP
Junior Member
J
Joined:
Oct 2018
Posts: 72
My understanding of the manual is that in tick(), priceClose() gives the ask quote. So how does one get the trade price when a trade occurs?
Re: How to obtain last price in tick() function?
[
Re: JamesHH
]
#479326
03/18/20
08:51
03/18/20
08:51
Joined:
Apr 2008
Posts: 601
Austria
Petra
Support
Petra
Support
Joined:
Apr 2008
Posts: 601
Austria
By switching from ask prices to trade prices:
brokerCommand(SET_PRICETYPE,2);
https:/
/
manual.zorro-project.com/
brokercommand.htm
Moderated by
Petra
Hop To
Gamestudio ------
Starting with Gamestudio
Atari lite-C
Editors & Templates
A8 Engine
Shaders
Third Party Tools
Acknex Users Magazine
The Past
The Future
Zorro ------
Starting with Zorro
Educational
Automated Trading
Zorro Scripts
RangerZ & Z Systems
Zorro and the Brokers
Zorro Future
Feedback ------
Bug Hunt
Blame the Manual
Ask the Developers
Updates & Announcements
Rants
Game Creation ------
Game Design & Business
Jobs Wanted
Jobs Offered
User Resources
Projects
Showcase
Beyond Games & Money ------
Hilbert's Hotel
Morbius' Virtual Answering Machine
Print Thread
Switch to Threaded Mode
5
Excellent
4
Good
3
Average
2
Bad
1
Terrible
View Profile
Send Private Message
Follow User
Show Forum Posts
View Profile
Send Private Message
Follow User
Show Forum Posts
Default Style
gamestudio
UBBT77
UBBT77 - Dark2
Forum Rules
·
Mark All Read
·
Powered by UBB.threads™ PHP Forum Software 7.7.1