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: Feature Request: MT5-MT4 Project Converter

      I looks that it's there, but it's probably not.
      In the beginning I started to add blocks to MT4 and to MT5 separatedly, and I was using different ID names for some blocks sometimes. For example NoTrades vs NoPositions. But I had no idea to allow mixing MT4 and MT5 blocks, back then there was no even copy-paste. Now I'm still not 100% into that idea, to mix MT4 and MT5 blocks. I suggest to remove those blocks that are missing and replace them. And also check conditions if something is used in MT5 that is not available in MT4.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Feature Request: MT5-MT4 Project Converter

      Well, some blocks are... long story, just replace them 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: formula write time lowprice canle period

      If you print that value in some way, no worry, it's only displayed that way. If you use Print() for example, there is difference if you use "," or "+":

      Print("Value = ",value);

      Print("Value = "+value);

      Using "+" will show more digits from the value.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: formula write time lowprice canle period

      It's not impossible. It's not added in fxDreema maybe because I never thought about it, but it can be done with some native MQL4 functions.... if you know what functions are.

      http://docs.mql4.com/series/ilowest
      http://docs.mql4.com/series/itime

      The first one gives you the shift of the candle where the lowest is, the second one uses that shift to give you the time of the candle. Ugly written:

      iTime( NULL, 0, iLowest(NULL,0,MODE_LOW,10,0) )
      

      And you have to know what kind of value the Time is. It's integer (whole number) like here: http://www.epochconverter.com/

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Feature Request: MT5-MT4 Project Converter

      So, Variables (and Constants) are associated by some ID number that is not visible. This is because initially I wanted to be able to rename them without affecting the data that is written in blocks. If some block is using a Variable with ID = 3, then you can give that Variable any display name, but the ID will remain the same. And this works inside the same project, but when you copy that block that has Variable with ID = 3 inside, then it depends what Variable holds that ID in the other project. I'm not sure, but I think that when I created those Constants and Variables it was not possible to copy/paste blocks between projects, so I was not thinking about this.

      There is some way to transfer whole project from MQL5 to MQL4 that is a little bit tricky and will also need to check what is missing (some blocks have different ID in MQL4 and MQL5, something that also needs to be fixed). Download .xml file, open that file with notepad and find <codelanguage>MQL5</codelanguage> near the beginning of the content. Rename MQL5 to MQL4, save that file and load it into fxDreema again.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Problem with sell orders

      I guess the problem is that "Close trades" is executed too often, not only when needed. I have seen your project and in those Conditions you compare two indicators (the same indicator with different settings) with == sign, I think this is not correct. You can try some block from "Indicators" category, or check what your indicator returns using "Indicator tester" block (this is to know what values you are actually comparing).

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Feature Request: MT5-MT4 Project Converter

      Damn, this requires database changes 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Strange behaviour in blocks - local 077

      Try 078 now 🙂

      Very good way to describe the problem, especially the "Steps to reproduce" part

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Modify Variable and Condition block

      No no, these are totally different kind of global variables, see here: http://fxdreema.com/documentation/proje ... metatrader
      In Condition use Value -> Numeric, I can actually see that you are using it that way in some of the Conditions.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Launch MetaEditor4 not working - local 077

      I found the problem, it will be fixed in the next build 🙂

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Launch MetaEditor4 not working - local 077

      I noticed this long time ago, I'm not exactly sure why it happens. I think it worked everytime if in the command (it calls a comand in cmd) I only tell to open MetaEditor without pointing to the .mq4 file to be opened, but this is not how it should be. Now even 070 doesn't work on my Windows 8.1, but on my other laptop with Windows 7 it's all fine, I just tried it with 077.

      But I will not recommend to run MetaEditor from there anyway, because I was not able to make it run in portable mode (or not portable mode), for some reason the --portable modifier does not work in cmd, so when you run it from there it will be in the normal mode, or in portable mode depending on the Windows version and UAC settings and who knows what other settings.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Backtesting and simulated cash withdrawal from the account

      They show how to generate report at the end of the backtest, but in the middle of the backtest how to make MT4 to show you that there was a withdraw, to make changes to the Balance/Equity chart, to make functions like AccountBalance() and AccountEquity() to return correct values. I don't know, if I have to do tricks with MQL4 and MQL5, I will rather program a whole new backtester. But this is something bih and I already think and work for different kind of project 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Backtesting and simulated cash withdrawal from the account

      I don't know how. I received this question long time ago, but I don't know any MQL4 function to do that. Also the swap, how to change it... well, MQL4 has some limitations.

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

      Това не ми се е случвало, ама и аз не пускам ръчни ЕА всеки ден. В лога не пише ли причината за спиране? Нещо от тези:
      Unitialize: Chart closed
      Unitialize: Expert removed from chart
      Unitialize: Expert recompiled
      Unitialize: Symbol or timeframe changed on the chart
      Unitialize: Inputs parameters was changed by user
      Unitialize: Other account activated

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Once per bar

      It looks to me that you can "modify stops" right after the trade is created, or assign stops in "Buy now". At least I don't see some condition that can add some delay between the trade's creation and modification, but here I see only what you posted, so... 🙂

      If i understand, you want when you have a trade stopped by SL/TP to wait until the current candle closes. I don't know what to suggest, this sound like a block that does not exists, something like "Check if trade was closed in this bar", which is not a bad idea. Or a block like "Pause until the new bar comes". Am I on the right track?

      Otherwise you can check last trade's close time with For each Closed Trade (set Not more than n trades to 1) -> check age (set it to close time).

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

      Това добре, важното е да не зацикля завинаги. Първоначално ми се стори, че проблема е че влиза в постоянна грешка и остава там докато не изгасиш експерта. Иначе при малки такива разстояния и при движение не е ненормално да се случват такива неща. Това е, че докато експерта изчисли къде иска да постави поръчката и докато изпрати тия данни, текущата цена вече се е променила и вместо да свърши работа връща грешка. И когато се отваря нещо, и когато се променя някой стоп, то се прави така - гледаш какво е Ask/Bid сега, калкулираш спрямо него, пращаш изчислените стойности и каквото стане. Щеше ми се да се пращат относителни стойности, pips, points, и чак когато пристигнат на сървъра да се вземе предвид какво е Ask/Bid, ама функцията OrderSend работи с абсолютни стойности 🙂

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

      Не бих вярвал на резултатите на скалперска стратегия тествана с M1 данните на MT. Те затова някъде предлагат т.нар. Ticks Data - реални тикове от Дукаскопи. Но дори и с реални тикове има момент когато може теста да е лъжлив - ако се използват разни зависимости по време (примерно тия блокове дето съм сложил Time Bomb). Доколкото знам реалните тикове са само реални стойности на Ask или Bid, но Time го няма в играта 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: illustrate Tedosi's trategies in fxdreema

      I don't know, this strategy is not mine and it does not say anything special about TP. It's not that it can't be placed. Now it closes on profit only in the next oversold/overbought.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: line on chart

      This block is one of those I created to mimic the work of an indicator, it just waits for certain conditions to be true and then activates it's orange output. It's not very different than the regular "Condition" block.
      If you want to draw a horizontal line on the chart at given moment, there is a block "Draw horizontal line".

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

      10-тте пипса са чак после когато ордера се е превърнал в трейд, грешките са към ордерите. А да, понеже в съобщението за грешка пише "...trade...", това сега го видях че го пише и в случай на грешка с ордерите, тъй че си мисли че думата е "...order...". Иначе го оправих де, сега трябва да е както трябва. Но и без това е ясно, нали още в началото на реда пише примерно sell stop.

      Сигурно си пробвал с TP по-малък от 1 пипс, даваше ли ти Too short TP requested (бла бла) minimum will be taken?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 295
    • 296
    • 297
    • 298
    • 299
    • 374
    • 375
    • 297 / 375