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)
Plotting text at a fixed corner of the screen MULTICHARTS
I am trying to put together text that displays on my screen and lets me know what's going on at a moments notice. However, so far the best I could do is get it to fix a certain distance from the current bar. The end result is that the text bounces around as the bar develops.
Is there sample code or suggestions as to how I can display text in the top right corner of the screen no matter what is going on with the chart???
Thanks
Can you help answer these questions from other members on NexusFi?
you can use the reserved words aiHighestDispValue and aiLowestDispValue to get the current highest and lowest values of your screen. Together with aiLeftDispDateTime and aiRightDispDateTime you can update the location of the text to what ever your screen currently shows.
It might make sense to use a timer to forcefully update the location change in the absence of incoming ticks.
You can also use the chartinghost object. It's very difficult but is explained pretty well if you search for a youtube video on Drawing Text Objects In A Static Position.