fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Scripts

    Questions & Answers
    3
    14
    4145
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MartinvE last edited by

      Hello fxDreema,
      Is it also possible to make scripts with your program ?

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        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 🙂

        1 Reply Last reply Reply Quote 0
        • M
          MartinvE last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • fxDreema
              fxDreema last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • M
                MartinvE last edited by

                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

                1 Reply Last reply Reply Quote 0
                • fxDreema
                  fxDreema last edited by

                  Try the new 081 version: https://fxdreema.com/desktop

                  1 Reply Last reply Reply Quote 0
                  • M
                    MartinvE last edited by

                    I am very sorry but the next error occurs by making the ex4 file.

                    ......
                    script error.jpg

                    1 Reply Last reply Reply Quote 0
                    • fxDreema
                      fxDreema last edited by

                      There are some things to be cleared, obviously...
                      I reuploaded 081, how is it now?

                      1 Reply Last reply Reply Quote 0
                      • M
                        MartinvE last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • M
                          MartinvE last edited by

                          In a script i can't use a variable.
                          Is that indeed so or mis i something ?

                          1 Reply Last reply Reply Quote 0
                          • fxDreema
                            fxDreema last edited by

                            What is the situation? I tried some simple scenario and it works.

                            1 Reply Last reply Reply Quote 0
                            • F
                              Fabio last edited by

                              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

                              1 Reply Last reply Reply Quote 0
                              • fxDreema
                                fxDreema last edited by

                                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.

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post

                                Online Users

                                T
                                B
                                A
                                P
                                A
                                A
                                X
                                K

                                16
                                Online

                                146.7k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors