NexusFi: Find Your Edge


Home Menu

 





Add Text Labels in sub-graphs?


Discussion in EasyLanguage Programming

Updated
    1. trending_up 4,717 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?

(login for full post details)
  #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?
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
ZombieSqueeze
Platforms and Indicators
Futures Close-Out Policy
Commodities
Request for MACD with option to use different MAs for fa …
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
68 thanks
Battlestations: Show us your trading desks!
35 thanks
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Daytrading ES & NQ
26 thanks

(login for full post details)
  #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
(login for full post details)
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,429 since Apr 2013
Thanks Given: 479
Thanks Received: 1,619


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
The following user says Thank You to ABCTG for this post:
(login for full post details)
  #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