I think it is already included in Metatrader 5
Posts made by reyxv16
-
RE: How I disable Algo-Trading Button or send CTRL-E by FxDreemaposted in Questions & Answers
-
RE: How I disable Algo-Trading Button or send CTRL-E by FxDreemaposted in Questions & Answers
Then it would look like this:

And it would be used like this:

-
RE: How I disable Algo-Trading Button or send CTRL-E by FxDreemaposted in Questions & Answers
No, you didn't understand me, you need to create the custom block here: https://fxdreema.com/studio/MQL5
-
RE: How I disable Algo-Trading Button or send CTRL-E by FxDreemaposted in Questions & Answers
That would be the code for the block to turn off autotrading, you can vary the operation by modifying the line "if(Status != false)" to "if(Status == false)" to turn it on or create another block just to turn it on.
-
RE: How I disable Algo-Trading Button or send CTRL-E by FxDreemaposted in Questions & Answers
Create a custom block, add the following to the code:
bool Status = (bool) TerminalInfoInteger(TERMINAL_TRADE_ALLOWED);
if(Status != false)
{
HANDLE hChart = (HANDLE) ChartGetInteger(ChartID(), CHART_WINDOW_HANDLE);
PostMessageW(GetAncestor(hChart, GA_ROOT), WM_COMMAND, MT_WMCMD_EXPERTS, 0);
}
~next~
And below in the "Global variables, includes" window add the following:
#ifdef MQL5
#include <WinAPI\winapi.mqh>
#define MT_WMCMD_EXPERTS 32851
#else
#define HANDLE int
#define PVOID int
#import "user32.dll"
HANDLE GetAncestor( HANDLE hwnd, uint flags);
int PostMessageW( HANDLE hwnd, uint Msg, PVOID param, PVOID param );
#import
#define MT_WMCMD_EXPERTS 33020
#endif#define WM_COMMAND 0x0111
#define GA_ROOT 2 -
RE: How I disable Algo-Trading Button or send CTRL-E by FxDreemaposted in Questions & Answers
I made a custom block for mt4 and one for mt5, which one do you need?
-
Position order mismatch errorposted in Bug Reports
Hello, I am working with events in MQL5 and after detecting that a pending order is converted into a position, the EA returns the error "Positions order mismatch" and the events stop working, what can I do? I have tried to program the EA in another way but still the error persists.
-
RE: Error opening builderposted in Bug Reports
I found the problem, there was a block of custom code that apparently was not saved correctly and therefore showed the error.
I have solved it by deleting that block, I can already access the account. -
Error opening builderposted in Bug Reports
Hello, I tried to create a new project and now only this error appears:
TypeError: Can not use 'in' operator to search for 'active' in _488
I already tried in another browser and the behavior is the same, what can I do?
Thank you.-
-
Referral link?posted in Questions & Answers
Hello, I would like to know if fxdreema offers any type of referral link, I hope to attract many people through some video tutorials that I plan to publish and I am curious to know
-
RE: "Ontrade" Price order modified block?posted in Questions & Answers
@roar Hello, I just need to know if your opening price has been modified, I do not want to make any other changes to the order, I'll have to wait for this improvement or continue modifying the source code of fxdreema (something complex) or create a custom routine
-
RE: "Ontrade" Price order modified block?posted in Questions & Answers
Any suggestions on how to do it without having to modify the mq4 code? the block to modify stops does not work for that if the order does not have stops at the moment it moves
-
"Ontrade" Price order modified block?posted in Questions & Answers
Hello, I would like to know what would be the easiest way to detect if a pending order has been modified (changed price), I have tried to emulate it but only modifying the code of the "OnTradeListener ()" function in the code and it is very difficult for me the compilation. Any suggestions?
-
RE: Builder does not openposted in Bug Reports
Solved, I think the problem was a custom block that was modifying, after removing the custom block and re-creating it with the same name the problem was solved.
All Ok
-
Builder does not openposted in Bug Reports
Hello, I was using fxdreema normally and after restarting the browser the builder tool returns the following error:
"TypeError: Can not use 'in' operator to search for 'active' in _261"
I tried to open the tool in another browser and I continue to receive the same error, what can I do?
Screenshot: https://i.imgur.com/1ctwwTQ.png
Regards,-
-
Error fxdreema.com/studioposted in Bug Reports
Hello, I found a small error, apparently when updating and saving changes in the "fxdreema.com/studio", the changes are not saved correctly, when generating the file mq4 appears old code in the blocks that I just edited.
With regard to the new code I find it very complicated to understand and debug, I even see that it generates 40% more code according to my calculations, even so, fxdreema is the best tool to develop EAs.
Please can you correct the error in the studio? Thank you!
-
RE: how to put pasword for my ea?posted in Questions & Answers
Hello, I made a small application that generates serials from the MT4 account number, let's say it is part of the tools of my business, I can gladly share it with you or with everyone for a little collaboration for the effort. That would help me a lot to pay my subscription here, since last month I almost lost it.
-
RE: fxdreema.com/studioposted in Bug Reports
The "New" button in the "Parameters used in block" section is not working. It does not allow me to create new parameters and then I must pass the parameters as variables "v :: Variable_Name". How can I solve that?
Thank you very much for the excellent service.
