NexusFi: Find Your Edge


Home Menu

 





Add Text Labels in sub-graphs?


Discussion in EasyLanguage Programming

Updated
    1. trending_up 4,738 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?
Cheap historycal L1 data for stocks
Stocks and ETFs
REcommedations for programming help
Sierra Chart
What broker to use for trading palladium futures
Commodities
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
 
  #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,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629


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