Hi,
Is it possible to create an indicator that can read / scrape text from a dashboard indicator on a chart?
Reason I'm asking is because I have a multi timeframe dashboard and I would like to export the numbers to Excel...
If you know the name of the object - yes
If you know the name of the object - yes
I cannot select and right click on the object to see the name of object / text field...
It's a indicator purchased from the market.
No hope to be able to still read text values?
I cannot select and right click on the object to see the name of object / text field...
It's a indicator purchased from the market.
No hope to be able to still read text values?
You can open the Objects list (Ctrl + B)
If you can't see the object then click List All as it may be hidden.
Then you can determine whether it is a constant name or if it is possible for you to work out what the name may be (It may have the bar time in the name).
You can open the Objects list (Ctrl + B)
If you can't see the object then click List All as it may be hidden.
Then you can determine whether it is a constant name or if it is possible for you to work out what the name may be (It may have the bar time in the name).
Yes it was hidden under Object List... The object is a Button and the value I need to extract is under Description.
So might be possible?
Yes it was hidden under Object List... The object is a Button and the value I need to extract is under Description.
So might be possible?
Yes, now that you know the object's name, you can get it using ObjectGetString:
string description = ObjectGetString(0, obj_name, OBJPROP_TEXT);
If your indicator is creating another Chart Window use that value instead of 0 (for chart_id)
Here's the usage.
string ObjectGetString( long chart_id, // chart identifier string object_name, // object name int prop_id, // property identifier int prop_modifier=0 // property modifier, if required );
- docs.mql4.com
Yes, now that you know the object's name, you can get it using ObjectGetString:
If your indicator is creating another Chart Window use that value instead of 0 (for chart_id)
Here's the usage.
Thank you Abir!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
Is it possible to create an indicator that can read / scrape text from a dashboard indicator on a chart?
Reason I'm asking is because I have a multi timeframe dashboard and I would like to export the numbers to Excel...