fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. isp00rt
    3. Posts
    • Profile
    • Following 0
    • Followers 5
    • Topics 68
    • Posts 460
    • Best 9
    • Controversial 2
    • Groups 0

    Posts made by isp00rt

    • Quick question about custom indicators

      Dear all,

      I would like to know how can FxDreema identify the value of a coloured custom indicator. Let me explain. I want to use the superprofit indicator at an EA. This indicator draws a continuous line (it looks like a moving average) on chart at the beginning of each new bar. Each new point of this line can be red or green, depending on the identified trend at that moment.

      If I include it as a custom indicator in my EA, how could I program that if the new point is green/red it should buy/sell?

      Thank you in advance.

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Help wanted, please!

      I will test it more carefully and will be back here if any other problem is found. Thank you very much. 😉

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Help wanted, please!

      Once again, accept my apologizes. I know what's the problem now. The MT4 platform MUST NOT have any closed trade BEFORE running the EA. If ALL trades of the day are opened AFTER the EA is running, everything works fine. For some reason the EA does not understand negative closed trades existing before it is running. Now I'm changing my MT4 settings so that only the trades closed today are shown at the display so that they will be immediately erased tomorrow.

      What could I possibly forget for the EA not to count them correctly?

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Help wanted, please!

      Hi again miro1360,

      I found an unexpected problem. Today I began to use your code and my other EAs in other charts and I'm afraid it's not calculating all variables correctly. Let me show you what's happening. Open trades are counted correctly (in pips):

      alt text

      But I don't know why closed trades are all counted as a positive result, including the negative ones:

      alt text

      This means that ProfitAll variable is also wrong. As you can see at the image, ProfitAll counts correctly ProfitOpen and ProfitClose. The problem is that ProfitClose considers all closed trades as positive, no matter they aren't.

      I didn't test your code for a long time so far, this is why I didn't see this, sorry :(.

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Help wanted, please!

      Hi again miro1360,

      I finally decided to remove the time variable from the EA. I tried it and it works perfectly! 😉
      Thank you very much for your help. This forum and people like you are simply priceless.

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Help wanted, please!

      @cucushanji82 said in Help wanted, please!:

      try https://fxdreema.com/shared/qncZoz4Kb
      set money target ext parameter, close single or multiple trades if target money reached

      Interesting, but I need to specify my target as pips, not as profit. I don't see that option elegible at your "Bucket" block. Do you know how could I substitute it, please?

      Thank you in advance.

      @cucushanji82 said in Help wanted, please!:

      try https://fxdreema.com/shared/qncZoz4Kb
      set money target ext parameter, close single or multiple trades if target money reached

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Help wanted, please!

      @miro1360 said in Help wanted, please!:

      if magic is 0, it must normally working ... when it is not, try different broker or new installation of metatrader (or installation of newest version) ... 😉
      here is buttons version (the same, only added buttons) https://fxdreema.com/shared/SBxzCtIpb

      Ok. I found the problem. Your code works fine if I set the "Close Time (UNIX)" value at 0.0. Otherwise it doesn't count pips. Probably I'm not inserting the time variable correctly. What values should be understood by the EA?

      Thank you in advance.

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Help wanted, please!

      Hi Miro 1360,

      Please accept my apoligizes if my words sounded rude. My intention was NOT to underappreciate your time and effort to solve my problem. On the contrary, I have to admit that I am impressed by your knowledge of FxDreema. Once again, let me express my gratitude for your help.

      However, I'm afraid there must be something different between your MT4 platform and mine. Could you please confirm you are testing this?: https://fxdreema.com/shared/YSMm3lMKd

      I try it at my MT4 platform and this is what I get:

      alt text

      As you can see, the EA is correctly running and three orders are currently open (all of them manually), and yes, the Magic Number is 0. Nonetheless, no pips are counted. All three variables are showing the same 0 result. Maybe I am doing something wrong, but honestly I don't know what :(.

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Help wanted, please!

      Hi Miro1360,

      Thank you very much for your suggestion, but it doesn't work. No pips are counted (open or close). Are you sure that "loop" option is correct here? As FxFun said, you put it exactly the same on both open/closed "For each trade" blocks and I'm not sure this is how it should work :(.

      Any other suggestion?

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Help wanted, please!

      Hi again,
      I redesigned the whole EA and I think I got closer to my goal. You can find it here:
      https://fxdreema.com/shared/KCY4ZHjgd. I erased one variable (ProfitTemp) and I now work with just 3 of them and 1 single constant.

      Now my problem is that variables ProfitOpen (the sum of pips of all open trades) and ProfitClose (same for all closed trades) show exactly the same number no matter what. Additionally, open orders are not detected at all. Apparently the EA is not detecting anu order at all, open or close.

      Could you please give me some help?

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Help wanted, please!

      @fxfun said in Help wanted, please!:

      @isp00rt Hi
      FIRST of all, you say you want to Close all trades, after you accumulated a certain amount of Pips from all open trades. Right?

      Yes, that's exactly what I want.

      IF SO, your condition to close trades, is something TOTALLY DIFFERENT from what you say you want. Your condition to close is a MA Cross!?

      No. My condition to close is having at least as many pips as I specified as a target. That includes all previous closed trades that were a loss.

      Also, you NULL the variables at the MA cross as well, which could happen at any time, when you don't want that.

      No, no. There's no MA anywhere. This EA will be operating on a chart and I will manually operate other charts. It will control all my open and closed trades so that the final amount of pips accumulated is at least the one I specified as a target.

      I don't think you need to null the variables, cause if there are non open trades, MQL should calculate that your variable for Open Pips is 0.

      Interesting. I didn't consider that.

      Your condition to Close should probably be something like: CurrentTotalOpenPips >= MyTargetPips

      That would count all my current open trades, but I need another variable to count my closed ones (wins and loses).

      SECOND, you have 2 loops + 2 modify blocks that are identical. I would delete one of loops (to simplify & make the EA faster), and add the 2 formula blocks last in the one loop.

      You're right. My fault! Good idea. 😉

      I don't understand all your variables that aren't defined, but the formula you use could also be wrong.

      I need 4 variables. ProfitOpen counts the total amount of pips from current open trades. ProfitClose does the same for all my closed trades. ProfitAll is the sum of both previous ones (this one must be at least as big as the target). ProfitTemp is the way to update ProfitOpen and ProfitClose.

      I believe if you start correcting the above first, you should be much closer to the solution you want, or even solve it totally I guess. You need to start there anyway I believe. Let's know how you progress.

      Have Fun! 🙂

      Thank you very much for your help. I did your suggested correction, but it still doesn't work. 😞 https://fxdreema.com/shared/hAA1LhAmc

      Maybe my problem is with variables. I assume that ProfitClose will just sum up all closed trades but I'm not sure how to do that. How can a variable distinguish when a trade is open or closed? Maybe this is why it is failing. What do you think?

      posted in Questions & Answers
      isp00rt
      isp00rt
    • Help wanted, please!

      Hi FxDreema,

      I created a new EA designed to close all my open trades once a preset pip level is reached. What I want to do is manually opening several trades at differents charts simultaneously. Then my EA will be operating from a different chart and adding/substracting pips from my previous closed trades as well as my current open ones. In essence, what I want is harvesting a specific pips' target per day (25, 35, 50, etc.). This target is included as a constant manually.

      I tried this: https://fxdreema.com/shared/lv4vkjdob

      But it doesn't work. Every time I put it on a chart, pips are counted before ANY trade is open!! 😮 I simply can't see why it's not working. Could you please help me?

      Thank you very much on advance.

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Why can't this EA be put into a chart

      Great! It worked. Thank you very much. 😀

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Why can't this EA be put into a chart

      My MT4 is running a 1090 build.

      posted in Questions & Answers
      isp00rt
      isp00rt
    • Why can't this EA be put into a chart

      Dear all,

      I created a short testing EA you can find here:

      https://fxdreema.com/shared/gHo21l31c

      I don't know why, but once installed at my MT4 it cannot be put into any chart. All my previous FXDreema EAs were running smoothly at the very first time, but not this one. 😢

      Could please anyone tell me why?

      Thank you in advance

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Question about optimizing parameters

      Ok. Thank you. 😃

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Question about optimizing parameters

      Great! So essentially what that box does is selecting a value range to be optimized for each parameter, and it chooses those values instead me. Is that correct?

      That means I can manually choose other range to be optimized whenever I want, right?

      posted in Questions & Answers
      isp00rt
      isp00rt
    • Question about optimizing parameters

      I want to try to optimize some parameters but I would appreciate some confirmation about how it works at Fxdreema before doping it. If I understand correctly I can tick as many parameters to optimize as I want, but must I duplicate all of them for buy/sell trades? I mean that if I choose to optimize a moving average period, do I have to tick both buy and sell paths in my blocks or not?

      And the second question is confirming that once selected as optimizable at FxDreema, those parameters will be now elegible at the MT4 optimization tool whereas they weren'r before. Am I right?

      Thank you in advance.

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: MT4>>MT5

      Ok. Thank you.

      posted in General Discussions
      isp00rt
      isp00rt
    • RE: MT4>>MT5

      Just one more question. Can I import a MQ4 EA and then export it as a MQ5 EA in order to "translate" from one language to the other?

      posted in General Discussions
      isp00rt
      isp00rt
    • 1
    • 2
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 18 / 23