- Search Forex Factory
- Botan626 replied Jul 5, 2023
No, because when button's state becomes on, unique for each indicator objects with their unique names should be re-created. But overall, on/off button code can be like this: url
Indicators with ON/OFF buttons
- Botan626 replied Jun 22, 2023
I was expecting to hear a more recent date, than 2017
Symbol Changer Profit DisplayDid you recompile the files and successfully loaded them on chart? Did you have to modify the code? I had something similar a couple of days ago, loading window opened a wrong indicator. ...
- Botan626 replied Jun 18, 2023
I wonder, how long ago these 2 indicators from your screenshot were last time compiled before you tried to load them and got errors?
Symbol Changer Profit Display
- Botan626 replied Jun 17, 2023
All your quoted posts were written in February 2022, not 2023. I started writing MQL5 code near the beginning of February 2022. Since then, I never had such problems, not a single time. Perhaps the time has come to give MT5 and MQL5 a new try, ...
Symbol Changer Profit Display
- Botan626 replied Jun 17, 2023
This is baloney. Can you provide a comparison example, confirming at least your first 2 points? The reality is: 1. Complexity of MQL4 and MQL5 languages is the same, it is equal. More parameters in MQL5 functions or an extra function call doesn't ...
MetaQuotes "This is the last MT4 upgrade"
- Botan626 replied May 26, 2023
How long ago these things were happening? I finished coding all my programs for MT5 last year, use them constantly, still modify them occasionally, update MT5 regularly even to beta versions (just for lolz) and I never experienced anything like that. ...
Symbol Changer Profit Display
- Botan626 replied Apr 8, 2023
It is totally possible and it is not a hard thing to do at all.
Timeframe and symbol changer for MT5
- Botan626 replied Apr 3, 2023
Hello, Mladen. I have a question about this indicator: url It has 2 parameters: Period and Momentum period. For quite a long time alreday I can't understand the difference between them and can't tell, what each of them mean. Could you, please, ...
Experiments - while waiting for an order to get closed
- Botan626 replied Mar 25, 2023
As a workaround, you can simulate Ctrl+Z pressing. When you press Z, the program will press Ctrl+Z itself. #import "user32.dll" void keybd_event(int bVk, int bScan, int dwFlags, int dwExtraInfo); #import //--- #define REL 0x0002 #define CTRL 0x11 ...
MT4 slow? Test if your OnChartEvent is compatible with others
- Botan626 replied Mar 25, 2023
Hi, pips. Since you are not dragging objects constantly, I can offer you to do the same, as what I do in my example in post #2: use global or static bool variable to turn event mode on or off. In my example this bool variable is 'keyPressed', you ...
MT4 slow? Test if your OnChartEvent is compatible with others
- Botan626 replied Mar 25, 2023
New Build 1380 !!! 24 MAR 2023 !!!
MetaQuotes "This is the last MT4 upgrade"
- Botan626 replied Mar 25, 2023
It seeems like 2 things will remain a mystery forever: 1. What can't be programmed in MT5, but can be in MT4, 2. What he confirmed.
MetaQuotes "This is the last MT4 upgrade"
- Botan626 replied Mar 17, 2023
You drag the object around until the LMB is released, I guess you can't say you don't do anything to the object. You say, that 'P4L ButtonManager' is completely unrelated, but the user interacts with it the same way as you said: Why can't you use ...
MT4 slow? Test if your OnChartEvent is compatible with others
- Botan626 replied Mar 17, 2023
Keeping CHART_EVENT_MOUSE_MOVE always true is one thing I don't want at all and will always avoid it. Please clarify, you click on an object with left mouse button, hold this button, then move mouse around the screen, release mouse button and after ...
MT4 slow? Test if your OnChartEvent is compatible with others
- Botan626 replied Mar 16, 2023
A simple and obvious trick to restrict multiple programs on a single chart with, e.g., CHARTEVENT_MOUSE_MOVE property enabled for this chart, from processing this event, is to use different magic numbers between different programs. Code example: ...
MT4 slow? Test if your OnChartEvent is compatible with others