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: specified level of price

      This sounds to me like crossover, but I'm not sure you will like the current crossover in Condition block. Well, you can always construct some crossover rules with few Condition blocks and using "<" and ">". You can use Candle Close/Open or Bid price. For the current candle you can check when Close > 1.37 AND Open < 1.37, this means that the candle crossed the 1.37 line. Or using Bid price, there is a parameter Tick ID, wait for these conditions - Bid[0] (this is the current Bid price) > 1.37 AND Bid[1] (this is the previous Bid price) <= 1.37. I think I prefer to work with candles.

      In Condition block you can find "Adjust" everywhere, put +0.0002 or +input3 (the name of the variable used here) there. I can suggest to read the description of Condition block.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ea not working

      Oops, i thought this was fixed yesterday, I obviously forgot to upload some file. It's ok now, thanks for the report.

      I was using a new function for the new "on Chart" event that is using long datatype which is not valid in the old MT4. Also that whole "on Chart" think is not valid in it, just to mention.

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

      What is that manager? If it's something fancy with cool interface, buttons and who knows what, I think there should be something like that in internet. Otherwise if the question is whether you can control specific group of trades - yes, here the Magic number matters.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: specified level of price

      Using Condition block you can check what is the price at the moment and react when needed, or even better if you place some pending order at that price. I think the question is how do you calculate that price?

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

      Well 0.0005 is 0.0005, nothing more, nothing less. For USDJPY it will not work.

      Break even is working in the most simple way - it places SL at the open price and forgets. There is an offset parameter so it can place SL at open price +/- some pips if there is a need to compensate something. Real break even will be if it constantly check the trade and when the profit hits 0 to close it, but I think the way it is now is also working for the idea... almost.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ea not working

      As I said this color has nothing to do with the EA internally. When MT4/MT5 is starting it automatically deletes any EA with wrong format (corrupted files), so if you are seeing it there, it should work.

      Well, yesterday I was doing some updates and there was a period where experts were exported in "corrupted" format but not deleted by MT4. MT5 was actually able to handle this, but MT4 was not. So if your EA is 1-2 days old... this can be the case. But if it can be loaded and saying "Starting..." then it's fine. And if it is corrupted, then look at the logs and you will see an error message.

      Otherwise about the gray color, if you don't believe me look here: http://forum.mql4.com/54308 The color is gray when .mq4 is not there, only .ex4, and it does not tell anything about the quality of the EA itself.

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

      This function "toDigits()" is some that I have created and I can decide to remove or modify it in future. And there is no need to use it if you have some point format rules, because there you are saying what the format should be. For example you can set up 4 and 5 digit symbols (like EURUSD, GBPUSD...) to work always as 4 digits, so that value 0.0005 will be always valid, this is 5 pips, and it does not require calculations (because toDigits() does some more things). So I will recommend -0.0005 or dividing a variable to 10000.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ea not working

      What do you mean by "gray"?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ea not working

      I noticed that you are using "For each Closed trade" block. Be aware that in real mode you may have many many closed trades, all in the history, and this block will do them all most probably. Maybe I have to add some time limit option (to stop the cycle when the trade's close time is too old), but you can also limit them by number, look at the "Not more than n history trades" option. Also that block "(loop) break" can be used.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: ea not working

      You mean that in the list of Experts of MT4 it's color is gray? That's because no .mq4 file is present, only those who have source code files in the experts folder are colored.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Where is my .ex4 file?

      MetaTrader 4 was updated and it has new directory structure now. In the same time Windows 8 becomes more popular. Combine those and there is a big chance that you will not find your .ex4 file where it is supposed to be. Here are some things to be considered...

      • First of all, if you are using the local version of fxDreema, use the latest.

      • starting from build 600 MetaTrader 4 stores the data (experts, indicators, libraries) in a directory called "MQL4".
        http://img822.imageshack.us/img822/6641/dvl8.png

      • In Windows 8 by default MetaTrader 4 does not work with that "MQL4" directory that is located in it's installation subfolder, and probably it's the same case in Windows 7 with UAC enabled. So, go to "File - Open Data Folder" to see where is the working data directory for your MetaTrader 4 installation.
        http://img208.imageshack.us/img208/7909/0wj3.png

      It can be in a directory that looks similar to this: C:\Users%USERNAME%\AppData\Roaming\MetaQuotes\Terminal\9E90172A31F235065E520B4269307A37
      Why is there? Because newest Windows versions prefer to have programs and their data separated. Yes, Microsoft is dumb.

      • If you want to use that folder anyway, copy-paste it's path here:
        http://img30.imageshack.us/img30/9783/c99m.png

      • If you want to use the home "MQL4" directory, then be sure that MetaTrader 4 is running in portable mode, do this:
        http://img593.imageshack.us/img593/198/gfu2.png

      Run MetaTrader from that shortcut every time.
      Now if you go to "File - Open Data Folder" it should send you to where MetaTrader 4 is installed.

      • If you have MetaTrader installed in Program Files or Program Files (x84) and UAC is enabled, it will not allow programs to write files there. Then, be sure that you start fxDreema (or if you are loading the web version - the browser itself) as an administrator.
        http://img89.imageshack.us/img89/1333/hw23.png
        Yes, fxDreema is a bad program in the eyes of Windows, but it's nature is such that it must break some rules in order to deliver files into the MetaTrader's folder.

      • If you are working with older MT4 or MT5 where it seems that it does not use it's local experts, or sometimes does it, other times not, most probably you have UAC enabled and MT is working from another remote directory called "VirtualStore". Check it out:
        C:\Users%USERNAME%\AppData\Local\VirtualStore

      Additional information: In Windows 7 you can easily turn off UAC, but on Windows 8 even if it looks disabled, it's not, because all thos strange Metro apps can't work without it. There is a way to completely disable it, for ones who really wants that, but Metro apps will no longer work.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Check Trades Count Block For Multiple Groups

      I should work for multiple markets, if you write something like "EURUSD,GBPUSD" in the Market (empty=current) field. Group number can be single number only. Maybe in future I can change it a little bit, who knows.
      Otherwise many things can be made with custom code, if you know MQL4/MQL5 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Zero Divide

      http://fxdreema.com/public/desktop/down ... ld_075.exe this works?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Trailing stop (Group of Trades)

      I discovered that the existing "Dynamic" option was actually in pips format instead of price level. So I renamed it and I added the price level option.
      The other option, I think it's not for this block, try "Trailing money loss" 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Trailing stop (Group of Trades)

      I was a little bit busy today fixing some problems, I will check this tomorrow. I'm not sure if those are correct for this block, but I will see...

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

      Uploaded

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to controle Trade and Pendings?

      Two ways to do that. One way is in "on Tick" to ask for "No trade is running" and then "Delete pending orders", if the strategy can work like this of course. And another way is in "on Trade" to wait for event "(on trade) Trade closed" and then again "Delete pending orders", and this method is similar to the first one because in order to detect that event somewhere in the code there is something that checks for new events on every tick. The first method will be faster in backtest I think.

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

      But mine does not go back. If you are trying this project you posted last, there you have this pard on the right with "For each Trade" that will suerely go back. My idea is to use Trailing stop block instead, not with.

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

      I think that "+function+" is not working long time ago, what worked is ""+function+"" with double ", but these are tricks and I don't pay big attention to them 🙂 And at the end it's all my fault because tricks are used when there is no normal way to do it 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Using indictors with condition box

      In Condition you compare two values, and in case of crossover - 4 values. As a form of data, indicators are arrays with values where the keys of these arrays are candle ID's (candle's number relative to the current candle which is 0). Here I wrote something that can be helpful: http://fxdreema.com/documentation/getti ... indicators
      And this is for crossovers, but I think I will revise the crossover method in future: http://fxdreema.com/documentation/proje ... er%20works

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