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: Chart is offline - error compiling

      But why do you wait several weeks to ask me such question 🙂

      Are you sure that the correct name is Chart_is_offline? I think it is FXD_CHART_IS_OFFLINE, but normally there is no problem and I can compile the project that you now have in the web version. If you have problems with the local version, then I need more info.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Psar wrong value?!?

      This is more than 100 pips difference. The value looks like it comes from D1, but probably not. Can this mobile MetaTrader take screenshots? Because there is a block that can do that and maybe this is the best way to investigate this problem. How often this happen?

      Do you actually use "Set Current Market..." for other symbols, different from the the symbol that belongs to the trade? I don't understand why this block is used.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Running same EA on multiple pairs

      First of all, the Tester in MT4 does not work with multiple pairs, it can only backtest one.

      Otherwise if you have one EA and you put it to work in different pairs, there should be no problem. All trading blocks that have filter settings are by default set up to work with the current pair. Look at the Market settings, it's empty filed everywhere, which means "The current symbol.

      If you use "Set "Current Market" for next blocks", note that when you place the EA for example in EURUSD, the EA works with the ticks of EURUSD and is not aware of the ticks flow in the other symbols.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Modify (Move) Pending Order to certain price level

      Try this: http://prntscr.com/bvf9pn Or better this: http://prntscr.com/bvfaee I didn't tried it, but I guess it will work

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Modify (Move) Pending Order to certain price level

      Well, obviously what I do in my EA is to copy the existing orders. If only 2 Buy orders exists, then only 2 new orders will be created. This does not mean that we can't also "copy" the existing trade (if 2 orders and 1 trade exists). You can get any value from any existing trade or order. Also, you can get values from history (closed) trades. Just look at the names of these "For each... " blocks.

      I told you before this - everything I want is to show you how things work in general, so you can then make your EAs easily 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Modify (Move) Pending Order to certain price level

      Haha, Martingale is also provem mathematically... until you run out of money 😆 Every mathematical strategy has some weakness, specific series of events that lead to crash 😄

      If you ever decide to put this EA to work, put different checks. Maximum number of trades, minimum Equity... things like that. With so many trades and orders there is some chance for things to go very wrong.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Modify (Move) Pending Order to certain price level

      "once per trade/order" is sensitive block. It has internal memory where it remembers which trade/order passed. But this memory is in the RAM and if the EA is restarted, the memory is cleared. That's why there is an option inside... you will see what is the option. The idea is to prevent this block from passing again and again for the same trades/orders every time the EA is restarted. If the EA does not work with trades created before it's start, then these blocks will not pass for these trades and there is no chance for doing something again and again on every restart 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Modify (Move) Pending Order to certain price level

      You are searching for problems with this strategy. At some point pending orders will start to fail triggering because of not enough money, and then... who knows.

      Here is something you can play with - https://fxdreema.com/shared/4KGmUO93
      But if each new order is copy of old one, I don't understand when new levels of orders are created.

      And again, my idea is to teach you how things work, so you can always make everything yourself. The example above works like this:

      • Initial orders are created - 3 Buys and 3 Sells
      • Then, on every new tick, if new trade is created, block 6 is reached once. So, for each new trade, depending on its type (Buy or Sell), 3 new orders are created.
      • Why only 3 new orders are created even if you have 6 Sell orders and the third Buy order is triggering? Because of blocks 8 and 11. If they don't exists, the amount of new orders will be the same as the amount of orders at the time.
      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Modify (Move) Pending Order to certain price level

      And what happens if all 3 Buy orders are turned into trades and you have 0 Buy orders and 9 Sell orders? Is the strategy like endless loop of doing the same stuff again and again (creating orders again and again), or there is only 1 iteration and the maximum number of pending orders at a time is 9?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Modify (Move) Pending Order to certain price level

      Haha, I didn't even noticed that you are the one who is writing me these PMs 😄

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Modify (Move) Pending Order to certain price level

      But you can delete them 😮

      I don't know what to tell you. This is only 1 step that you are explaining. But if there are more steps, the way to do things can be very different. Otherwise in my latest example I think I'm showing how to put 3 orders over 3 another orders. Of course, mine are all from the same Group.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Modify (Move) Pending Order to certain price level

      You want to put 3 new sell orders above the existing 3 pending orders 😕 Why not deleting them and make only 3 orders with bigget lot size.
      And if triggering 1 pending order produces 3 new orders, you will quickly end up with too many orders 😮

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ORDER

      Damn, I hate hedge strategies. They are not magic, they are overcomplicated Martingale and nothing more. I will suggest to forget about this illusion, make your life easier and try something that can be made easier 🙂 Even I don't know how to make "hedge" strategy.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Get trade entry price

      teobusetti, how many variations of the same EA do you have? 🙂

      In pink blocks, if you see Open Price, this is the price where the trade/position/order is opened. No candles here

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Place line at Highest open and Lowest open?

      It looks that now I have to make some new blocks, something like "Bucket of Candles" 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Modify (Move) Pending Order to certain price level

      Ok, orders over orders. Here is some example where I create 3 Buy pending orders and then I open another 3 Sell orders on top - https://fxdreema.com/shared/pQBJHt5ud

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Please help: Place ATR Stop Loss?

      Be careful with these words - price level, pips, price fraction. This variable "SL_buy" contains price level value, but then in block 46 this variable is used for "Custom (pips)". Try this instead: http://prntscr.com/bu5v10

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Deleting old objects

      As I expected, if you have objects with names obj1, obj2... obj8, obj9, obj10, obj11 and they are sorted by Z-A, their order is like this: obj9, obj8... obj2, obj11, obj10, obj1 😕
      The small problem is that this order is native, it comes with ObjectsTotal() itself

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Deleting old objects

      You are actually right. The way you were trying to do that is the right way, but something is wrong. This is what I tried - https://fxdreema.com/shared/gHcXIiN5c - and everything is fine in the first few candles, but it fails after "myobj9". I need to investigate 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Boolean or what?

      Dropdowns are not supported in fxDreema. Yes, in MQL you can define custom... dropdowns. Enumerations, this is how actually they call them. But this is currently not available from fxDreema. But you can use all predefined enumeration, for example ENUM_MA_METHOD. To do that write ENUM_MA_METHOD for data type (instead of int)

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 133
    • 134
    • 135
    • 136
    • 137
    • 374
    • 375
    • 135 / 375