Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,014 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Print asset name #474916
11/13/18 07:16
11/13/18 07:16
Joined: May 2018
Posts: 65
T
tuuPaul Offline OP
Junior Member
tuuPaul  Offline OP
Junior Member
T

Joined: May 2018
Posts: 65
Script which enters long position when ma20>ma40 with two assets. How can i detect which asset provide ma20>ma40. How can i printf asset name guys?

Re: Print asset name [Re: tuuPaul] #474921
11/13/18 12:28
11/13/18 12:28
Joined: Feb 2017
Posts: 1,729
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,729
Chicago
The name of the currently selected Asset is a string called Asset.

http://zorro-project.com/manual/en/script.htm

Here is the magic line of code you seem to be looking for:
Code:
printf("\n%s",Asset);



Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1