Yes, i want to change the font of a text label or more specifically an Easy Language Drawing Object placed on a chart with the Text_New function. For example, changing the text style from Arial to BankGothic.
In fact you'll only be able to change the font of a text you placed on a chart with code by using OOEL drawing objects. With Text_New this is not possible in Tradestation, unlike Multicharts where you have Text_SetFontName.
OOEL stands for Object Oriented EasyLanguage. It's an expansion to EasyLanguage and brings object oriented programming. It gives you a lot of possibilities that before were not possible and will integrate fine with functions, indicators etc.. I would strongly suggest to start reading about it on the TS help pages before diving into the programming.
So what you are saying is there isn't an Easy Language function. show me, etc. for editing the font style? As far as programming goes I am self taught. I have Putt's book, Tennis' book, the TS programing manjual, and various PDF's also published by TS. All of my programs verify. The problem as I see it is the lack explaining the logic behind all of the above. Basically they are cook books. What is missing are the broad brush prinicples behind the code. Kadaverkorps. As an Architect I can eplain how a house is built withour devling into the technical details. It seals the deal. I am looking for like kind on this site. The definition of Genius is taking something very comples and making it appear simple. It would be nice to hear the heels click.
that's not what I am saying. OOEL is a part of EasyLanguage, it's developed and maintained by Tradestation and part of all current versions (except Tradestation 2000i which I wouldn't call current, but is still sold to what I know).
You can still use all the parts of regular Easylanguage, but as some things are simply not possible with it (like changing the font name for example) you can also add the new OOEL parts to your code to give you functionality that couldn't be created before.
To put it really simple (and using a flawed analogy) you had a car with three gears before and now you have two additional gears plus reverse. It's still the same car, you can still drive it fine and without problems in the first three gears, but from time to time you might want to overtake, race or drive backwards and then the additional gears come in handy. Of course being used to driving in three gears it might take some time getting used to them before you are comfortable driving in the additional gears, you might want to do some test drives or even take a paid course (TS offers those for OOEL) to learn how to drive using the new gears.
The following user says Thank You to ABCTG for this post: