Giro / Publications
Forum
Open chart programmatically, then get focus/handle
Hello all! I'm trying to launch a new chart via a script like this: hTerminal = GetAncestor(WindowHandle( Symbol (), Period ()), 2 ); PostMessageA(hTerminal, WM_COMMAND, 33160 , 0 ); then trying to change the Pair/Period of the new chart using: hwnd = WindowHandle( Symbol (), Period ());