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: How to register values ​​of variables Candle: Buy, Sell, low

      I'm lost again 🙂 For me variable is something that is defined and has value. Now I'm not sure if you want to get these values that I though you want... do you want (for example) to get Low of the candle where the trade is/was opened?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to register values ​​of variables Candle: Buy, Sell, low

      Directly as a code, if I am not wrong, it's something like this:

      iLow(Symbol(), 0, iBarShift(Symbol(), 0, OrderOpenTime()))
      
      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to register values ​​of variables Candle: Buy, Sell, low

      If you want to know how to record variables, this is something on it's own, and I posted example of this. You can define variables and then modify them with any values, this is easy... but if you work with multiple trades at a time it's not useful.
      The way to do this is: based on the open time of the trade to find the candle that is located at that time and get it's parameters, but at the moment in fxDreema there is no something that you can select directly, but I can try to add something like this because it's not a bad idea. The problem is because there are 3 steps:

      1. Get Open Time from the trade
      2. Use that time to find the ID of the candle around this time, here you need to specify Market and Timeframe.
      3. Knowing the candle ID we can get high, low, open or close.
      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Помощ за МА пресичане

      Това което е в Adjust се залепя за функцията дето идва от съответния блок. Не знам как да ти го обясня, виж какво се случва в сорс кода като пишеш нещо там. Това ";" затваря функцията и след това може да се пише свободен код който не е "залепен" за нещо.
      Това MathAbs се прилага към променлива както става ясно, ако в Condition имаш тази променлива... става. Вече стойността на пипса може да е в различен формат, може да е 20, може да е 0.0020 в зависимост от маркета, виж във Value - Pips.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Server Time

      This is the UTC (integer) format of the time. I don't know for the new MT4, the old one is doing this - outputs the time in it's integer form, but MT5 converts it in human readable format, so because now MQL4 is similar to MQL5 I think it's possible to do the same.
      Otherwise to convert this time format to human readable format this function is used: http://docs.mql4.com/convert/timetostr ... but directly into Comment block try this: http://prntscr.com/2r7i95

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: MetaTrader 4 Build 600 with Updated MQL4 Language

      Well, I have updated only where the files will go (in MQL4/Experts instead of /experts) and the compiler that will compile them (mql.exe instead of metalang.exe). For the local version - it uses the local compiler from the MT4 installation that is linked within fxDreema. I have not changing the code itself. I guess everything should be compatible, but who knows...

      These days I'm a little bit busy to set up my computers, because my main laptop broke and now I have new one with various new Windows 8 problems, and my mind is not exactly on MT4. So, if you have simple examples or something that shows problems directly... 🙂

      Otherwise now MQL4 gives some warnings like this "unused variable", but it should work with them without problems.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: How to count candles only after the trade?

      I still can't understand you, Google translate is not very good 🙂
      Can you explain the strategy in steps, like this, as simple as possible:

      1. do this
      2. do this...
      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to register values ​​of variables Candle: Buy, Sell, low

      Every trade has information associated with it, attributes, parameters - lot size, type, sl, tp, open price, open time and others. Candles have these: open, high, low, close, time. I don't fully understand what you want to do with these? To get candle parameters of that candle where the trade was created?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: MetaTrader 4 Build 600 with Updated MQL4 Language

      I updated fxDreema to write files in MQL4/Experts, but if there are MQL4 differences... I don't know, I was not tested everything. More details?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Empty blocks

      I will check that, don't update these blocks. But I have some problems with my computer and I don't know when I will fix it, so if you have build 70 - you can use it.

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

      variable1=MathAbs(variable2+variable3)

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

      Да бе, има някакъв проблем с шернатите проекти, ама ще го видя по-късно 🙂
      Така изглежда добе, но и винаги можеш да провериш стойността на някоя променлива, примерно с "Indicator tester". А вместо тия Formula можеш да ползваш и Variables.
      Няма значение дали има празно място, символа ";" означава край на някакво елементарно парче код и след него веднага започва друго.

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

      По принцип бих препоръчал да се знае малко програмиране, основите 🙂

      Може да се сложи в "Custom MQL4 code" като: resultA=MathAbs(resultB)+MathAbs(resultC);
      Или с трик да се сложи в някое Adjust поле като: ; resultA=MathAbs(resultB)+MathAbs(resultC)

      Забележи, че при втория начин ";" е отпред. Съдържанието на Adjust се намества между една затваряща скоба и едно ";", така че горния код разделя нещата на две независими части. Не знам как да го обясня точно, но става 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: mt4 build 600, Proindicator(my indicator) does not work

      So it's working. I was not able to reproduce this exact error, but I was already found something else and it looks that both problems were connected 🙂

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

      По някое време трябва да вкарам нещо такова, не че имам идея точно как, но иначе винаги може да се ползва тази функция: http://docs.mql4.com/math/mathabs

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to count candles only after the trade?

      I don't understand this request really 🙂 More details?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to register values ​​of variables Candle: Buy, Sell, low

      Then this one: http://fxdreema.com/demo/mt4-loop-how-it-works

      Using "For each Trade" you can load the last trade only if you have "Not more than n trades" set to 1. Then you can check that trade's parameters using Condition - find (in loop) category there.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to register values ​​of variables Candle: Buy, Sell, low

      This one probably can help: http://fxdreema.com/demo/mt4-variables

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Swing Trade EA using Heikin Ashi

      I found problem with custom idicators and I updated web and local versions, but I think this problem was from yesterday.

      Otherwise before modifying SL you can check if it's new value is above/lower the old one. I also found that Buy can be opened below the support line and then SL is above at invalid position, so i guess this also should be considered. Using "Condition" block with "(in loop).... -> Stop Loss (level, pips)" on the left side.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: mt4 build 600, Proindicator(my indicator) does not work

      I also detected that something is wrong with custom indicators. Meanwhile I'm rearranging my code and obviously I missed something. I will make 072 in a minutes... hopefully.

      posted in Bug Reports
      fxDreema
      fxDreema
    • 1
    • 2
    • 302
    • 303
    • 304
    • 305
    • 306
    • 374
    • 375
    • 304 / 375