NexusFi: Find Your Edge


Home Menu

 





Add Text Labels in sub-graphs?


Discussion in EasyLanguage Programming

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




 
Search this Thread

Add Text Labels in sub-graphs?

  #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?
REcommedations for programming help
Sierra Chart
Exit Strategy
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
43 thanks
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 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,435 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628


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 Twitter 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


© 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