Writing letters and numbers on chart

Examples step by step how to make your own automated strategy or user indicator
Message
Author
ijerkov
Posts: 1
Joined: Mon Oct 17, 2011 4:41 pm

Writing letters and numbers on chart

#1 Postby ijerkov » Mon Oct 17, 2011 5:10 pm

Hello, I am new on this forum and I don't have much experience with forex tester api so I need some help.
I am trying to write numbers and letters on candles instead of symbols like in this picture.

http://dl.dropbox.com/u/6197601/img/example.PNG

I am using these methods:

SetIndexStyle(2, ds_Symbol, psSolid, 1, clRed);
SetIndexSymbol(2, 252, 0, 0);

this number 252 represents some symbol in Wingdings font as there is no letters and numbers in that font ( http://www.zakie.fsnet.co.uk/ChatRoomsS ... tchart.htm ).
Is it possible to set font to Wingdings2 or 3 as those fonts have numbers and letters or I should use some other way to put numbers and letters on chart?
Thank you!

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#2 Postby FT Support » Tue Oct 18, 2011 10:52 am

If you wish to paint different symbols then it is probably better to use objects instead of ds_Symbol index
Check our other product here:
http://www.forexcopier.com


Return to “Programming lessons”

Who is online

Users browsing this forum: No registered users and 3 guests