Scripts
-
Hello fxDreema,
Is it also possible to make scripts with your program ? -
I guess so. Basically scripts are EAs that runs once and exit, so any file that is exported should work as a script if placed in Scripts directory. But in fxDreema there is no way to tell the program to export the file in there, this is something I need to do

-
Is there something else that i should do. I made allready an EA and placed that same thing in the map scripts and than it doesn't work.
-
I can confirm, it doesn't work now. The problem is the handle function that is now used. In the past it was start() for both, EAs and Scripts, now it's OnTick() for EAs and OnStart() for scripts. Well, in the generated files it's still start() and it should work, but for some reason it does not work when the file is compiled with fxDreema (and it uses the same compiler that MT uses). It works if you generate the output .ex4 file with MetaEditor. So I guess I should do something to overcome this issue... I don't know when will I be ready with it.
-
Just to mention, I have done that and it's on the way. But I will first upload that update on the server, and then (maybe tomorrow) I will create a new local build (081). That's because normally when I do "deep" changes few bugs appear and it's easy for me to fix them based on web-users reports.
-
Thank you.
The reason for me is that i want to do some actions and nothong more.
I want to place different pending orders with one clic.
And than some time later i want to adjust the stop loss for all the trades with one clic.
So different actions with one clic.
Kind regards -
Try the new 081 version: https://fxdreema.com/desktop
-
I am very sorry but the next error occurs by making the ex4 file.
......
script error.jpg -
There are some things to be cleared, obviously...
I reuploaded 081, how is it now? -
Thank you. I think it works fine now.
But i will go on making things and when i see something strange i will let you know. -
In a script i can't use a variable.
Is that indeed so or mis i something ? -
What is the situation? I tried some simple scenario and it works.
-
Hi,
does the script function work now? I need to use it the same way as described by MartinvE.
Need to know this before subscribing...Fabio
-
I think Scripts work. No one complained lately, but not many use it, so...
You can try it anyway, for small experiments like this it's totally free.