Forum

Create Windows-like custom context menus

Hello, guys! I have been searching without any result about this topic and hope some of you, more experienced programmers in MQL (4/5) can just answer this question? Can I create a custom context menu in c++ to handle the right mouse click when selecting an object? I know I can create a rectangle

OnClick Event does not work in CAPPDialog

I am trying to create a Dialog with two CBmpButtons. The UX works fine BUT when the programs needs to handle the button clicks just detects the first button and no the other one. Am I doing something wrong in here? I have made another Panel using CAppDialog and the code handles all the button clicks

Create a subpanel when button is clicked

[Image] How can I do something like that? With CWnd, CPanel? Or there's another way to do it? Before someone clever says that if I don't post any code blablablabla.. I am now asking for code, I am asking for a way to do it: maybe some article, some example or even some functions to look for that

Trying to connect MT4 to Notion.

So, I want to create a EA to communicate with my Notion DB each time I close a trade. My main problem is that I cannot connect to my Notion DB; server throws me a 5203 error. Don't know if I am doing the headers wrong or what else I am doing wrong. Here is my code: #include <JAson.mqh>; extern

Select a bar at the right of an Gap

Hello, guys. How are you? I was finding an indicator that select the gaps -or in my trading methodology: Fair Value Gaps- but now I need to select the right bar of that gap. This is the code I am using for accomplish the gap: #property copyright "Akif TOKUZ and EarnForex.com" #property link