NexusFi: Find Your Edge


Home Menu

 





Easy Language Font


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one ABCTG with 5 posts (1 thanks)
    2. looks_two RGButzArchInc with 5 posts (0 thanks)
    3. looks_3 Big Mike with 1 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 6,337 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 12 posts
    2. attach_file 0 attachments




 
Search this Thread

Easy Language Font

  #1 (permalink)
RGButzArchInc
Columbus OHio
 
Posts: 10 since Sep 2014
Thanks Given: 0
Thanks Received: 0

Is there a way to select the font on a chart. I would like to insert a glyph using an Ascii character code designation.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
REcommedations for programming help
Sierra Chart
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,435 since Apr 2013
Thanks Given: 482
Thanks Received: 1,627


RGButzArchInc,

when you add a text label to a chart you can select it and change the font and style. Is this what you mean?
Otherwise you can of course add what you want via Easylanguage.

Regards,
ABCTG


RGButzArchInc View Post
Is there a way to select the font on a chart. I would like to insert a glyph using an Ascii character code designation.


Follow me on Twitter Reply With Quote
  #4 (permalink)
RGButzArchInc
Columbus OHio
 
Posts: 10 since Sep 2014
Thanks Given: 0
Thanks Received: 0


ABCTG View Post
RGButzArchInc,

when you add a text label to a chart you can select it and change the font and style. Is this what you mean?
Otherwise you can of course add what you want via Easylanguage.

Regards,
ABCTG

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.

Reply With Quote
  #5 (permalink)
 
Hulk's Avatar
 Hulk 
Texas, USA
 
Experience: Advanced
Platform: TT, Custom
Trading: Futures, Spreads
Posts: 369 since May 2014
Thanks Given: 731
Thanks Received: 901


RGButzArchInc View Post
Is there a way to select the font on a chart. I would like to insert a glyph using an Ascii character code designation.

With OOEL you can do something like this. Its not working code but just a sample of what can be done:

 
Code
APoint = DTPoint.Create(Bardatetime[0], Close + (2 * (Minmove/Pricescale)));
AText = TextLabel.Create(APoint, "Your Text Here");
AText.Color = Color.Green;
AText.Font = Font.Create("Your Font Name", YourFontSize, 0);
AText.HStyle = HorizontalStyle.center;
AText.VStyle = VerticalStyle.center;
DrawingObjects.Add(AText);

Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,435 since Apr 2013
Thanks Given: 482
Thanks Received: 1,627

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.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
  #7 (permalink)
RGButzArchInc
Columbus OHio
 
Posts: 10 since Sep 2014
Thanks Given: 0
Thanks Received: 0


Hulk View Post
With OOEL you can do something like this. Its not working code but just a sample of what can be done:

 
Code
APoint = DTPoint.Create(Bardatetime[0], Close + (2 * (Minmove/Pricescale)));
AText = TextLabel.Create(APoint, "Your Text Here");
AText.Color = Color.Green;
AText.Font = Font.Create("Your Font Name", YourFontSize, 0);
AText.HStyle = HorizontalStyle.center;
AText.VStyle = VerticalStyle.center;
DrawingObjects.Add(AText);

Please forgive my lack of experience but what does OOEL stand for, is the code above written in C++, and will the above syntax work inside of an Easy Languare function, show me, etc.?

Reply With Quote
  #8 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,435 since Apr 2013
Thanks Given: 482
Thanks Received: 1,627

RGButzArchInc,

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.

Regards,
ABCTG


RGButzArchInc View Post
Please forgive my lack of experience but what does OOEL stand for, is the code above written in C++, and will the above syntax work inside of an Easy Languare function, show me, etc.?


Follow me on Twitter Reply With Quote
  #9 (permalink)
RGButzArchInc
Columbus OHio
 
Posts: 10 since Sep 2014
Thanks Given: 0
Thanks Received: 0


ABCTG View Post
RGButzArchInc,

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.

Regards,
ABCTG

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.

Reply With Quote
  #10 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,435 since Apr 2013
Thanks Given: 482
Thanks Received: 1,627


RGButzArchInc,

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.

Regards,
ABCTG



RGButzArchInc View Post
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.


Follow me on Twitter Reply With Quote
Thanked by:




Last Updated on October 9, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts