NexusFi: Find Your Edge


Home Menu

 





Add Text Labels in sub-graphs?


Discussion in EasyLanguage Programming

Updated
    1. trending_up 5,784 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
swingbatter
Arlington
 
Posts: 18 since Feb 2020
Thanks Given: 6
Thanks Received: 3

Is it possible to add Text Labels to sub-graphs using EasyLanguage for TradeStation? I've tried Text_New() and TextLabel.Create() in indicators that I add as sub-graphs, but the text appears up on the main chart.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
White House Drops First Alien Files Today -- Market Says …
Prediction Markets & Event Contracts
Prop Firm Tracked Payouts Hit $115M in Q1 but Growth Fla …
Funded Trading Evaluation Firms
CME Cuts Precious Metals Margins Up to 21% Starting Toda …
Commodities
SEC and CFTC Unlock Customer Cross-Margining for Treasur …
Treasury Notes and Bonds
Ceasefire in Name Only: Three Numbers That Define the Ir …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
132 thanks
Sober Journey With S&P
33 thanks
500 MES points a week
13 thanks
Understanding Risk
6 thanks
MES Trader Journal & Market Structure Discussion
6 thanks
  #2 (permalink)
 JoeDee 
London, UK
 
Experience: Intermediate
Platform: Multicharts
Trading: eMini Futures
Posts: 29 since Mar 2012
Thanks Given: 6
Thanks Received: 38

For Multicharts, see the following.

https://www.multicharts.com/trading-software/index.php?title=Text_New_self


Reply With Quote
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,642


swingbatter,

OOEL drawings have a ShowInPlotSubgraph property that allows you to control where the drawing will appear.

Regards,

ABCTG


swingbatter View Post
Is it possible to add Text Labels to sub-graphs using EasyLanguage for TradeStation? I've tried Text_New() and TextLabel.Create() in indicators that I add as sub-graphs, but the text appears up on the main chart.


Follow me on X Reply With Quote
Thanked by:
  #4 (permalink)
swingbatter
Arlington
 
Posts: 18 since Feb 2020
Thanks Given: 6
Thanks Received: 3

Thanks for you help, ABCTG.

For anyone interested, here is example code to make a text label and keep it in the subgraph:

using elsystem.drawingobjects;
var: elsystem.Drawingobjects.textlabel label(null);

plot1(Close);

If (LastBarOnChart = True) then begin
label = TextLabel.Create(DTPoint.Create(BarDateTime[0], low), "label");
label.ShowInPlotSubgraph=true;
DrawingObjects.Add(label);
end


Reply With Quote




Last Updated on September 23, 2021


© 2026 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 - Downloads - Top
no new posts