fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. MetaTrader
    3. Posts
    M
    • Profile
    • Following 1
    • Followers 0
    • Topics 20
    • Posts 72
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by MetaTrader

    • RE: Send HTTP request

      Yeah thats what I am looking for but there is no delimiter field for the httpRequest Block ... maybeDesktop Version is old again?

      posted in Questions & Answers
      M
      MetaTrader
    • RE: Two compiler warnings in Trailing Block

      I get two warnings when i add a trailing block.

      "expression not boolean AW_tpl_EA.mq4 2280 37"

      Its not visible when compiling with fxdreema but if I compile it directly in MT4:

      in the second line of those

      bool go_modify=false;
      if (polarity=="buy" && TrailWhat*(askbid-avg_price>toDigits(t_start)))
      {
      if ((TrailWhat*(askbid-group_stop)>=toDigits(t_stop+t_step)) || group_stop==0 || resetSL==true)
      {
      group_stop=askbid-toDigits(t_stop)*TrailWhat;
      go_modify=true;
      }
      }

      and 8 lines later the same

      My settings are

      Group#
      2
      buys and sells
      TakeProfit
      fixed pips
      4
      Pips
      2
      Yes...
      Clear ...
      DeepPink

      posted in Bug Reports
      M
      MetaTrader
    • RE: Formula Result

      Would be great to have a free formula block where we can write some mql4 code

      area for some lines of free code (hints apprecheated for the existing variables / constants / MQL4 keywords)
      last line must be an assignment like
      [ResultVariable = ] some free code.


      the User must define the Name of the ResultVariable

      posted in Bug Reports
      M
      MetaTrader
    • RE: Absolute Value Function

      I am looking for the same more or less, where to put that?

      example:
      Current price should be below or above an indicator value not more than for e.g. 10 pips
      If I use a formula block
      on the left side the indicator
      operator minus
      on the right side the price

      is half the way.

      Where can i put the MathAbs function call now?

      Or any other szenario where i want to use MathAbs or any other MT4 function.

      posted in Questions & Answers
      M
      MetaTrader
    • RE: Looking for a Crossing during last n candles

      Two blocks is not exactly hitting the point. 😞

      maybe there are more crossings during the last 5 candles. One on candle 4 one on candle 1. Comparing like you say will give me a false where it must be a true....

      posted in Questions & Answers
      M
      MetaTrader
    • RE: Radoslav told me about "makros"

      In an email last week, you made my day, because you told me the keyword "pips" is expanded to some code, which equals to 0.0001 or 0.01 or whatever a pip means.

      Is there a list of Makros? I guess you implemented more of that cool stuff?

      posted in Questions & Answers
      M
      MetaTrader
    • RE: Looking for a Crossing during last n candles

      I want to know if there was a ema crossing during the last 5 candles.
      Ok I can add 5 blocks for long condition with different offsets but then i need another 5 blocks for the short condition.

      Is there an simpler way?

      posted in Questions & Answers
      M
      MetaTrader
    • RE: Send HTTP request

      Not so much obvious: There are 10 KeyValue Pairs beside the Address and Method. and there is a way show response in a Message box.
      So its something thats not so obvious, how to take a not boolean result from a block to elsewhere.

      Maybe I want to evaluate the http response code or returned number / string to reuse it somewhere in my EA.

      posted in Questions & Answers
      M
      MetaTrader
    • RE: MagicStart + Random?

      Hello,

      I am curious if there is a way to set the Magic Number for EA's to something thats related to Symbol and maybe Timeframe.

      Why: I wrote an EA and I am still working on deatails. I have it on several Charts / Symbols / Timeframes. Everytime I put the EA on a new chart or recompile the EA I have to stop trading and set the Magic Number manually for not having conflicts

      Solution would be to do something like that: MagicStart + NumericRespresentation of Symbol (maybe the AsciiValues or is there a SymbolEnum) + TimeFrameEnum = individual unique Magic Number 🙂

      posted in Questions & Answers
      M
      MetaTrader
    • RE: Send HTTP request

      An other Question regarding http Request:
      How to get the result of http request for use in a condition?

      posted in Questions & Answers
      M
      MetaTrader
    • RE: Compiling error......

      Great that works for me

      posted in Bug Reports
      M
      MetaTrader
    • RE: Compiling error......

      I have problem with compiling from FxDreema.

      Pathes are fine, compiling from metaeditor works but not from FxDreema

      I always get a popUp with MQL4/MQL5 Compiler doesn't work anymore

      and in FxDreema:Compilation error: Server error, the file can not be compiled

      posted in Bug Reports
      M
      MetaTrader
    • 1
    • 2
    • 3
    • 4
    • 4 / 4