fxDreema

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

    Posts made by mikev_303

    • RE: Trade entry on color change of indicator line

      @l-andorrà Oh that's a shame. Thanks for letting me know.

      posted in Questions & Answers
      M
      mikev_303
    • Trade entry on color change of indicator line

      Hi all.

      I would appreciate some help on this. I would like the EA to place a buy order when the line changes to Green and Sell order when the line changes to red. The problem is the indicator loads the line with the colors into 1 buffer, however, the code in metaeditor shows 2 buffers. I have included the code below as well as the indicator. I have tried to orientate the condition block so when the indicator = the color it meets the condition but when I run the system in a back test it never places any trades.

      https://fxdreema.com/shared/FAuFYEH6

      0_1619272865623_Laguerre filter - ng.mq5

      Thanks for any help you can give.

      posted in Questions & Answers
      M
      mikev_303
    • RE: Pending order based on price moving a percentage of ATR after a previous condition is met

      @roar I've managed to get the code just about right. However, the sell pending order is placing the sell stop on the wrong side of the moving average line, in the code I have tried to subtract the ATR away from the price when price crosses over the moving average line. However, no matter what I've tried it always adds it on instead, in the same manner it does in the buy pending order when the price crossed about the moving average line.

      Not sure why it is adding the ATR onto price regardless of the code saying add or subtract.

      https://fxdreema.com/shared/G4yZcl5zd

      Thanks.

      posted in Questions & Answers
      M
      mikev_303
    • RE: Pending order based on price moving a percentage of ATR after a previous condition is met

      @roar Hi. Thanks verymuch for your help. It's amazing when you see what you weren't doing it suddenly seems so simple. Much appreciated.

      posted in Questions & Answers
      M
      mikev_303
    • RE: Pending order based on price moving a percentage of ATR after a previous condition is met

      @l-andorrà Thanks, did that, but it still not placing pending orders when I run it in simulation.

      Any other suggestions?

      https://fxdreema.com/shared/mcUfjTI6c

      posted in Questions & Answers
      M
      mikev_303
    • RE: Pending order based on price moving a percentage of ATR after a previous condition is met

      @l-andorrà I have used 'Vatiable4' in blocks 10 and 15 at the start in the adjust part of the open at price section

      Thanks.

      https://fxdreema.com/shared/BNXI36y4c

      posted in Questions & Answers
      M
      mikev_303
    • RE: Pending order based on price moving a percentage of ATR after a previous condition is met

      Hello @l-andorrà I've written some variables. It is not working out for me at the moment and i'm not sure what i'm doing wrong.

      I've tried to create what i talked about above. I've posted what I have done below.

      https://fxdreema.com/shared/NyfKha0Eb

      posted in Questions & Answers
      M
      mikev_303
    • RE: Pending order based on price moving a percentage of ATR after a previous condition is met

      @l-andorrà thanks very much. Looks like I need to learn something new. I haven't created a variable before, ill gove it a go and see what happens.

      Hopefully it turns out ok. Thanks very much for your help.

      posted in Questions & Answers
      M
      mikev_303
    • RE: Pending order based on price moving a percentage of ATR after a previous condition is met

      @l-andorrà when the pending order is placed, the price level it is placed at is the actual ATR and not the price level the indicator was crossed over at plus or minus the ATR value.

      So if the ATR was 40 pips and price was 0.6958 then it should put a pending order at 6978 (0.5 the ATR value) instead it places a pending order at 0.0020

      The problem I see is the price function in the pending order is for custom price and not custom price fraction.

      Not sure how to solve it.

      posted in Questions & Answers
      M
      mikev_303
    • RE: Pending order based on price moving a percentage of ATR after a previous condition is met

      @l-andorrà Hello. Thanks for your help. Please see below.

      https://fxdreema.com/shared/a7c4JBToe

      posted in Questions & Answers
      M
      mikev_303
    • Pending order based on price moving a percentage of ATR after a previous condition is met

      Hello.

      I am using pending orders to set a buy or sell stop after a certain condition is met at any time when trading is open. I would like the order to position at the price point based on a percentage of the ATR. The pending order block has custom price not custom price fraction so the penidng order is placed at a price that is equal to the ATR and not the price amount based on the ATR.

      Does anyone have any suggestions to help with this? As so far I am struggling to solve it.

      Thanks very much.

      posted in Questions & Answers
      M
      mikev_303
    • RE: MT4 tester not working with on chart indicator

      @l-andorrà I'm confused, last time the indicator was on the chart you said to use the on chart section? How is this time different?

      aslo, how should I modify the conditions block?

      thanks for your help.

      posted in Questions & Answers
      M
      mikev_303
    • MT4 tester not working with on chart indicator

      Hello. Can someone please help me as to why the strategy tester in mt4 is not placing trades. I always have trouble with on chart indicators and would really appreciate some help.

      Thank you

      https://fxdreema.com/shared/1qd6FzxCd

      0_1593998676197_EJ_Trend.mq4

      posted in Questions & Answers
      M
      mikev_303
    • RE: trading with indicator colour change on chart

      @l-andorrà Thanks. I moved it to the on chart section and used the indicator is visible, should the different colours be two different buffers, i'm realy confused how to get a buy or sell signal from the indicator is visible block instead of a condition. I've uploaded the code below and it has the colours green and magenta in it. But when I upload the indicator in fxdreema it looks like this.

      0_1593352816036_2d80fca8-75ee-43b3-b811-28e52ee7ffd8-image.png

      0_1593352707767_nonlagdot.mq5

      Can you please offer some guidance.

      posted in Questions & Answers
      M
      mikev_303
    • trading with indicator colour change on chart

      Hello.

      Could someone please help with the EA below im trying to get a buy trade when the indicator on the chart turns green and a sell trade when the indicator turns Magenta, but it doesn't seem to work.

      Thanks in advance.
      https://fxdreema.com/shared/sxuXNQ0Fc

      posted in Questions & Answers
      M
      mikev_303
    • RE: Newbie Help please

      @l-andorrà legend. Working now. Thanks again

      posted in Questions & Answers
      M
      mikev_303
    • RE: Newbie Help please

      @l-andorrà thanks. But are you able to offer any help with the other problem I am having trying to set stop loss and take profit.

      Any help would be greatly appreciated.

      posted in Questions & Answers
      M
      mikev_303
    • RE: Newbie Help please

      I managed to solve my problem above. i was loading the MQL5 program file instead of the source code file so now it is working.

      Now when i'm testing I am trying to get the EA to set take profit on the ATR of the previous candle and the stop loss at 1.5 times the ATR of the previous candle. In the buy and sell brick I have put the following in but it doesn't seem to work. The stop losses are way to small and I get all losses.

      0_1591884213488_f12cb2d4-ea4a-4f0d-b00f-a1c429187fba-image.png

      Thanks for the help.

      posted in Questions & Answers
      M
      mikev_303
    • RE: Newbie Help please

      @l-andorrà Thank you for replying.

      Sorry, I should have given better details. I have created an EA within Fxdreema, including using the custom indicators. I had success running the EA in the strategy tester of MT5 but then it stopped working an now says cannot find custom indicator error 4002. I checked the file path for when I created the indicator and that is correct. I used the setting below, are my data types correct?
      0_1591843663271_0074c27c-55cc-4006-9388-acffb5d5db35-image.png

      My condition in the buy trade section of the EA looks like this
      0_1591843802771_49741fb7-ad34-4649-9739-ad18acfd7890-image.png

      Is there anyway I can upload the fxdreema EA into the forum so you can have a look at it?

      0_1591843933587_Donchian_channels20.mq5

      Thank you for your help!

      posted in Questions & Answers
      M
      mikev_303
    • Newbie Help please

      Hi All.

      Testing my indicator in MT5

      This is my first attempt at an EA, i'm just trying to get one running in the strategy test successfuly. Please help!

      Created EA in Fxdreema, strategy test in MT5 says
      cannot load custom indicator 'donchian-channels-indicador' [4002]

      0_1591793372274_Donchian_channels20 (11).ex5

      posted in Questions & Answers
      M
      mikev_303
    • 1 / 1