Hello, Folks
Does it possbile to write any code can same as enable 'Tracking Mode' on Status Line function, once I move the mouse pointer onto the specified bar, then shows that date's Close price & EMA in 5 days onto my text data message on top of chart?
I only can do to show the current bar text data... Sorry about my new b...
Shows mouse pointed bar's OHLCV on text data on top of chart
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Shows mouse pointed bar's OHLCV on text data on top of c
Do you need to see the summ of the last 5 days close price and EMA values?Hello, Folks
Does it possbile to write any code can same as enable 'Tracking Mode' on Status Line function, once I move the mouse pointer onto the specified bar, then shows that date's Close price & EMA in 5 days onto my text data message on top of chart?
I only can do to show the current bar text data... Sorry about my new b...
Re: Shows mouse pointed bar's OHLCV on text data on top of c
I want to just view the specified day's close price and EMA values which count & calculate from I move the mouse pointer onto the specified bar, and the text data will auto change to show that values.
I just can achieve to shows the current bar's close price & EMA value onto text data box. But I have no idea that similar as 'Tracking Mode' on Status Line function that move the mouse pointer and view that bar's OHLCV etc...
Does it can be code like as this?
I just can achieve to shows the current bar's close price & EMA value onto text data box. But I have no idea that similar as 'Tracking Mode' on Status Line function that move the mouse pointer and view that bar's OHLCV etc...
Does it can be code like as this?
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: Shows mouse pointed bar's OHLCV on text data on top of c
Any numeric analysis, if you can imagine it, it can be coded.I want to just view the specified day's close price and EMA values which count & calculate from I move the mouse pointer onto the specified bar, and the text data will auto change to show that values.
I just can achieve to shows the current bar's close price & EMA value onto text data box. But I have no idea that similar as 'Tracking Mode' on Status Line function that move the mouse pointer and view that bar's OHLCV etc...
Does it can be code like as this?
You can start by writing out your thoughts in a step-by-steps process -- think what would the computer has to go through to arrive at YOUR desired number.
Hint: what you have written above is a concept, what you need is a process.
Re: Shows mouse pointed bar's OHLCV on text data on top of c
Thanks TJ advise. I think I can use the loop on bar count, then the values of each bar can be calculated. But any function code which can refer when I move the mouse pointer and then make my text data will refer that specified bar & access that values? Could you give me more hint? Much thanks!
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: Shows mouse pointed bar's OHLCV on text data on top of c
Diagrams would help to illustrate your idea.Thanks TJ advise. I think I can use the loop on bar count, then the values of each bar can be calculated. But any function code which can refer when I move the mouse pointer and then make my text data will refer that specified bar & access that values? Could you give me more hint? Much thanks!
Diagrams give you clarity in thoughts and logic.
(you might need more than one diagram if the process is dynamic)
You can point out your critical junctures on the chart,
You can write notes on the chart to explain the process,
Where is the beginning of the process...
where is the end of the process?
How do you initiate the process?
A mouse click?
Where?
How?
What kind of process do you have in mind?
Adding up some numbers?
What are those numbers?
What should the value of those numbers be at each critical point?
Use lines and arrows on the diagram to specify the critical points.
If you can articulate those points, you are on your way to programming it.
Re: Shows mouse pointed bar's OHLCV on text data on top of c
Hi, TJ
Get it. Thanks for your advise. I will try my best to achieve it.
Get it. Thanks for your advise. I will try my best to achieve it.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Shows mouse pointed bar's OHLCV on text data on top of c
Another way to plot a custom calculation results or comments when user clicks on a particular bar is "Expert Commentary" feature added in MultiCharts 8.0 beta 2.
Reserver words for Expert Commentary Category.
Reserver words for Expert Commentary Category.