fxDreema

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

    variable inputs I did not check or create

    Questions & Answers
    2
    7
    761
    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.
    • S
      sdoppke last edited by

      Hi there hoping you help me understand my expert (in the input section) has 3 additional inputs I did not create (no check box or created variable).

      The inputs are:
      inp1: (1) buy pending order (this block one that is the buy pending block)
      inp1_VolumePerecent: 100

      inp8: (8) sell pending order (this block eight that is the sell pending block)
      inp8_VolumePerecent: 100

      imp8_Expdays: 0

      I can reiterate that I have not do not have any input boxes checked

      Thanks in advance for any help

      SD

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

        But if you choose those options, you will see that they are checked: http://prntscr.com/76som9

        Of course, this is a bug, or at least something that does not work as expected. But I am also thinking to remove those checkboxes at all in the future update, mostly because people are using them too much 🙂

        1 Reply Last reply Reply Quote 0
        • S
          sdoppke last edited by

          Thank you for the fast reply.

          Can you recommend an alternative way to have the EA place orders at x % of risk based on the balance (not equity)?

          Also I will point out it is interesTing that the exp_day input only show on the sell order and not the but order, where the settings ate the same.

          Thanks again for your direction.

          FYI you may need to be detailed with your Solution (money management above) I just started using your software.

          It is great BTW!

          SD

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

            Depends on what you understand by X % of Risk based on Balance 🙂

            1 Reply Last reply Reply Quote 0
            • S
              sdoppke last edited by

              Fire example with a$1000 balance add a 3% risk, the order would be placed at .03 lots.

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

                Maybe this term "Risk" should be used when we are ready to lose certain amount of money, or in other words - when we have SL and the combination of lot size and stop-loss results in predefined loss. When you have 0.03 Lots, you can close the trade when it have 3 dollars loss or 300 dollars loss, or any other loss.

                Anyway, I will suggest this option % of Balance => Lots. The calculation is very similar to yours. If you have 1000 dollars Balance, then 100% means that the lot size will be 0.01 lots (because 0.01 lots are 1000 dollars when 1 lot is 100,000 dollars). So instead of 3, use the value of 300. And note that this option will work on EURUSD and most currencies, but for fancy markets things can be a little bit different, because everything depends on what is the size of 1 lot.

                Or you can also build your own formula and use it directly. I'm doing it that way sometimes, it's actually easy to use some native MQL4 values like this one: http://docs.mql4.com/account/accountbalance
                This was some calculation that I personally used somewhere, just for an example, it only means something for me: http://prntscr.com/76t4e8

                1 Reply Last reply Reply Quote 0
                • S
                  sdoppke last edited by

                  I really appeciate the help. I will make a go of it.

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

                  Online Users

                  K
                  K
                  J
                  M

                  15
                  Online

                  146.8k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors