NexusFi: Find Your Edge


Home Menu

 





MultiCharts question about PLOT attributes.


Discussion in MultiCharts

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




 
Search this Thread

MultiCharts question about PLOT attributes.

  #1 (permalink)
mahmadi2
Reston VA
 
Posts: 3 since Aug 2014
Thanks Given: 3
Thanks Received: 1

I'm just wondering if someone could please let me know how to display a TEXT or LABEL (which is) associated to a PLOT line to be displayed on the left side of the PLOT. Thx ,

Note - I'm not using .NET and I don't want to use TEXT_NEW.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #3 (permalink)
 
mattz's Avatar
 mattz   is a Vendor
 
Posts: 2,493 since Sep 2010
Thanks Given: 2,441
Thanks Received: 3,791



mahmadi2 View Post
I'm just wondering if someone could please let me know how to display a TEXT or LABEL (which is) associated to a PLOT line to be displayed on the left side of the PLOT. Thx ,

Note - I'm not using .NET and I don't want to use TEXT_NEW.

The only way to do so is to create a new text plot using the TEXT_NEW keyword. I am not aware of any other way.

Matt

Trading futures and options involves substantial risk of loss and is not suitable for all investors. Past performance is not necessarily indicative of future results. You may lose more than your initial investment. All posts are opinions and do not claim to be facts. Please conduct your own due diligence. Use only Risk capital when trading Futures.
1 800 771 6748 local 561 367 8686 email [email protected]
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
mahmadi2
Reston VA
 
Posts: 3 since Aug 2014
Thanks Given: 3
Thanks Received: 1

Thx so much for your feedback. I used TEXT_New_Self to display the associated label at the end of a PLOT, (and also used TEXT_DELETE or TEXT_SETLOCATION in order to update its location due to market movement). However, it looks like I'm out of luck since neither one is functioning properly - the text get displayed randomly (at its correct location, but it doesn't show up / get displayed as always):

Plot65(PPYDayHigh930,"Yesterday High",Default,Default,Default);
Text_delete(PPYDayHigh930Txt);
Text_SetLocation(PPYDayHigh930Txt , Date, Time, PPYDayHigh930);
PPYDayHigh930Txt = Text_New_self(Date, Time, PPYDayHigh930, " Y High = "+TEXT(PPYDayHigh930));
Text_SetStyle(PPYDayHigh930Txt , PPHorizLabelOffset, PPVertiLabelOffset);
Text_SetColor(PPYDayHigh930Txt , getplotcolor(65));
Text_SetSize (PPYDayHigh930Txt , PPFontSize );
Text_SetAttribute(PPYDayHigh930Txt , 1, PPBoldText );

Reply With Quote
  #5 (permalink)
 
mattz's Avatar
 mattz   is a Vendor
 
Posts: 2,493 since Sep 2010
Thanks Given: 2,441
Thanks Received: 3,791


mahmadi2 View Post
Thx so much for your feedback. I used TEXT_New_Self to display the associated label at the end of a PLOT, (and also used TEXT_DELETE or TEXT_SETLOCATION in order to update its location due to market movement). However, it looks like I'm out of luck since neither one is functioning properly - the text get displayed randomly (at its correct location, but it doesn't show up / get displayed as always):

Plot65(PPYDayHigh930,"Yesterday High",Default,Default,Default);
Text_delete(PPYDayHigh930Txt);
Text_SetLocation(PPYDayHigh930Txt , Date, Time, PPYDayHigh930);
PPYDayHigh930Txt = Text_New_self(Date, Time, PPYDayHigh930, " Y High = "+TEXT(PPYDayHigh930));
Text_SetStyle(PPYDayHigh930Txt , PPHorizLabelOffset, PPVertiLabelOffset);
Text_SetColor(PPYDayHigh930Txt , getplotcolor(65));
Text_SetSize (PPYDayHigh930Txt , PPFontSize );
Text_SetAttribute(PPYDayHigh930Txt , 1, PPBoldText );

The script is calculated on every tick.

1. To plot the text on every tick, the following attribute should be added. [RecoverDrawings=true]

2. Using Text_SetLocation right after Text_delete is not necessary, as the text is already deleted.

3. The script should be rewritten to do want you want it to do: you should create drawing once and then move it to the needed location at every calculation. There is no need to use the delete function at all.

Thanks,
Matt

There is a substantial risk of loss in futures trading.

Trading futures and options involves substantial risk of loss and is not suitable for all investors. Past performance is not necessarily indicative of future results. You may lose more than your initial investment. All posts are opinions and do not claim to be facts. Please conduct your own due diligence. Use only Risk capital when trading Futures.
1 800 771 6748 local 561 367 8686 email [email protected]
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #6 (permalink)
mahmadi2
Reston VA
 
Posts: 3 since Aug 2014
Thanks Given: 3
Thanks Received: 1

Thx so much for your informative & educational advice....I'm trying hard to play with that idea you mentioned up there, actually killing myself here () to get it done and still no progress as of yet......I won't give up - may be in a few days I figure it out.

Once again, Thx for your help.

Reply With Quote
Thanked by:
  #7 (permalink)
 
mattz's Avatar
 mattz   is a Vendor
 
Posts: 2,493 since Sep 2010
Thanks Given: 2,441
Thanks Received: 3,791


mahmadi2 View Post
Thx so much for your informative & educational advice....I'm trying hard to play with that idea you mentioned up there, actually killing myself here () to get it done and still no progress as of yet......I won't give up - may be in a few days I figure it out.

Once again, Thx for your help.

You can reach the Multichart team because they are very competent or change to a broker that actually knows your platform.

Matt

Trading futures and options involves substantial risk of loss and is not suitable for all investors. Past performance is not necessarily indicative of future results. You may lose more than your initial investment. All posts are opinions and do not claim to be facts. Please conduct your own due diligence. Use only Risk capital when trading Futures.
1 800 771 6748 local 561 367 8686 email [email protected]
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on April 1, 2015


© 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