print variables into FT
-
- Posts: 5
- Joined: Wed Nov 23, 2011 1:08 pm
print variables into FT
Hi I'm starting with FT, I have a little doubt how can I print variables into the FT, I know there is a "Print" function but it only support char *, and I need to print out other types of variables also since I come from metatrader development I need someting like the mql 's "Comment" function, is there any like this.
-
- Posts: 905
- Joined: Sat Jul 11, 2009 10:54 am
-
- Posts: 905
- Joined: Sat Jul 11, 2009 10:54 am
Please use "sprintf" method, for example
Code: Select all
char buff[30];
sprintf(buff,"ATR = %f",ATR[index+1]);
Print(buff);
Check our other product here:
http://www.forexcopier.com
http://www.forexcopier.com
Return to “Programming lessons”
Who is online
Users browsing this forum: No registered users and 14 guests