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 65
    • Posts 445
    • Best 9
    • Controversial 2
    • Groups 0

    Posts made by isp00rt

    • RE: Question about "Impulse up/down" block

      I see. It's interesting you discourage to use some blocks. Maybe you would consider the possibility of removing them from fxDreema? 😉 I agree that a custom indicator should be the best solution, but what this block does, apparently, is almost exactly what I'm looking for.

      Could you please recommend me what blocks should I use for an indicator such as the one explaint at my first message? I don't need a full structure, just let me see how to begin with. 😉

      Thank you in advance.

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: How can I set up a condition to activate/deactivate MoneyManagment?

      You're welcome. 😉

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Open an order based on the direction of the first tick of a candle

      It depends. Direction compared to what? The close price of the previous candle? Its high/low? More info would be helpful.

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: How can I set up a condition to activate/deactivate MoneyManagment?

      Hi josecortesllobat,

      I'm not an expert, but these are the problems I see.

      1. "MoneyManagement" should be a constant, not a variable. That's the only way you will be able to choose it manually.

      2. Once you manually choose if it is true or false, the order of blocks should be different:

      • Blocks 1, 2 and 3 remain unchanged.
      • Then blocks 13 and 14 remain as per your screenshot.
      • What is changed is that block 15 should be then connected below block 13 through the yellow connection, not the usual orange one.
      • Hold block 9 as per your screenshot.

      This way your EA will first check if moneymanagent is true. If so the trade will be open. If it is false, the new path will be chosen. Your current structure is trying to check both conditions (true and false Moneymanagement) simultaneously and things in MT4 cannot be true and false at the same time. 😉

      Hope it helps.

      posted in Questions & Answers
      isp00rt
      isp00rt
    • Question about "Impulse up/down" block

      I'm looking for a new EA very close to what "Impulse up/down" block apparently does, but I would like some additional information to confirm I understand it correctly please. These are the parameters I'm not sure of:

      1. Quiet bars. If I select "2", I understand that candles ID 1 and 2 will be checked while candle 0 is still forming. Right?
      2. Quite bar min size. If I select a 0, then every candle will be checkhed?
      3. Impulse strengh. The explanation is clear but I can read it considers the maximum quiet bar as the only trigger to pass the block. I see this maximum cannot be specified anywhere whereas the minimum can be in the previous parameter. Is that correct?
      4. Impulse shift. This is the more intriguing part and I would appreciate some clarification here. If I understand it correctly, 0 means that if the impulse is reached right now at candle 0, the block passes. But what's the difference between values 1 and 2? In both cases the impulse must have been completed at candle 1 to the block to pass. What does "...and old" mean in option 2?

      Let me say that these blocks are almost perfect for what I'm looking for. I would just need some minor hints to get the following:

      a) Instead of looking for the "maximum quiet bar", I need to know the average range of pips for that number of quiet candles.

      b) Then the "impulse strength" would be calculated on that average range instead of on the maximum quiet bar only.

      Could you please tell me how should I set the parameters to achieve that?

      Thank you very much in advance.

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Quick question about custom indicators

      Hi again,

      This is my first try to do what you suggested: https://fxdreema.com/builder

      Unfortunately, it doesn't work. I guess I'm not inserting the correct information at the "Indicator rise/fall" block. Before you ask me, no, there is no message at the "Experts" tab of my MT4. Apparently conditions are never met, so not a single buy/sell is executed.

      Let me explain what is this EA supposed to do. It traces a continuous coloured line on the chart (it looks like a moving average). Depending on the trend of price, two colours are shown: red (for downtrend) or green (for uptrend). I want to open a trade immediately after that colour is changed.

      Any help would be much appreciated. Thank you.

      posted in Questions & Answers
      isp00rt
      isp00rt
    • RE: Quick question about custom indicators

      I guessed this had been asked before, but I couldn't find any thread with this specific topic, sorry. 😞

      I will try what you suggested. Thank you very much for your help.

      posted in Questions & Answers
      isp00rt
      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
    • 1
    • 2
    • 15
    • 16
    • 17
    • 18
    • 19
    • 22
    • 23
    • 17 / 23