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: Simple consecutive trades

      Right now you should have continuous buys? Now what you have is - on every tick check if there are trades or not, and if there are none, buy. So when the trade is closed, "No trade is running" will detect that there are no trades and it will pass to "Buy now", so you immediately end up with a new trade, right after the old one.

      But if you experiment too much with Group and Market settings, this behavior may change. Try this with brand new blocks, with default settings. Like this here: https://fxdreema.com/demo/mt4-buy-now-i ... ade-exists

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: News filter

      Does forexfactory allow this?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Помощ за МА пресичане

      Поне метни въпросния индикатор. Явно съм изключил функцията за запазване на качения файл на сървъра 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Simple consecutive trades

      Trailing stop (each trade) works when there is a trade, it does not care when it was created. If a trade exists, it will be checked/modified in the block.

      BUT! There are settings inside the block, so the above is not always true. Look at this parameter:

      http://img.prntscr.com/img?url=http://i.imgur.com/xTGnH5Z.png

      Now it says that the trailing stop will modify SL when the price goes above the open price. In other words - in the first tick in the right direction. But if it starts moving in the wrong direction, it will not modify the SL.

      Set the parameter to Off to modify the SL right after the new trade was created.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Помощ за МА пресичане

      Пробвай това:

      __Има примерно един блок Indicator Appear, който засича моментите когато стойността преминава от EMPTY_VALUE към нормална стойност (текущата цена). В тези моменти се появява стрелката на индикатора, или линията, или там каквото е.[/quote:2reh9jac]

      Макар че ми изглежда малко странно тоя индикатор. Ако единия буфер е за синята линия и другия е за червената, тогава Indicator Appear трябва да засече преминаването от едната в другата линия.

      Иначе Condition просто сравнява две стойности, ама на тебе ти трява да сравниш повече от две стойности 🙂 За такива случаи направих блоковете в група Indicators

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Add locks for gui

      You can use "Red" or "Blue" only because these are predefined constants in MQL4. They contain some numeric value, I don't even know the values for each color and this is not important.

      Here is a list of all colors: http://docs.mql4.com/constants/objectco ... /webcolors
      Now constant names officially start with "clr...", but names like "Red" and "Blue" are still supported by MQL4.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: After an open positions, partial positions how run?

      MetaTrader 4: each "position" is unique and it has it's own SL and TP
      MetaTrader 5: you can have only 1 position per symbol (market) and that position can have only one SL and only one TP at a time. No, you can't have multiple SL and TP here.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: self updating/refreshing grid, compare two groups of trades

      I'm not sure if I understand correctly...

      You can use any indicator in fxDreema. iCustom() is used to read the data from indicators by giving the buffer ID and the candle ID. If for some reason the indicator puts crap in it's buffers or it does not have buffers at all, the EA can get information from the objects that it draws - lines, rectangles.

      To use a custom indicator, first you have to add it to the database, so fxDreema knows it's input settings and buffers. Here the problem is that sometimes fxDreema reads parameters/buffers wrong, so always check if the information is correct. If the information is correct, then the indicator is ready to be used.

      Here are more details (I updated this information lately):
      How indicators work with the EA: https://fxdreema.com/documentation/gett ... indicators
      How to add indicator in fxDreema: https://fxdreema.com/documentation/proj ... indicators

      Indicators are basically 3 types:

      • MA/oscillator alike - where for each candle there is a value, so normally it looks like continuous line. Here the values are something like 1.2345 or 25... it depends.
      • Arrows - these are showing arrows at some candles only, like Fractals. The returned numeric value for all the candle where arrow does not appear is the maximum possible 32/64 bit value, also known as EMPTY_VALUE in MQL4/MQL5. Candles with arrows - here the value is like 1.2345
      • Mixed - continuous line, which is interrupted by other line. Here you have 2 buffers, one for each line.

      And there are block to work with indicators in "Indicators" category. For example, "Indicator is visible" checks whether the value is like 1.2345, but not 0 or EMPTY_VALUE. "Indicator appear" detects the moment when the value was EMPTY_VALUE (or 0) and it becomes a value like 1.2345.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Simplifying Task

      Ok, but do you really need all those variables? Maybe there is a simpler way to do the thing that you want to do.

      Otherwise for what you have now, I imagine using arrays. But using arrays is easier in plain code and hardly possible with using blocks 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Add locks for gui

      This appears to be only a display bug to me, the original value appears as well as the html "div" for the variable. But otherwise it works for me here: https://fxdreema.com/shared/pB55TwpAd I also saved the block parameters few times, tried with different values for the color, tried in the local version.

      Make sure that the datatype is numeric. There is a "color" data type in MQL actually and I will add it as an option, but the value is truly an integer value.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Simple consecutive trades

      I think the answer for you is to set "Trailing start is..." parameter to Off

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Is there any way to backtest X number of bars?

      I don't understand what do you want to do exactly 🙂

      In MetaTrader you can set start and end date of the backtest. How many bars exists in every timeframe... this really depends on what is downloaded in the History Center. And unfortunately, MetaTrader 4 is well known for it's holes of missing data. Then you have holidays - saturday and sunday - different number of bars are "missing" in different timeframes (2 for Daily, 48 for H1....), so I don't know why do you want to work with fixed number of bars. I think the time is more important here.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Why is it buying at impossible prices?

      There is always Ask and Bid prices, but only Bid price is used to draw candles. The difference is called "Spread". The spread can be fixed, but most often it is variable, it always changes.

      Right click on the chat - Properties - Common (tab) - Show Ask line (check this) - OK

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Why is it buying at impossible prices?

      http://prntscr.com/5s4rjv
      http://i.imgur.com/4nZbAfW.png

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Why is it buying at impossible prices?

      And looking at the logs, how much above/below the Ask price are these trades opened at?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Add locks for gui

      It is possible, but I don't know when and if 🙂

      __Also is it possible to add color variable? if i use text and put inside the box, this happens http://snag.gy/ZaUtS.jpg
      not sure how it will work out yet.[/quote:1dgfrikm]
      Hm, this looks like a bug 😮 But otherwise I believe that it's working.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Is it posible to create an indicator and not an EA ?

      Nope 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Simplifying Task

      What should be the end result of this?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Entry 20 pips over the 14 Moving Average Line

      Well, this is the problem with this field, it does not accept constants like this 🙂 Because you can write anything in there, and normally you write something like +0.010 or -0.020 or +2*10/100 or whatever. So if you want to use the constant there, write it's name manually. In your case +adjust.

      And no, constants and variables cannot be +0.0020, meaning that the + sign is addition operator 🙂 Only values are accepted and this is by MQL.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: EMA Cross Won't work?

      This is my result using this indicator, I used M1 to get more results. Where should I look to see the problem? http://prntscr.com/5s3czp

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 248
    • 249
    • 250
    • 251
    • 252
    • 374
    • 375
    • 250 / 375