Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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.
Can you help answer these questions from other members on NexusFi?
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]
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 );
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]
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.
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]