using external DLL
-
Hiho,
there is a DLL which gives the programmer the ability to create GUI elements within an EA.
http://www.mt4gui.com/quickstart/
Do you think this could be incorporated within FXdreema? The use of the commands can surely be done with the help in using own libraries. I don't know if the include of the MQH file could work?
thx in advance
-
This is very good
For the moment I don't use any external files, but who knows... -

Okay. when i have time i will try to draw some gui elements within FXdreema...
-
Hi,
i tried the MT4gui and the simple example works. It draws a button and when clicked there will be an altert box shown.
The only thing i must do after saving the MQ4 file from within FXdreema ist to add the include (#include <mt4gui.mqh>) and thats it.Do you have any idea how i can add this include with the help of FXdreema. I think it should be some option within the 'Current project options' menu!?
-
Okay i did the initiation with the help of a new library. When i save the MQ4 file from FXdreema and compile it with the metaeditor there is no error and the EA runs fine

When i try do compile from within FXdreema it says:Compilation errors
'mt4gui.mqh' - cannot open the program fileIt seems it's not looking in the standard folder <terminal_directory>\experts\include ....
Just one little step and with the help of three little libraries we can use graphic elements within FXdreema
-
This will not work because this include file does not exists on the server (web version uses compilator that is on the server). It should work on the local version because it uses local compilator, files and folders. I think I can make the web version to work with the local compilator in future (when using the browser plugin of course), but now the only way to export file with something that is missing inside is to export it as .mq4/.mq5 file.
-
Too bad. Okay. Then i will see how i can automate the process of compiling...
-
Hi.
After some time I'am back and wanted to see if there is now the possibility of adding some graphical items to a EA/script. But it seems that nothing has changed ?
greetz
hilavoku -
Haha, yes. I started to make this block back then and I have something, but no one else asked, so...
Meanwhile I wanted to create some other website so I started to create my own PHP framework... long story... and these days I started to rewrite fxDreema again
-
Hi!
How is your rewrite going? Do 'we' have a chance of seeing graphical elements within the next ~6 month?

thanks in advance
hila -
Ummmm...do you mean these blocks? http://prntscr.com/57loy3
-
No. I think of some interactive elements like buttons, textfields, sliders ...
-
Most guys don't know how to control their orders, these interactive things are like steps above the average
In other words, this is not something that is my priorit... but who knows. -
Okay. I understand. So I need to stick with the current workaround.
Thanks for your efford
-
Sorry to bother you again.
Is there any new functionality of using a self written DLL (without any graphical elements
).
It would give the EA much more possibilities. Do I have still to use the local version of fxdreema? -
This is not impossible. There is no global place to define import functions, but If you create a custom block, then in the smaller text field (the one at the bottom) you can put some global variables and import functions.
Import functions are not checked, the .dll file is not needed when the code is compiled (or at least this is what I remember). So the web version should still work. For include files the local one will be better.
For the buttons, I don't remember for what reason I didn't added this object, but if I add it, and also for any other object there is this "on Chart" event that is supposed to be used to detect when you click on something (for example). You tried that?
-
Seems I overlooked something. Can't see how to draw a button and also how to use the 'on Chart' click event.
PS: LOL I found the on click tab :-). But still can't find the 'button' thingy
-
For a button I could use the rectangle with a sunken border. Then I only need some text to show within the button....
-
It seems that buttons are more like checkboxes, they are either pressed or not pressed

Here is something for you: https://fxdreema.com/shared/1tclI1t3The best will be something like "Check if button is pressed" block, because I think these can be used a lot, but I don't know where to fit block with this name
