fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. cfabian
    3. Topics
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 18
    • Posts 53
    • Best 0
    • Controversial 1
    • Groups 0

    Topics created by cfabian

    • C

      Profit target question
      Questions & Answers • • cfabian

      6
      0
      Votes
      6
      Posts
      3114
      Views

      fxDreema

      Both: if the end time is empty field (which means the current time)
      Closed trades: if the end time is something else

      The other way is something like this: http://prntscr.com/btfyh3

    • C

      EA malfunction
      Questions & Answers • • cfabian

      6
      0
      Votes
      6
      Posts
      1974
      Views

      fxDreema

      The test ends by itself or it hangs?

      If something hangs, then the reason is most likely infinite loop somewhere. But I don't know why this can happen in MT4 just like that...

    • C

      Apply indicator
      Questions & Answers • • cfabian

      2
      0
      Votes
      2
      Posts
      887
      Views

      M

      I dont think this is possible, or I have not seen it yet, but it is possible to make "something" on chart, where you type values and indicator and EA will read this values from same place - for this you need rebuild indicator code -- great for fully worked system, bad idea for tested system because it is not easiest for time 🙂

    • C

      Cannot add custom indicators
      Questions & Answers • • cfabian

      2
      0
      Votes
      2
      Posts
      920
      Views

      fxDreema

      Go to My Indicators and try to add some indicator. The indicator is not really uploaded, only the needed data is read locally and then sent to the server. Only name, input parameters and buffers are needed. Then the indicator appears in blocks lile Condition. You still must have the file in /Indicators. No, indicators are not embedded in the EA, they are separate programs.

    • C

      No trade/orde funtion trouble
      Questions & Answers • • cfabian

      2
      0
      Votes
      2
      Posts
      900
      Views

      fxDreema

      I don't see problems in the blocks. Here I used Group 2 in both blocks and everything works. If I change the Group in one of the blocks, then I get many many sells. https://fxdreema.com/shared/qQ1lazXxc

      Maybe the problem is that you use "No trade/order". I don't know your strategy, but this block passes when there are no trades AND no pending orders with the specified attributes. This particular blocks looks at the pending orders as well. Maybe you don't really want that?

    • C

      BE not working
      Questions & Answers • • cfabian

      2
      0
      Votes
      2
      Posts
      753
      Views

      fxDreema

      From what I see, it's not opened for all trades. That empty field for Group # is actually the value of 0. Here and there if you see empty fields, the reason for them to be empty is most probably because these fields are... let's say "sensitive" and most of the time people whould not use them. If the field is numeric, when it's empty, it's actually 0.

      The same goes for the market. It's empty now and this means that this is the current market.

      More than that, look at the titles, they say things like (empty=Default) or (empty=Current)

      Look at the "Group mode" options.

    • C

      Pips From Extreme Issue
      Questions & Answers • • cfabian

      5
      0
      Votes
      5
      Posts
      1259
      Views

      fxDreema

      Try Value - Pips - as price fraction

      Candle Close is value like 1.2345. On the other side you must have the same kind of value. Value -> Numeric is exactly as it's look like. If you put the value of 10 there, the value will be 10. Again, apples, not pips.

    • C

      Trace function
      Questions & Answers • • cfabian

      2
      0
      Votes
      2
      Posts
      976
      Views

      fxDreema

      No, I did nothing. This works for me, I see some lines. Of course numbers on the right side overlap, but I see lines

    • C

      lower highs and higher lows
      Questions & Answers • • cfabian

      2
      0
      Votes
      2
      Posts
      1079
      Views

      fxDreema

      I don't even want to add such indicator-like stuff in the EA builder. Things like this is job for indicators. By the way you can try the Zig-Zag indicator that is on the bottom of the built-in indicators. There are some HH and LL options over there. I don't remember what I did, but you can use Trace to see the values.

    • C

      Delete pending orders issue
      Questions & Answers • • cfabian

      9
      0
      Votes
      9
      Posts
      3325
      Views

      R

      What I like to do is use Variables to control stuff like this.

      Create a Variable "STOPLOSS" with value "0".

      Then you use pink blocks "For Each Closed Position" -> "Check How it Was Closed" and then the gray block "Modify Variables" to change your variable to "1".

      So when a trade is closed as a Stop Loss, your Variable "STOPLOSS" that was "0" is now "1". This is your Flag.

      Then you can have another set of blocks like a simple "Pass" -> "Condition" -> "Delete pending orders", where you check if you variable "STOPLOSS" is "1", if it is, your pending orders are deleted. Then you connect another "Modify Variable" after "Delete pending orders" to change your "STOPLOSS" back to "0", so you reset your logic.

      It sounds kind of complicated, but after you get the hang of if, you can do a LOT of stuff using this strategy. Here is a quick example:

      https://fxdreema.com/shared/2vqEYLMte

    • C

      Calling values from other charts????
      Questions & Answers • • cfabian

      4
      0
      Votes
      4
      Posts
      1021
      Views

      fxDreema

      I don't know about the M3 think. But you can give me some EA that does this and I will see how it does that. Maybe I don't know everything 🙂

      Automatic trendlines - no. I guess there are indicators to do that. I was trying to do something like this once, but I quit.

      Legs?

    • C

      Basket take profit and profit retrace workaround
      Questions & Answers • • cfabian

      6
      0
      Votes
      6
      Posts
      1717
      Views

      fxDreema

      __The reason is that I cannot find how to pull out the value of the "Check profit (unrealized)"[/quote:2j3w60dy]

      That's why I made those Bucket blocks - with them you can get the value in Condition. "Check profit (unrealized)", as well as ALL blue blocks do their job inside and does not put anything to the outher world. With "For each... " and "Bucket..." blocks you can load trade/trades and get different values in separate block (Condition or other blocks).

      Use Variables in Condition -> Value -> Numeric

      Those P things are the input values of the block. Again, blocks does not export nothing.

      Give me example for EURUSD that contains 2-3 blocks and shows the problem in any block, and I will fix it or tell you if I don't want to "fix" it

    • C

      Closing bucket of trades
      Questions & Answers • • cfabian

      6
      0
      Votes
      6
      Posts
      2273
      Views

      fxDreema

      Look at the properties of these blocks. In both of them you can choose Group, Market and Type. This means that you can check the total unrealized profit of certain group of trades and then close those trades. The settings in both blocks must match.

      "Close trades" does not close pending orders. There is "Delete pending orders" for pending orders. By "trades" I mean running orders (positions or however you call them), not pending orders. By orders I mean... mostly pending orders.

    • C

      Optional condition filter
      Questions & Answers • • cfabian

      2
      0
      Votes
      2
      Posts
      654
      Views

      fxDreema

      Set a Constand with "bool" datatype. Set it's value to true or false. Then put that Constant in Condition block (Value -> Numeric will work) and compare it with Value -> Numeric (values 1 or 0) or Value -> Boolean.

    • C

      indicator direction change
      Questions & Answers • • cfabian

      2
      0
      Votes
      2
      Posts
      727
      Views

      fxDreema

      https://fxdreema.com/demo/mt4-crossover-indicators
      This is how the crossover in Condition work. It works with 2 candles only, not 3. Yes, try with two blocks

    • C

      Grid trades
      Questions & Answers • • cfabian

      5
      0
      Votes
      5
      Posts
      1584
      Views

      fxDreema

      I made those blocks to decide what type of orders to open depending on the open price. If the open price is the the current price, then it will be a trade. The first order is set to be opened at 25 pips from the current price because of the grid size. Ask + 25pips, this is it's open price. But with Price offset you are moving it exactly on the current price (Ask) and that's why it becomes a trade.

      The grid size can be negative value, then the orders will be put in the other direction.

      It should try 10 times for a given trade, but it depends on the type of the error. It will try to open the rest orders... but when errors start to happen, who knows

    • C

      Toggle between trading strategy
      Questions & Answers • • cfabian

      4
      0
      Votes
      4
      Posts
      1170
      Views

      fxDreema

      Don's check the checkbox (on the right side of the parameter) while a Constant is used for this parameter. Just uncheck that checkbox... or all of them
      https://fxdreema.com/demo/mt4-disable-blocks

    • C

      Once per bar after signal
      Questions & Answers • • cfabian

      6
      0
      Votes
      6
      Posts
      1785
      Views

      fxDreema

      https://fxdreema.com/shared/hyvOISJ8e ?

    • 1 / 1