Does anyone know how to find the index of a window based on the symbol ? WindowFind is supposed to work with indicator names, and a WindowFind("EURUSD")
will return -1...
- ZigZag Call from another indicator
- WindowFind and WindowExpertName
- Elite indicators :)
int WindowHandle( | string symbol, int timeframe) |
Thanks, but it wasn't what I was looking for. What I get from this function is the
handle allocated by Windows. What I wanted was the index that I can pass to ObjectCreate to correctly place my object in the window that I want. Any idea?
Your code can only place an object in the main or subwindow of the chart it is "attached"
to. Index is 0, 1, 2 etc for
chart and indicator subwinddows. WindowFind uses indicator short name to locate subwindows only.
int WindowFind( | string name) |
Parameters:
name | - | Indicator short name. |
void IndicatorShortName( | string name) |
Thanks for the explanation. This is what I was trying to do , place objects in other windows . I understand now.
No I still don't get it. I am completely new at this and I think my question relates
to that of The Economist. I inadvertently closed a window GBP/USD and now cannot
see how to restore it. It appears to be more complex than just finding it in the
MetaTrader (practice account) itself. Also, I cannot figure out how to get up windows
of other pairs besides the default ones. cannot find it in 'help' either.
Anyone willing to give me some pointers please?
Anyone willing to give me some pointers please?
Open MarketWatch window, right click, and show all. Menu --- View --- MarketWatch
You can only open pairs that are provided by the feed (Dealer) to which you are connected.
To open a chart:
Menu --- File -- New Chart
or
Right Click a pair in the MArket Watch and choose "Chart Window"
As for deleted charts, Menu -- File --- Open Deleted
Yeah, guess you actually meant the File - Open Deleted. As for other pairs, righht click Market Watch, then
Show All . Also it's interesting to right click Market Watch and point to Symbols... Lots of undisplayed info
are there (like expiry dates for currency futures , as I saw on a broker)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register