fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. BlueMoon
    3. Posts
    B
    • Profile
    • Following 3
    • Followers 3
    • Topics 96
    • Posts 246
    • Best 5
    • Controversial 2
    • Groups 0

    Posts made by BlueMoon

    • RE: Delete existing Pending Orders when Trade opened

      Can someone please help?

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Delete existing Pending Orders when Trade opened

      My sequence of events are as follows:

      My EA will create a Sell Pending Order and a Buy Pending Order.
      If my Sell Pending Order gets triggered, I want the Buy Pending Order to be deleted and vice versa.

      How do I achieve this?

      posted in Questions & Answers
      B
      BlueMoon
    • Delete existing Pending Orders when Trade opened

      I want all Pending Orders of "XXXYYY" currency pair to be deleted when a new trade is opened for the "XXXYYY" pair.

      The XXXYYY pair is not unknown at the time of building the EA.

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Modify Stops of Trades Block

      Thanks. That works! I wonder why the "Modify Stops of Trades"
      block does not have "No change" option.

      posted in Questions & Answers
      B
      BlueMoon
    • Modify Stops of Trades Block

      I want to remove the "Take Profit" but I do not want to change anything for "Stop Loss" and vice versa. It seems like it is updating both. How can I just update 1 but not the other

      posted in Questions & Answers
      B
      BlueMoon
    • Add values of string and double variables?

      I have the following 2 variables. How do I add value of them to generate another string variable?

      Double abc 3.4467
      Srting xyz "hello"

      I want to add the xyz + abc to produce a string variable with value "hello 3.4467"

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Timeframe as input

      @fxdreema said in Timeframe as input:

      PERIOD_H1

      That worked like a charm! Thank you so much

      posted in Questions & Answers
      B
      BlueMoon
    • Timeframe as input

      Is it possible? I tried this but it seems to be not working.

      posted in Questions & Answers
      B
      BlueMoon
    • Can I import .mq4 files?

      If I get hold of existing EA written by someone else...can I import it into fxdreema to make changes to it?

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Draw an arrow above and Below Candles

      Thank You. I will look it up.
      But this would be still be an EA or a script. Is there anyway to make it into an indicator?

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Draw an arrow above and Below Candles

      Thanks for your reply. How do I do it in an EA. Also how do I change it to an indicator? I believe I can't build Indicators using fxDreema. Please let me know

      posted in Questions & Answers
      B
      BlueMoon
    • Draw an arrow above and Below Candles

      Can someone please help me how to do this? I want to a Red arrow pointing down above every Bull candle whose body is greater than 50pips and a Green Arrow point up below every Bear candle whose body is greater than 50 pips. I want all this for last 200 candles.

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Notification options without MT4 installed on my phone

      bump!
      Was hoping to get some help on this

      posted in Questions & Answers
      B
      BlueMoon
    • Notification options without MT4 installed on my phone

      I would like to receive notifications on my phone without installing MT4 on it. What are my options to do this?

      I was wondering if any of the following was possible?

      1. SMS (text) message
      2. Email message.
      3. Whatsapp message
      posted in Questions & Answers
      B
      BlueMoon
    • How to obtain factorial of a variable?

      I would like to get factorial of my variables? Can you help me find this?

      Example:
      If my variable had values 2,5

      2 = 2 X 1
      5 = 5 X 4 X 3 X 2 X1 = 80

      posted in Questions & Answers
      B
      BlueMoon
    • RE: zero divide in '11872-26913.mq4' (5750,31)

      I wanted to provide more information. I was able to debug this myself and found out exactly which line of code is throwing this error. Here is that line. Can you please help finding out what is happening here? and how I can fix this?

      return(CustomPoint(symbol)/MarketInfo(symbol,MODE_POINT));

      posted in Questions & Answers
      B
      BlueMoon
    • RE: What do these errors and warnings mean?

      bump!
      This is really time sensitive for me.

      posted in Questions & Answers
      B
      BlueMoon
    • RE: zero divide in '11872-26913.mq4' (5750,31)

      Bump!
      Really need to fix this problem.

      posted in Questions & Answers
      B
      BlueMoon
    • RE: zero divide in '11872-26913.mq4' (5750,31)

      @fxDreema said in zero divide in '11872-26913.mq4' (5750,31):

      What code do you have around this row?

      I just checked the code as well around this row....Below is what I see.

      double VirtualStopsDriver(string _command="", int _ti=0, double _sl=0, double _tp=0, double _slp=0, double _tpp=0)
      {
      if (!USE_VIRTUAL_STOPS) {return(0);} // Virtual stops are not enabled => stop here

      static ulong mem_to_ti[]; // tickets
      static int mem_to[]; // timeouts
      static ulong last_checked_ticket=0;

      static string command; command=_command;
      static int ti; ti=_ti;
      static double sl; sl=_sl;
      static double tp; tp=_tp;
      static double slp; slp=_slp;
      static double tpp; tpp=_tpp;

      static int i; i=0;
      static int ii; ii=-1;
      static int size; size=0;
      static int error; error=0;
      static int pos;
      static int total;
      static string name;
      static double ask, bid;
      static string print;

      posted in Questions & Answers
      B
      BlueMoon
    • RE: zero divide in '11872-26913.mq4' (5750,31)

      I do not have any custom code. Just using regular blocks.
      Based on my reading and research I found out that this could be caused by me trying to divide something by 0 (zero) and since mathematically this returns "infinite", it could cause all issues. But as far as I know I don't think anywhere in my logic...I should come across diving something by "0" The 1 thing I can think of is I obtaining the "Point size" of a market and using that value. But I checked and double checked and triple checked many many ways, that it does successfully return a value which is not zero.

      Please help me

      posted in Questions & Answers
      B
      BlueMoon
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 12
    • 13
    • 5 / 13