fxDreema

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

    Niceperson

    @Niceperson

    0
    Reputation
    278
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Niceperson Unfollow Follow

    Latest posts made by Niceperson

    • RE: Formula to compare two MA vlaues

      I am trying to create a copy of all the boxes on this ea. When I use the constants I get too many compilation errors like
      Compilation errors
      'free' - unexpected token
      'inp2_Lo_SHIFT' - expression on global scope not allowed
      'inp2_Lo_SHIFT' - variable not defined
      'CrossBeforeBar' - expression on global scope not allowed
      'inp2_Lo_SHIFT' - variable not defined
      'inp2_Lo_SHIFT' - variable not defined
      'inp2_Lo_SHIFT' - variable not defined
      'inp2_Lo_SHIFT' - variable not defined

      'MAdiff' - an operator expected
      '=' - assignment expected
      'MAdiff' - semicolon expected
      ';' - assignment expected
      rrors--4
      ee logfile "C=\Program Files\MetaTrader 4 - Exness\experts\FxDr MA 031367548439.log"

      I get no compilation errors without usage of constants.
      Is it becasue I am working on free version? or some thing else?

      posted in Questions & Answers
      N
      Niceperson
    • RE: Formula to compare two MA vlaues

      I am testing two conditions for two different shift values and there is an AND operator also. The first condition is for shift value of 3 whereas the second condition is for the current bar. So how do I format the adjust parameter will will take care of these two different shift values? I also need these shift values to be user configurable so that I can change them from the parameters screen of the EA.

      Thanks

      posted in Questions & Answers
      N
      Niceperson
    • RE: Formula to compare two MA vlaues

      I am working on an EA to provide buy signal when ...

      (Condition 1) the MA(5) crosses above MA(10) on third bar before the current bar
      AND
      (Condition 2) if the difference between MA(5) and MA(10) on current bar is more than 50 points.

      I could create the condition block for the first condition, but I can not find a way to create the second condition. I tried the formula block but could not really get it.

      Does someone know of any example? Please guide me with some images / examples.

      Thanks

      posted in Questions & Answers
      N
      Niceperson
    • RE: EA Bollinger Band

      06 FxDreema BB V2 - 05.ex4
      09 Screen shot.jpg

      Thanks for your valuable support.

      First the good news. The EA lead you gave seems to be working. I was at a dead end, but now I have something which is running. I have to now optimize the settings. Requesting for your advice as before.

      I am trying to get a solution to following two enhancements. One is about the market hours to trade and another is for the trailing stops.

      ====================================================================
      Trading hours

      All on local Eastern Time - USA

      Sun From 17:00 to 21.00
      Mon From 4:00 to 16:00
      Tue From 4:00 to 16:00
      Wed From 4:00 to 16:00
      Thu From 4:00 to 16:00
      Fri From 4:00 to 13:00

      On Friday at 13:00 all positions are closed at market.

      =====================================================================
      Trailing stops

      Trade starts with 100 pip profit target

      No Trailing stop till the trade has 10 pips profit

      At 10 pip profit, the Trailing stop is at the entry price + 2 pips
      At 20 pip profit pis onwards the trailing stop moves at each step of 10 pips in price movement. chnages to entry price + 10 pips. Meaning, At 30 pip profit, the trailing stop changes to entry price + 20 pips and so on until 90 pips profit when the trailing stop is at price plus 80 pips. Beyond that the profit target of 100 will close the trade.

      =====================================================================
      I am attaching a image of the schema whish I thougt will work. BUt when I set the trading time / trailing stop box I am confused. There are many settings and I have no idea whcih one will do the job. The base ex4 file containing the working EA is also attached.

      Requesting for your advice.

      ......
      06 FxDreema BB V2 - 05.ex4
      09 Screen shot.jpg

      posted in Questions & Answers
      N
      Niceperson
    • RE: EA Bollinger Band

      Thank you very very much. I am currently testing it on live data.

      I am in US eastern time zone. How can I add to this EA a time filter with a condition that before five minutes of the time period end all pending trades should be closed. I used the Time Filter (component) block. But it leaves open trades at the end of time period.

      Thanks for your help.

      posted in Questions & Answers
      N
      Niceperson
    • RE: EA Bollinger Band

      FxDreema BB V2 - 05.ex4
      Sell order conditions.jpg
      [Bollinger Bands_Stop_v2 - FxDreema.mq4](Bollinger Bands_Stop_v2 - FxDreema.mq4)

      I want to convert Bollinger stop indicator into a EA. I tried on FxDreema. I have attached the ex4 file of the EA, the related indicator file and one screen shot explaining about the EA.

      I need that one buy order should be sent when the up arrow signal is given by the buffer "uptrend line". This order should be closed eith when the reverse signal appears or when the required pip profit is generated, whcih ever comes first. The reverse signal or the Sell signal is by buffer "downtrend Line"

      When I run my EA, two orders are generated instead of one. The order do not kick in when the signal appears. On the attached screen shot I have tried to explain when a order should be enetred and when to exit. The screen shot is only for sale. The buy logic will be the mirror copy.

      I am a newbie and any help will be much appreciate to make my EA work. I tried many times. I do not know how to extract the fxdreema project file to post on this forum. I am using the free version. But I can post the screenshot if that helps.

      Thank you

      ......
      Bollinger Bands_Stop_v2 - FxDreema.mq4
      Sell order conditions.jpg
      FxDreema BB V2 - 05.ex4

      posted in Questions & Answers
      N
      Niceperson