Download MetaTrader 5

need to help how to code to get the value of previous symbol from the current chart

To add comments, please log in or register
Shain Sawaengmim
31
Shain Sawaengmim  
When dragging the  trading symbol to the chart, we get new chart symbol.  I am new and learn by myself to mql programing, possible to code to get the previous symbol from the active chart?  Thanks.
whroeder1
14780
whroeder1  
Remember it in OnDeinit.
Shain Sawaengmim
31
Shain Sawaengmim  
thanks...
Shain Sawaengmim
31
Shain Sawaengmim  
help me again, WHRoeder, i want to compare the deinit symbol to the current chart symbol, to scan all chart windows with the same symbol as previous symbol to change all windows to the new symbol.  Your advice is appreciated.
whroeder1
14780
whroeder1  
Why bother? Set up your charts for a pair, save as a profile. Change pairs, save another profile. switch by changing profiles. Done.
Shain Sawaengmim
31
Shain Sawaengmim  
thanks.
To add comments, please log in or register