Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (AndrewAMD, dBc, clonman, TipmyPip), 18,735 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Finding currently active asset #480202
05/26/20 14:00
05/26/20 14:00
Joined: Oct 2016
Posts: 23
NSW
M
mayark Offline OP
Newbie
mayark  Offline OP
Newbie
M

Joined: Oct 2016
Posts: 23
NSW
Hello Forum,

I know this would have been answered by now.
What I am after is to find the current asset without hard coding it like using the asset() function. What is selected in the dropdown list in Zorro GUI is what I am after and I want to capture this in my script.
How would I go about capturing this?
Sorry, I am coming from MQL4 background. The equivalent is: OrderSymbol();


Thanks.

Last edited by mayark; 05/26/20 14:02.
Re: Finding currently active asset [Re: mayark] #480203
05/26/20 14:27
05/26/20 14:27
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
simple:

strx(Asset,"/","")

Re: Finding currently active asset [Re: mayark] #480222
05/26/20 21:54
05/26/20 21:54
Joined: Oct 2016
Posts: 23
NSW
M
mayark Offline OP
Newbie
mayark  Offline OP
Newbie
M

Joined: Oct 2016
Posts: 23
NSW
Thank you Grat. I will try this.


Moderated by  Petra 

Gamestudio download | 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