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: Close Trades when a specific rawdown is reached

      You can try this: http://prntscr.com/e766g3 I hope that it will work, but I'm not sure, because I made this long time ago and even I forgot how this thing works. What I tried back then is to make all the statistics that appear after the end of a backtest available in realtime. Probably not the best idea ever, these calculation would slow down the EA 🙂 This is only for the MQL4 part.

      I guess Drawdown can be also calculated with some Variables. I forgot how exactly this was calculated, but I think that you need to always look for the maximum value of Equity (or Balance).

      All the above is true for the global Equity/Balance. If you want to work only with certain group of trades... well, maybe you don't really want Drawdown, maybe you want "Check profit (unrealized)". Also different values calculated from certain group of trades can be get with these "Bucket..." blocks.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Can you create Indicators using FxDreema?

      Expert Advisors, Scripts and Indicators are different kind of programs that have the same file extension. You are responsible to put these files in the right folders 🙂 If you put EA into the /Indicators folder, it will not work.

      Indicators cannot be embedded into the code of an Expert Advisor. You can use as many indicators as you want in the EA, but these indicators remain separate programs and their files must exist in /Indicators. The EA only needs to know the name of the indicator that it uses, the input parameters and also to point to the output buffer from which to get the data. So, in fxDreema you only need to define those 3 things - indicator name, input parameters and output buffers. This happens automatically when you "upload" an indicator file (which is not actually uploaded) or manually fill all the data that is needed.

      When the EA calls to an indicator, it loads that indicator in background. You can add the same indicator over the chart, but it will be different instance of the indicator.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Trade when current candle hits a new high

      What do you mean by new high? Because even in the first moments of the existence of the candle new highs are formed, probably multiple. Every time the price goes up. So I think you just want to measure the size of the upper wick.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Can fxdreema work on all the fore pairs?

      In many blocks you can find that "Market" option, which is empty by default and means the current market (or Symbol). So you can type something there and it should work.

      But in the Tester of MetaTrader 4 you can't backtest an EA if it uses different symbols. Only the one that is selected can be used, otherwise you will see errors. In MetaTrader 5 you can backtest multiple symbols... I'm not sure how accurate are the results.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Calculate Weight Average Open Price

      I surrender at this. It's not impossible, but the solution will be ugly I think. But why do you need this? In "Trailing stop (group of trades)" this is something that happens in the block. If you want it for something else, maybe there is a better alternative. I think that, because I don't remember someone asking the same question before.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: What are these used for?

      Parameter 1, Parameter 2.... If used in those colorful field should give you the value of the parameters on the left. If you use P7, it will get the value from the "Profit amount" parameter, which is 0.

      Basically the same idea as V1, V2 or C1, C2. But while "V" comes from Variable and "C" comes from Constant, "P" comes from Parameter

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Binary options

      Well, the way Martingale works is like this. Let's say that "Buy now" runs and Martingale is selected. The block knows the Market and the Group, both are options for the block. So it looks at the latest trade that has the same Market (or Symbol) and Group number (relates to the Magic Number) and based on its profit calculates the next profit.

      Let's forget about the Group number. I'm afraid that the job cannot be done because of the Market name. At least with the option in "Money Management"

      So, what can be done... You can load the trade from which you want to get the lot size with "For each Trade" and then use its lot size in "Buy now". But the profit must be checked as well, so I think that the lot size should be first put into a Variable and then used in "Buy now". Not very elegant way to do something that sounds simple, I guess 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Open a trade with 3 indicators crossing and close with one crossing again

      This looks different 🙂

      Ok, so... I feel that every 3rd question that I get is something like "Why do I have so many trades...". Because of "Close trades" obviously. This is the block who is capable to close a trade. The conditions above Buy/Sell and the conditions above "Close trades" must not be true at the same time.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Variable issue when running EA on multiple pairs

      In fxDreema these are named "Terminal Variables"

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: EA saying self terminated

      What do you mean by self terminated? Some error messages?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Problem with variables

      What... where do you put that 0 and how it looks? Some screenshot?

      I had hosting problems, but now I believe everything is fine. Maybe you have troubles to export .ex4/.ex5 files? Unfortunately the compiler itself (metaeditor.exe) is f*** slow and it gets slower with every next build from MetaQuotes 😞 They didn't programmed it very well.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Two indicators at the same time

      AND is almost never needed, but many people use it and I don't know why. Connecting 2 Condition blocks one after another is a natural AND. Here is something about Once per bar: https://fxdreema.com/demo/mt4-once-per-bar

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: What is "Change Status to" used for in a block?

      This is one stupid option that once I decided to remove, but someone wrote to me "Nooo, don't remove it, I use this" 🙂 When you enable this in a block, when the block passes (to the orange output), this will change: http://prntscr.com/e68z31

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Variable issue when running EA on multiple pairs

      Those variables are global. There are actually members of a class, not real global variables... but they are still global for the fxDreema project. There are no local variables.
      Variables can be arrays by the way, just add [] after the name. But arrays are hard to use in MQL in my opinion, you will most probably see many errors before you finally do what you want with them 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Arrows and Lines on my chart

      The EA itself does not make these, it's MetaTrader. I tried to set the arrow color in Buy now to None, but it didn't worked. You can always delete chart objects with "Delete objects", something like this: http://prntscr.com/e68qp2

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Help! ATR entry

      There is a way of course. When you compare values, compare similar types of values. Compare apples with apples, not apples with grapes 🙂 And of course, if you use the Adjust field to make apples from grapes, be sure that you are using correct values.

      Or you can try to compare ATR 1 with another ATR 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: The strategy from scratch questions and problems

      But why in block 190 you selected (in loop)? This is to be used when "For each Trade" is used, when you loop trades, not objects. And why do you count objects, this is strange for me

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Open a trade with 3 indicators crossing and close with one crossing again

      Is the problem still actual? Because when I put your EA on backtest it looks that trades are closed by TP or SL, but not in milliseconds. http://prntscr.com/e683pn

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Help! ATR entry

      I can see you have something like this: http://prntscr.com/e4ydv6 Are you sure you want to use *1000 instead of *10000?

      Then you have this: http://prntscr.com/e4yfe8 On the left side note the word (pips). On the right side you have price level, not pips. You can't compare pips with price levels. I think you want to have on the right side something that is similar to what you have on the left side.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: buy/sell expiry option in mq5/ex5 projects

      The problem is that there are Expiration settings only for the MQL4 part, but he is working in MQL5. I don't know when will I add those settings for MQL5, so I will suggest to try pink blocks For each Trade -> check age -> close

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 99
    • 100
    • 101
    • 102
    • 103
    • 374
    • 375
    • 101 / 375