Changing chart profiles in mql5

 

Hello developers

I want to know if there's a way to change chart profiles by ID programmatically for MT5

i have the source for mt4


this is part of my mt4 code

#include <WinUser32.mqh>
#import "user32.dll"
int GetAncestor(int, int);
#import


 main =GetAncestor(WindowHandle(Symbol(), Period()), 2/*GA_ROOT*/);
    PostMessageA(main, WM_COMMAND,34100, 0);//for profile ID 0
Code profiling - Developing programs - MetaEditor Help
Code profiling - Developing programs - MetaEditor Help
  • www.metatrader5.com
Profiling means collecting program parameters during its execution. During a profiling, the execution time and the number of calls of individual...
Reason: