fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. isiloon
    3. Topics
    I
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 7
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by isiloon

    • I

      Need Ideas for this situation
      Questions & Answers • • isiloon

      3
      0
      Votes
      3
      Posts
      603
      Views

      fxDreema

      I think you need to use some Variable to store the current states while the EA is working. The type of variable can be "int" or "string" if you wish, it's a personal choice.

      Otherwise more "professional" would be to have an indicator to make those buy and sell signals.

      By the way this is impossible situation:
      0_1543597465544_acd0558e-7583-44fb-bd4a-e46b47c8a019-image.png

      .. because blocks does not wait to pass. You may take a look at this example: https://fxdreema.com/demo/mt4-wait-crossovers But I don't think it will work well for your strategy.

    • I

      How to remove change the location Spread info
      Questions & Answers • • isiloon

      2
      0
      Votes
      2
      Posts
      540
      Views

      fxDreema

      It is possible, but from the source code. I think it was a function called "DrawSpreadInfo".

      Expert advisor name... I don't think that this can be controlled, the smiley face just appears on the upper right corner because of MetaTrader itself.

    • I

      EA for closing all orders at a target price
      Questions & Answers • • isiloon

      4
      0
      Votes
      4
      Posts
      854
      Views

      I

      ____On the right use Value -> Numeric if you want the number to be fixed. You can use it as a Constant, also in the same place (right-click over the input field) - for this you just need to define a constant. Or you can use some horizontal line.

      But what is the most important here, DO NOT use == in the condition when comparing two prices. Use everything else, but not ==. If you think for a while, you will understand why.[/quote:3atvaiba]

      Ok I can use > or < for the trigger but I can not figure out how to code it. How do I use horizontal line or price value for the kill all switch?[/quote:3atvaiba]

      I think I have done it. You just need the place the ea according to the price. If the price is gonna hit the kill all target from above you wanna use the above ea, same for the opposite. I tested it few times I think it works. Here I post the ea in case someone needs it.

      ......
      Kill all from above.ex4
      Kill all from below.ex4

    • 1 / 1