fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. nmbruno
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 11
    • Best 1
    • Controversial 0
    • Groups 0

    nmbruno

    @nmbruno

    1
    Reputation
    470
    Profile views
    11
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    nmbruno Unfollow Follow

    Best posts made by nmbruno

    • RE: GMT Timestamp to Server / Chart Time *** SOLVED ***

      @nmbruno Nevermind, I believe I figured this out. I need to use Epoch time in seconds...

      posted in Questions & Answers
      N
      nmbruno

    Latest posts made by nmbruno

    • RE: How to define a portion of a variable name from user input as a constant

      @jstap Thanks, I believe this will help me.

      posted in Questions & Answers
      N
      nmbruno
    • How to define a portion of a variable name from user input as a constant

      Hi,
      Is there a way to define a portion of a variable name using a user-defined string (as an input constant)?

      For instance, if I have a variable named "Lotsize_XX" in my algorithm, and I want to run the EA for XAUUSD.
      I want to be able to define a string constant "XAUUSD" which will then change my variable's name from "Lotsize_XX" to "Lotsize_XAUUSD"

      Is there a way to do this in fxdreema?

      Thanks

      posted in Questions & Answers variables string constants
      N
      nmbruno
    • RE: Custom Indicator Help

      @bruno-3 I think you might need to use chart objects and their parameters to compare against candle properties. I've done this with another indicator and it works quite well. You can define a variable from chart object parameters.

      posted in Questions & Answers
      N
      nmbruno
    • Negative Volume Index (NVI) indicator with MQ4 and fxDreema

      Hello,
      @fxDreema
      I am trying to code an indicator in MQL4, then use fxdreema's "custom MQL Code" to view it on the chart. Ideally, I would like to use buffers to develop a strategy based on the indicator.

      The negative volume indicator is explained (here) quite well.

      I have no experience coding MQL4, which is why I use fxdreema, however, I have experience with other coding languages. I'm not a programmer or computer scientist (I'm a mechanical engineer), but do have experience with C++, little bit of visual basic, and MATLAB coding languages.

      I took the Custom Moving Average Code in MT4 and tried to modify it in MetaEditor and implement it on the chart. However, even though I get the code to compile in MetaEditor, it doesnt show me anything on the chart. There is a bug somewhere in the code and I was wondering if someone could help me fix it? Part of the strategy requires to take the moving average (period 255 ) of the NVI indicator, but I saw in another forum post that this is not possible with fxdreema. I was hoping to add on to the NVI script to automatically compute MA(255) of the first indicator's data like that shown below.

      In the script, I deleted all different types of moving averages and only use the exponential (EMA). Attached is the .mq4

      Really the "juice" of the code is as follows:
      {... if ( volume[i]- volume[i-1] < 0)
      ExtLineBuffer[i]=ExtLineBuffer[i-1]+((close[i]- close[i-1])/ close[i]);
      else if(volume[i]- volume[i-1]>=0)
      ExtLineBuffer[i]=ExtLineBuffer[i-1];
      }
      NVI_indicator_draft1.mq4
      The NVI is similar to Accumulation/Distribution which is what is shown in the figure, below, but a little different.

      ![no image](0_1585321421446_Picture1.png image url)

      posted in Questions & Answers
      N
      nmbruno
    • RE: Applying an indicator to Previous / First Indicator's Data in fxDreema

      @fxdreema Has there been any developments on this in the past 3 years? Or is this still impossible for MT4 with fxdreema?

      posted in Questions & Answers
      N
      nmbruno
    • RE: Day of month filter

      Anyone have any idea?

      posted in Questions & Answers
      N
      nmbruno
    • RE: Day of month filter

      No, I want the first friday of the month to be blocked. all other days are OK

      posted in Questions & Answers
      N
      nmbruno
    • RE: Day of month filter

      Perhaps I could use hours filter in combo with the weekday filter?

      i.e. if hours from start of month <=168 && if weeday == friday)
      no trade

      else trade??

      would this work?

      I would need to make a variable for the time at the start of each month

      posted in Questions & Answers
      N
      nmbruno
    • Day of month filter

      Hi, I am trying to think of how to program a filter that will block trades on the first friday of each month, but keep trading the rest of the fridays.
      I was thinking something like...

      if (day of month <= 7) and if(weekday == friday)
      then trading = inactive

      else
      trading = active

      I see the weekday filter, but none for the day of the month. Any advice?

      thanks

      posted in Questions & Answers
      N
      nmbruno
    • RE: GMT Timestamp to Server / Chart Time *** SOLVED ***

      @nmbruno Nevermind, I believe I figured this out. I need to use Epoch time in seconds...

      posted in Questions & Answers
      N
      nmbruno