fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. rafaelgrecco
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 1
    • Topics 28
    • Posts 111
    • Best 7
    • Controversial 0
    • Groups 0

    Posts made by rafaelgrecco

    • RE: Condition: Market Properties: Backtest vs Live

      Hi, thanks for your time. I see what you mean... I'll explain better.

      My strategy is to buy below Bollinger Bands and sell above bollinger bands. That is easy to do. But take a look at the picture below:

      It is easy to make the EA sell above the Bollinger Bands line - Red Arrow. But I want it to sell at the Green Arrow.
      [attachment=1:2mawsra1]https://fxdreema.com/shared/jnFoH4hwc (blocks 3 to 8 should find Highest and Lowest prices and Blocks 37 and 67 should find the distance from Highest and Lowest price to place orders).

      Can you (or anyone else) help me out?

      Thanks.

      ......
      picture1.png
      picture2.png

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: Autotrading on/off

      Hi,

      I do that using "Hour Filter".

      I use "Hour Filter" to open positions only if time is between 10:00 and 12:00. Then I use another "Hour Filter" to close any open position that could still the open at 17:00.

      EDIT: This way you are not turning off the EA, but the EA will not do anything out of that time window.

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: Trade depending the last candle

      You already have the conditions to take the first position, right?

      For the second position, you can use the condition "Market Properties" with "Price Level Ask/Bid" > (Higher Then) "Candle" with parameter "High" and Candle ID "'1"

      You should put this condition below a "if Position" block, so it only happens if you already have a position running.

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: stop trading for N hours after N stop loss

      Have you tried using block "Check consecutive losses" and then block "Delay"?

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: Condition: Market Properties: Backtest vs Live

      __Maybe something happened with the spread at that time.[/quote:1jg1bxnx]

      That's what I thought... but 50% of all opened positions have this behavior, I'll make some more tests.

      __Any Trailing Stop block works if it runs. Normally such block must be put on top level so it can run on every tick. But this is not mandatory, you can hide it under any Condition to prevent it from running when the condition is not true[/quote:1jg1bxnx]

      I know how to use trailing stop effectively. But I want to use a "trailing start", like I described:

      " want my EA to start trailing the price as soon as the market price is above the upper Bollinger Band line.
      The price should go up for some time and as soon as the price start to fall, I would place the sell position."

      It is the opposite os trailing stop, but I don't see a trailing start block so I am not sure if it's possible. How would you do it?

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: Condition: Market Properties: Backtest vs Live

      Still thinking about this same case, I think I have a better way of buying and selling where the previous "error" would not occur, but I can't find a way to do what I want.

      I'll use the same picture as before to explain what I am trying to do:
      wrong.jpg

      I want my EA to start trailing the price as soon as the market price is above the upper Bollinger Band line.
      The price should go up for some time and as soon as the price start to fall, I would place the sell position.

      It is the opposite of a trailing stop... it is actually a kind of trailing start. I did try using the block "trailing pending orders" but couldn't figure it out. The "trailing stop" block also has a trailing start option, but I don't think it does what I want.

      It this possible to do?

      ......
      wrong.jpg

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: Condition: Market Properties: Backtest vs Live

      Hi,

      I am using a condition block that compares Market Price Level (Ask or Bid) to a indicator.

      I'll use Sell operations as example (but the same happens on buy).

      Sell if:

      sell.jpg

      On backtest it works perfectly on every market/stock I test it.

      On live account (demo account) I let this same EA run on 25 markets (or stocks, I don't know to to say it in english) but around 50% of the positions happen outside that condition. Here is an example:

      Correct: Sell above upper line
      correct.jpg

      Wrong: Sell outside of condition
      wrong.jpg

      Do you know why this happens? It this condition (Market Price Leve) not reliable?

      ......
      sell.jpg
      correct.jpg
      wrong.jpg

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: How to find Elliot Wave Pattern

      Alright! Thanks anyway.

      I´ll try to use another tool that builds indicators and import them here.

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: How to find Elliot Wave Pattern

      Hello guys and Mr fxdreema.

      I am trying to automate the strategy I use manually, but I am having a hard time doing it.

      I want to detect a certain wave pattern (using Elliot Waves) and apply Fibonacci retraction to it, then buy or sell depending on the situation.

      Here is what I am trying to achieve:

      example.jpg

      I need to identify point 1 and then point 3, so I can find the possible trend change. Also, I would like to apply Fibonacci Retraction from point 1 to 2, so I can check if point 3 is on the expected range.

      I tried using "New top trend" and "New botton trend", but I could not figure it out.

      Is it possible? Can you guys help me out? Thanks!

      ......
      example.jpg

      posted in Questions & Answers
      R
      rafaelgrecco
    • RE: Bug that started today

      It's working perfectly again. Thanks!

      posted in Bug Reports
      R
      rafaelgrecco
    • RE: Bug that started today

      Hello Mr.

      Since today I can't compile on MetaTrader 5 any EA created on FxDreema.

      A simple code "No position" -> "Buy now" does not work (exactly as the first axample). The error is on this code:

      void block1()
      {
      if (disabled[1] || FXD_BREAK) {return;}
      FXD_CURRENT_FUNCTION_ID=1;

      MetaEditor returns the error: 'disabled' - index out of range

      The same EA created yesterday would compile correctly, but the code is different:

      void block1(int parent=0)
      {
      if (block1==false || FXD_BREAK==true) {return;}
      FXD_CURRENT_FUNCTION_ID=1;

      Can you fix it?

      EDIT: I believe it has something to do with today's update.

      posted in Bug Reports
      R
      rafaelgrecco
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 6 / 6