fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. roar
    3. Posts
    • Profile
    • Following 0
    • Followers 184
    • Topics 35
    • Posts 2406
    • Best 422
    • Controversial 6
    • Groups 0

    Posts made by roar

    • RE: Bug with DoubleToString

      Maybe it helps to use MathFloor in combination with the DoubleToString?

      posted in Bug Reports
      roar
      roar
    • RE: Flags switching value

      @seb-0 I've never used flags, they are not necessary if you use variables.
      Just make some (boolean) variables and set their values to TRUE/FALSE (or 1/0) according the logic.

      posted in Questions & Answers
      roar
      roar
    • RE: put a pending order on object after x pips

      Glad it works for you!

      @fabien-s said in put a pending order on object after x pips:

      Why do we need this block when firstlevel starts with 0

      This is just because I wanted a simple example with fixed grid.
      The EA checks if firstlevel has ever been modified, if not, it modifies it 1 time and then always uses the same value for ever after.

      A proper EA will need some new way to calculate the firstlevel as price moves on.

      posted in Questions & Answers
      roar
      roar
    • RE: put a pending order on object after x pips

      @fabien-s Great! It may be a bit over-complicated, just made it in a fly..
      Note that I use adjust-field a lot, and I convert the raw values to pips:
      0_1571256394146_bfa8532f-9ad1-4dd7-8492-824e4b69ec8d-image.png

      If there's any particular section that needs more explanation, just ask!

      posted in Questions & Answers
      roar
      roar
    • RE: put a pending order on object after x pips

      This will refill the levels without using any objects (they are always a mess):
      https://fxdreema.com/shared/xtZo20Ghe

      How it works:

      • first establish firstlevel variable, this is the lowest level in the grid
      • then check if price has moved below firstlevel and there are less than maximum number of orders
      • then make a loop that goes through every grid level
        • if the EA finds an order at the grid level, it moves on to next level
        • if an order is missing from a level, new pending order is placed there

      This is just a template that uses fixed firstlevel parameter, you will need to modify it to fit your system.

      Constants and variables:
      0_1571241198858_d396c342-abdb-425d-842b-d097d46045f9-image.png
      0_1571241208019_96715ace-6e0c-4002-ab1a-d9c146f63c03-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Fxdreema (lack of) Customer care

      Yes, the advertising might paint a bit too rosey picture, and yes there could be more extensive help material and tutorials. The tutorials-section is a great place to share knowledge, but unfortunately it seems to be flooded with help requests, which is not a place for them. Couple of moderators would be great for the forum.

      Most of the questions are very basic stuff made by novices that have used the demo builder for 10 minutes. It is simply not worth it to provide costly support for such. It's a sad reality of a niche business like this. Hiring some support staff would potentially result in higher sales, but it is a huge risk as well.

      Fxdreema projects, even fairly advanced ones, do not require coding knowledge. They do require a very high degree of logical thinking and patience. Making success in the world's most competitive markets can never be easy and everyone can't be winners, no matter how good the support is. That's just my opinion.

      posted in General Discussions
      roar
      roar
    • RE: Help need in Simple MA EA

      0_1571086650684_6e0ad3a7-0da2-4f66-ba03-9304d1d21d33-image.png

      Dotted red: 144-MA
      Red lines: envelopes of 144-MA with 0.1 deviation
      Blue: 5-MA
      Green: 13-MA

      Rule: Open buy when blue is below lower envelope AND crosses above green.
      Project: https://fxdreema.com/shared/WKQyhyvec

      This is not a good trading strategy, though.
      I can tell that you don't actually want to specify a distance between moving averages - what you actually want is to find volatility. This is done via RSI or some combination of ATR and standard deviation, for example.

      posted in Questions & Answers
      roar
      roar
    • RE: pending order count/ delete pending order

      @sli1-0 Here's one problem:
      0_1571055559895_f32b2afb-0f9b-40d6-9219-d7fea5d4abd7-image.png

      This adds a whole number - in case of EURUSD, that means something like price 2.10305
      Try using "+1 pips" in the adjust. Maybe that breaks the system

      posted in Questions & Answers
      roar
      roar
    • RE: pending order count/ delete pending order

      @sli1-0

      Expiry: you can't use the blue block, that deletes all orders. Try using the pink "close" block instead of it.

      Count:
      What are you trying to do here? Currently the logic is as follows:
      If there are 2 or more orders -> activate ORANGE
      If there are 0 or 1 orders -> activate YELLOW

      posted in Questions & Answers
      roar
      roar
    • RE: Generate a random chart

      @cpxiom I have the same methodology - money management shouldn't be the critical part, trading logic comes first!

      posted in General Discussions
      roar
      roar
    • RE: Problem with spread can someone help me ??

      @venum I don't see anything wrong with it

      posted in Questions & Answers
      roar
      roar
    • RE: Problem with spread can someone help me ??

      @venum 130 pips in forex is huge. How do you know it doesn't work?

      posted in Questions & Answers
      roar
      roar
    • RE: I need help with my Grid EA please!

      @ggtrader welcome!

      0_1571045240806_86d7cc0f-7b7d-4c18-884f-41058b7a5cc8-image.png

      As you can see, the position-increasing logic flow doesn't contain any condition for bear candles - you must add it there as well.
      It opens 2 orders at a time, because "add to volume" does the first and "sell now" does the second. Remove one of those blocks.

      I'm too lazy to make corrected project, you seem a smart guy and probably will succeed!

      posted in Questions & Answers
      roar
      roar
    • RE: Help need in Simple MA EA

      @vishaal Hi!

      Try using the envelopes indicator in combination with the cross condition, so you can visually see the restriction.

      posted in Questions & Answers
      roar
      roar
    • RE: Generate a random chart

      I revisited this project today, and noticed there were some stupid logical mistakes in the data manipulation..
      Made a better one! In this dataset on EURUSD 2009-2019 M1 OHLC candles,
      every 2nd one-minute candle is flipped upside down. All gaps are removed. As a result, the weekly chart starts quickly deviating from real EURUSD. Backtest reports 98% accuracy.
      Because significant m1 candle moves don't occur in binary fashion (0,1,0,1...), the resulting price movement is pseudorandom.

      Why use this? If my EA works well in both real EURUSD and this modified one, it is a bad signal - my EA probably just exploits some flaw in the backtester.
      Import M1 OHLC bars: https://drive.google.com/open?id=1SuxvO2sjLPu0dVnwyVfauG2azC7r0cV8
      0_1571043668980_ed6f9c08-e267-4349-9dbc-1c97fe1d5673-image.png
      0_1571044694466_6894a4be-82ea-4ed2-bffd-12216243376b-image.png

      posted in General Discussions
      roar
      roar
    • RE: Create Martingale effect without closing trades

      @specialfx
      Single is not a valid data type.
      Try Double for decimal numbers,
      Int for integer numbers

      posted in Questions & Answers
      roar
      roar
    • RE: MQL5 Files cannot be compiled anymore/impossibile to make some custom indicator work

      Ok, I'm sorry, can't spot where the problem is. Here's the mql5 documentation, maybe it helps:
      https://www.mql5.com/en/docs/trading/ordercalcmargin

      posted in Bug Reports
      roar
      roar
    • RE: Testing out Swap, can't get it to work

      Did you try my example in visual mode? It works for me.
      0_1570896782415_3d79a3b8-2157-4f28-95b2-2e7f46a531f6-image.png

      I'm not sure how the "Alert message" block works, but you may be using it wrong - put your variables in the data rows.

      posted in Questions & Answers
      roar
      roar
    • RE: MQL5 Files cannot be compiled anymore/impossibile to make some custom indicator work

      The Ask-function is case-sensitive: try exactly Ask(Symbol())

      posted in Bug Reports
      roar
      roar
    • RE: MQL5 Files cannot be compiled anymore/impossibile to make some custom indicator work

      @gabrielebrignoli Try modifying the .mq5 as per my suggestion, and test if it compiles

      posted in Bug Reports
      roar
      roar
    • 1
    • 2
    • 82
    • 83
    • 84
    • 85
    • 86
    • 120
    • 121
    • 84 / 121