|
Period_converter_Opt code
Extension to previous post:
I looked at the code briefly and my curosity would be: what WindowHandle returns in a case of multiple windows opened with the same symbol and timeframe.
if(hwnd == 0) {
//trying to detect the chart window for updating.... offline window
hwnd = WindowHandle(Symbol(), NewPeriod);
}
Cheers,
Diby
|