fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. fxDreema
    3. Posts
    • Profile
    • Following 0
    • Followers 691
    • Topics 32
    • Posts 7485
    • Best 277
    • Controversial 18
    • Groups 1

    Posts made by fxDreema

    • RE: BUG with Group # and Check Profit (Average)

      Note that the Group number must be filled in all trading blocks - Buy now, Check..., No trade... all blocks that works with trades from this group

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: fxdreema.com/studio

      Sorry, it should work now

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: BUG with Group # and Check Profit (Average)

      I tried this one - https://fxdreema.com/shared/qYJUcK36e - without Group and with Group = 1 (as it is now) and in both cases I see the same backtest. Maybe you can give me some similar example that shows the problem? I can see your project, but normally I people's projects contain many extra stuff and I don't know where to look for the problem.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: how to put pasword for my ea?

      As I know, comments can only be set in OrderSend when a new trade is created and then the comment can only be changed by the broker. Trades and orders unfortunately don't have custom tags, which is very very limiting. I don't know, maybe something with the lot size? I actually never thought about that, I never needed to separate child trades. Or maybe you can use the Group number

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: exclude child trade from For Each Trade

      Pretty much the same idea: https://fxdreema.com/forum/topic/4231/add-to-volume-and-close-partially
      Mother and child trades look like different trades, but they have have something in common. I think that Open Price or Open Time (or both) in the child trade is the same as in the mother trade and that's how I can find their relationship.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Add to Volume and Close partially.

      Why do I believe that I answered to this question already...
      Get some idea from this: https://fxdreema.com/shared/EutATUU4b

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Buying/Selling at the highest/lowest price of the last 21 days

      Trailing stop blocks should run on every tick, their place is not under Buy now or Sell now - https://fxdreema.com/demo/mt4-trailing-stop

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: how to put pasword for my ea?

      @MetaTrader PM function?

      @shomefun Maybe something like this - http://i.prntscr.com/6b00c543e0ba4f3ca48f6ea343e7ed24.png

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Buying/Selling at the highest/lowest price of the last 21 days

      I feel that every 5th person have the same trouble with multiple trades these days 🙂

      Always remember this - when blocks are positioned under "on Tick", this means that they run on every tick! Well, those on the top.

      Also remember this - blocks like "Buy now" create a new trade every time they run, every time! So the idea is to prevent these blocks from running on every tick. That's why we put those "No trade", "Once per bar" and similar stuff above them.

      Exactly the same is true for "Close trades" block - this one would close trades when it runs, every time. So this one also needs some extra blocks on top... sometimes.

      Here in this example the number of blocks is small, but still everything works fine: https://fxdreema.com/demo/mt4-buy-sell-buy-sell-opposite-conditions

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Help with bucket of trades/multiple order profit(fixed) a new question

      People were asking for stopping the EA for some time multiple times before and it's time for me to do something about it. It will be some block with name like "Skip ticks" or similar, and the idea will be that when this block runs, it will tell the EA to skip the following ticks for some time.

      The same thing can be done right now as well, but with some datetime variable that needs to be set and then checked.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Where disappeared the function "Search" on this forum?

      Don't you have this gray magnifier icon up near the bell icon? (I don't know why it's gray)

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Zero or negative profit in optimization

      If every day of the week is false and you have 1 block "Weekday filter" on top of all other blocks, then I guess this block will be checked on every tick, but those below will not work. So it should be as slow as the "Weekday filter" alone. At least this is on theory...

      In the past I was analysing the speed of the code many times and I know that MQL sometimes behave stupid. Imagine you have function with 30 rows of code, but with "return" on the top which basically means that the code below will never run. Well, I noticed that sometimes only the presence of such dead code can make the EA to run slower. Imagine what is going on with 1000s of rows of code 🙂

      When optimizing, I think there is more from that stuff. And to be honest, I don't know what to do with these situations. I wrote several times for such problems to MetaQuotes before and most of the time there is no answer or they do nothing about the problem. Only once they fixed something.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Do not open position on the last day of the month.

      You are here for a looong time, I even know your name. Why don't you take some time to learn programming basics, it's not that hard to understand variables, if, for and functions. This can only help you in future 🙂

      Otherwise if you have function like this, you basically hit that "New" button near "Custom functions" in the studio and throw that code in there. Then you should be able to use this function in the blocks.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: how to put pasword for my ea?

      I admit that I don't understand security very much. Maybe if you define a empty "string" Constant and then in "on Init" you have something like this.... https://fxdreema.com/shared/Rh6tjQqEd But how secure is the string on the right side in "Condition", I don't know 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: if i want my stop lose or close move up or down auto ?

      Because there is a block for that: https://fxdreema.com/demo/mt4-trailing-stop

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: MT4 Testing Gives Wrong S/L £Amount

      Well, the EA only says to MetaTrader "please, open this many lots with such SL and such TP" and then MetaTrader does the rest. And when your account currency is different than any of the second part of the currency pair, then don't expect direct connection between pips and money.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: MT4 Testing Gives Wrong S/L £Amount

      I can see you are doing your own calculations for lot size, SL and TP. I don't know why, because there are many Money Management options available anyway, but what can say... It's probably something that is not calculated properly in all these Formula blocks.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: if i want my stop lose or close move up or down auto ?

      Are you asking for what is known as Trailing Stop?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Trail Stoploss behind previous candle low/high

      You tried the Trailing stop block? There are many options in it.

      I would use the "Adjust" field, you can write things like +2pips in it. No need for "Formula" blocks and variables for such thing.

      If this EA should work with manually created trades, better set this to 0: http://prntscr.com/dgm3pd

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Add RSI as a buy/sell signal

      I don't know what else to say. "Condition" block normally compares 2 values and one of its outputs becomes active depending on the result of that comparison. When crossover (x> or x<) is used in "Condition", then it's almost the same, then the "Condition" is like 2 in 1, because there is one more hidden extra comparison (for the previous candle) to determine crossover. There is no matter what is the result of the comparison, "Condition" block DOES NOT sit and wait for some condition to become true. This block can do 3 things only - to run the next blocks connected to its orange output, to run the next blocks connected to its yellow output, or to do nothing at all.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 107
    • 108
    • 109
    • 110
    • 111
    • 374
    • 375
    • 109 / 375