Print asset name

Posted By: tuuPaul

Print asset name - 11/13/18 07:16

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?
Posted By: AndrewAMD

Re: Print asset name - 11/13/18 12:28

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);

© 2024 lite-C Forums