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: Distance less than certain amount of time

      Well, this block does A-B and compares this to C. The time is in it's own format - seconds from 1.1.1970 - and you can for example compare Candle Time [0] (or the current server time, notice that Candle Time does not change in every second) with another Candle Time that you have it in a variable. Again, this is measured in seconds, so foe example 1 hour is 3600 seconds.
      If this function can also help: http://docs.mql4.com/en/common/periodseconds

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Printing Group # and/or other text

      That comment section on the left is native for MT4 and MT5, it's how it is and cannot be modified... and is not treated as an object. To print text somewhere else object is used - Label or Text object. Here is the difference:
      http://docs.mql4.com/en/constants/objec ... t/obj_text
      http://docs.mql4.com/en/constants/objec ... /obj_label
      I started to write 1 block to draw all available objects once and as you can guess I abandoned that block. I don't know when will I finish it, but at least now the new MQL4 is done and I have green light πŸ™‚

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ΠŸΠΎΠΌΠΎΡ‰ Π·Π° МА прСсичанС

      Group Π½ΠΎΠΌΠ΅Ρ€Π° Π±ΠΈ трябвало Π΄Π° ΡΠ²ΡŠΡ€ΡˆΠΈ Ρ€Π°Π±ΠΎΡ‚Π°. Π—Π°Ρ‰ΠΎ са Ρ‚ΠΈ пък Ρ‚Π΅Π·ΠΈ Π·Π΅Π»Π΅Π½ΠΈΡ‚Π΅ "Set..." Π±Π»ΠΎΠΊΠΎΠ²Π΅, Ρ‚ΠΎ ΠΌΠΎΠΆΠ΅ ΠΈ Π΄ΠΈΡ€Π΅ΠΊΡ‚Π½ΠΎ Π² Buy now, Sell now Π΄Π° сС пишС ΠΈΠΌΠ΅Ρ‚ΠΎ Π½Π° Π΄Π²ΠΎΠΉΠΊΠ°Ρ‚Π° 😏

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Distance less than certain amount of time

      Distance less than 10 candles, what is that means? This blocks check the vertical distance, prices, how 10 candles fit in this picture?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ΠŸΠΎΠΌΠΎΡ‰ Π·Π° МА прСсичанС

      Π‘ Ρ‚Π΅Π·ΠΈ Π³Π»ΠΎΠ±Π°Π»Π½ΠΈ ΠΏΠ°Ρ€Π°ΠΌΠ΅Ρ‚Ρ€ΠΈ Π΄Π΅Ρ‚ΠΎ моТСш Π΄Π° Π³ΠΈ видиш ΠΊΠ°Ρ‚ΠΎ Π½Π°Ρ‚ΠΈΡΠ½Π΅Ρˆ F3 - Ρ‚Π΅ са записани някъдС във Ρ„Π°ΠΉΠ» ΠΎΠ±Ρ‰ΠΎ Π²Π·Π΅Ρ‚ΠΎ ΠΈ ΠΌΠΎΠ³Π°Ρ‚ Π΄Π° сС Ρ‡Π΅Ρ‚Π°Ρ‚ ΠΈ записват ΠΎΡ‚ всички СкспСрти. Но ΠΏΡ€Π΅Π΄ΠΏΠΎΠ»Π°Π³Π°ΠΌ са ΠΏΠΎ-скоро Π·Π° ΠΏΡ€Π΅Ρ…Π²ΡŠΡ€Π»ΡΠ½Π΅ Π½Π° някаква основна информация, Π½Π΅ Π·Π° някакъв високоскоростСн ΠΎΠ±ΠΌΠ΅Π½. Π˜Π½Π°Ρ‡Π΅ вСроятно ΠΈΠΌΠ° ΠΏΠΎ-дълбоки Π½Π°Ρ‡ΠΈΠ½ΠΈ ΠΊΠ°Ρ‚ΠΎ Named Pipes ΠΈΠ»ΠΈ Winsock... Π½ΠΎ Ρ‚ΠΎΠ²Π° са ΠΏΠΎ-дълбоки Π²ΠΎΠ΄ΠΈ πŸ™‚

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Printing Group # and/or other text

      To print group number (which is related to the magic number, read about it in the help or somewhere in the forum) you first need to select the trade or order (with "For each Trade" for example, read it's description for more info). Then there is a block "Comment on chart" where you can load multiple values to print right on the chart, and Group number also - somewhere in the pink category that starts with "(in loop)...".
      For text... also "Comment on chart" if you want it on the chart.
      I can also suggest "Indicator tester" block to backtest various numeric values.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Convert mq4 to mq5?

      MT5 is from 2010 and it still cannot beat MT4 because of this problem and also because MQL5 is not as simple as MQL4. I also noticed that MT5 in visual mode is slow, I don't know why.
      Now the new MQL4 is similar to MQL5, I think they added possitives from MQL5 to it and in backtesting MT4 600+ should be faster than older versions. If you are still on version 509, get the latest version, this is first. I don't know about the processor, I have normal processors here πŸ™‚ I can suggest how to speed up the process of generating ticks data. Well, I'm not aware if Tickstory or something like that can be used to skip this process, but in any case now there are SSD hard drives which are faster than normal HDD. SSD have their problems as well - they have limited write cycles and MT4 can only make their life shorter, but there is something even more faster - the RAM πŸ™‚ If you have more RAM (I think 4GB is small amount of RAM these days) you can create what is called Ramdisk and to read/write files from there with amazing speed.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Convert mq4 to mq5?

      The biggest problem is that MT4 works with multiple trades and MT5 works with a single position per market. Not even a month ago MQL5 had more features, now MQL4 is almost like MQL5, but that trades-position difference remains, and that difference leads to different strategies basically - the same strategy will not work the same way in MT4 and MT5. That's why I keep MT4 and MT5 separate πŸ™‚ Otherwise in the code I tend to make everything to look similar, if possible.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: reverse sent order

      There are at least 2 ways to do that. In "on Tick" only or using "on Trade". In "on Trade" you can detect when a trade hit SL or TP (and then do what's needed). But "on Tick" is always better, where you can check the profit and the type of the last trade... if that fits the idea. Well, here is a little problem, a trade can hit SL and still be profitable (if SL was moved on profit). Maybe I should think for a block to check how exactly the last trade was closed (by SL, by TP) πŸ˜•

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ea opens a lot of orders

      Because "Check trades count" goes to one output when there is 1 trade and to the other output otherwise. I guess you got many sell trades and buy pensing orders and 1 buy trade and 1 sell pending order. Π’his combination of blocks is inappropriate, maybe you have to use two "brown" blocks, each one set to Buys or Sells.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Forum user new EA idea

      In "Buy now" (for example) click up where "Group and Market to use" is and you will see where to put the market name. You can use 2 blocks for both pairs. There is another way using "Set Current market for next blocks"... you can read it's description. Note that MT4 can't backtest multiple pairs at once, only the current one, or at least this was true before version 600 πŸ™‚

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ΠŸΠΎΠΌΠΎΡ‰ Π·Π° МА прСсичанС

      На тСория ΠΌΠΎΠΆΠ΅ Π±ΠΈ, Π°Π· замислях Ρ‚Π°ΠΊΠΈΠ²Π° Π½Π΅Ρ‰Π° Π·Π° MT5 - Π΄Π° симулира мноТСство ΠΏΠΎΡ€ΡŠΡ‡ΠΊΠΈ ΠΊΠ°ΠΊΡ‚ΠΎ Π΅ Π² МВ4. Π’Π°ΠΊΠΎΠ²Π° Π½Π΅Ρ‰ΠΎ Π΄Π°ΠΆΠ΅ Π½Π΅ ΠΌΠΈ Π΅ Ρ…Ρ€ΡƒΠΌΠ²Π°Π»ΠΎ Π·Π° МВ4.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: reverse sent order

      By definition Martingale (this is betting system) is when you double after loss and set to initial after win. I plan to add this MM in Buy now, Sell now, but at the moment it is in independent block. Well, using some variables it can be acheived with Buy now, Sell now. But if you really need Martingale, I think these block will be enough... until you get tired of trying to make Martingale to work without blowing the whole account πŸ™‚

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ΠŸΠΎΠΌΠΎΡ‰ Π·Π° МА прСсичанС

      Какво ΠΎΠ±Ρ‰ΠΎ ΠΈΠΌΠ° ΠΌΠ°Ρ‰Π°Π±ΠΈΡ€Π°Π½Π΅Ρ‚ΠΎ, Ρ‚ΠΎ няма Π½ΠΈΠΊΠ°ΠΊΠ²ΠΎ ΠΎΡ‚Π½ΠΎΡˆΠ΅Π½ΠΈΠ΅ към ΠΏΠ°Ρ€Π°ΠΌΠ΅Ρ‚Ρ€ΠΈΡ‚Π΅ Π½Π° свСщитС. Ако имаш 900 свСщи Π½Π°ΠΌΠΈΡ€Π° Ρ†Π΅Π½Ρ‚ΡŠΡ€Π° ΠΌΠ΅ΠΆΠ΄Ρƒ Π½Π°ΠΉ-високата ΠΈ Π½Π°ΠΉ-ниската, нСзависимо Π΄Π°Π»ΠΈ Π² ΠΌΠΎΠΌΠ΅Π½Ρ‚Π° са Ρ‚ΠΈ Π½Π° Π΅ΠΊΡ€Π°Π½Π° ΠΈΠ»ΠΈ са някъдС Π½Π°Π·Π°Π΄. Π£ΠΊΠ°Π·Π°Π½ΠΈ са 900 свСщи, Π·Π½Π°Ρ‡ΠΈ Π°ΠΊΠΎ Π³ΠΈ ΠΈΠΌΠ° си Π³ΠΈ ΠΈΠ·ΠΏΠΎΠ»Π·Π²Π°, Ρ‚ΠΎΠ²Π° са 15 часа. Π•Ρ‚ΠΎ ΠΏΡ€ΠΈ ΠΌΠ΅Π½ ΠΊΠ°ΠΊΠ²Π° Π΅ ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠ°Ρ‚Π°: http://prntscr.com/2u17wz Π—Π°ΠΏΠΎΡ‡Π²Π° Π΄Π° ΠΏΠ°Π΄Π° слСд ΠΊΠ°Ρ‚ΠΎ високия Π²Ρ€ΡŠΡ… Π² ляво станС свСщ Π½ΠΎΠΌΠ΅Ρ€ 900+, ΠΏΡŠΡ€Π²ΠΎΠ½Π°Ρ‡Π°Π»Π½ΠΎ Ρ‚Π°ΠΌ Π΅ Π²ΡŠΡ€Ρ…Π°. Най-ниската стойност ΠΌΠΈ Π΅ Π³ΠΎΡ€Π΅ Π΄ΠΎΠ»Ρƒ Π΅Π΄Π½Π° ΠΈ ΡΡŠΡ‰Π°.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ΠŸΠΎΠΌΠΎΡ‰ Π·Π° МА прСсичанС

      Π’ΠΎΠ²Π° Π»ΠΈ Π±ΠΈΠ»ΠΎ... само Ρ‡Π΅ Π°Π· сСга трябва Π΄Π° ΠΈΠ·Π»ΠΈΠ·Π°ΠΌ Ρ‡Π΅ ΠΈΠΌΠ°ΠΌ Π½Π΅Ρ‰ΠΎ Π΄Π° ΡΠ²ΡŠΡ€ΡˆΠ°, Ρ‚ΠΈ Π°ΠΊΠΎ искаш ΠΏΡ€ΠΎΠ±Π²Π°ΠΉ Π΄Π° видиш с Indicator tester ΠΊΠ°ΠΊ са Π½ΠΈΠ²Π°Ρ‚Π°, Π°ΠΊΠΎ Π½Π°ΠΌΠ΅Ρ€ΠΈΡˆ някаква Π³Ρ€Π΅ΡˆΠΊΠ° Π² изчислСнията пиши. МоТС Π΄Π° ΠΈΠΌΠ° ΠΏΡ€ΠΎΠ±Π»Π΅ΠΌ с Ρ‚ΠΎΠ²Π° 900, Π½Π΅ Π·Π½Π°ΠΌ Π΄Π°Π»ΠΈ ΠΈΠΌΠ° някакво ΠΎΠ³Ρ€Π°Π½ΠΈΡ‡Π΅Π½ΠΈΠ΅, Π½Π°Π»ΠΈ ΠΈΠΌΠ° Π΅Π΄Π½ΠΈ настройки Π·Π° Π±Ρ€ΠΎΠΉ свСщи Π½Π° Π³Ρ€Π°Ρ„ΠΈΠΊΠ°Ρ‚Π°.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: reverse sent order

      Martingale?
      There are blocks able to control lot size by themselves (search for martingale in the search field). To control type of trades - sell, buy, sell, buy - it depends, you can check what was the last trade (category "Checkup") and open the opposite.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ΠŸΠΎΠΌΠΎΡ‰ Π·Π° МА прСсичанС

      НС Π²ΠΈΠΆΠ΄Π°ΠΌ Π½Π΅Ρ‰ΠΎ Π΄Π° ΠΎΠ³Ρ€Π°Π½ΠΈΡ‡Π°Π²Π° Π»ΠΈΠ½ΠΈΠΈΡ‚Π΅, ΠΏΠΎΠ΄ "on Tick" Π½Π° всСки Ρ‚ΠΈΠΊ Ρ‰Π΅ сС Ρ‡Π΅Ρ€Ρ‚Π°Π΅ ΠΏΠΎ Π΅Π΄Π½Π° линия ΠΊΠ°ΠΊΡ‚ΠΎ ΠΈΠ·Π³Π»Π΅ΠΆΠ΄Π°. МоТС Π±ΠΈ Π½Π΅Ρ‰ΠΎ ΠΊΠ°Ρ‚ΠΎ "Once per bar"?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Manager for trade

      Yes, at the end the magic number must be the same, it is always specified. Even for manual trades and orders it is some value - 0. Look here: http://fxdreema.com/documentation/proje ... d%20groups
      Normally EAs work on every tick, this is "on Tick" in fxDreema. "on Trade" is not native for MQL4, I added some functions to create this trick. Use what will do the work.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: NO TRADE IS RUNNING

      Bu default it works for the current currency only, for example EURUSD. See that "Market mode" option. You can specify multiple markets like this "EURUSD,GBPUSD,USDJPY" in the Market input field and it should consider those.

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

      I'm not sure if this is a good idea. To break even first you need to detect when the trade is profitable enough to be locked, this information should be kept in an array, and it's nearly impossible to work with arrays in fxDreema. Well, "Once per trade/order" does that in a way, it keeps some data in it's own array.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 299
    • 300
    • 301
    • 302
    • 303
    • 374
    • 375
    • 301 / 375