fxDreema

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

    Posts made by arevald

    • RE: trouble posting trades to telegram

      @arevald
      Ok, so the trade just closed and the EA took a screenshot and sent the correct message to Telegram. Cool.

      The idea I mentioned that I would return to is that maybe the EA doesn't send messages and takes screenshots upon manually opened and closed trades. It kinda looks that way with this configuration. Maybe it only does upon trades opened by an EA.

      BUT the trade in question wasn't opened or closed by THIS EA, but by another I have running on a different chart.
      Is there some built-in function that makes the EA distinguish beween manually and EA-opened trades by default (I know that such a function can be switched on in certain blocks, but I didn't do that)? And if so, why did the first iteration of the EA, the one I linked to in my original question, send messages on manually opened trades (and on closed, even though not configured to) which is what I used to test it?

      Still some mysterious things happening, but for now I have at least gotten the EA to do as I intended. So far....

      Waiting now for the next trade to open to see what happens.

      Will update...

      posted in Questions & Answers
      A
      arevald
    • RE: trouble posting trades to telegram

      @arevald Ok, some development now.
      I changed the block configuration to this:

      https://fxdreema.com/shared/tyNRlp53c

      Now, the EA posts a telegram message (and takes a screenshot) when I attach it. I suspect that it sees that I already have a trade open at the time of attaching. However, when I then open another trade manually, nothing happens. No telegram message and no screenshot.

      I'll wait now for the open trade to close (it is open now at this time of writing) and see what happens and then wait for the next trade to open and also see what happens.

      What explains the EA's behaviour as described in my initial question, I have no idea.

      If the updated EA - as linked to in this reply - takes screenshots and posts to telegram on the next trade close and the next trade open I may have some idea. I'll return that if it happens.

      If, on the other hand, it still doesn't - except upon EA attaching as mentioned above - I still have no idea and the mystery will only have deepened.

      posted in Questions & Answers
      A
      arevald
    • RE: trouble posting trades to telegram

      @arevald I did try that. It seems like the obvious thing to do but it doesn't work.

      I don't see, either, why closing a trade would be connected to Telegram.

      I've shared the whole thing. The turned off blocks are just code for some unrelated indicators.

      The way I test wether the telegram posting works is I attach the EA and manually open and close a trade, so as not to wait for 24+ hours for each pending trade. It works if the blocks are connected as they are in the shared project, otherwise it doesn't. Pretty strange. Unless there's some bug in the code underlying fxdreema, which i'm not inclined to suspect.

      Could some undeleted cache files be interfering, perhaps? I'm no computerwizard, so that's all I can think of. That, and me missing some other way of using and arranging blocks, ofcourse, which is probably the most likely explanation.

      posted in Questions & Answers
      A
      arevald
    • trouble posting trades to telegram

      Hi guys,

      So, I'm trying to have my EA post to Telegram whenever a trades is opened. It kinda works, but not like I want it to. Please see the shared project.

      https://fxdreema.com/shared/xeJW3oaZ

      Only when I have blocks arranged exactly like this in the onTrade tab, will the EA post to Telegram. If I remove the Chart Screen Shot block (and change Run Blocks to 279) it won't work. If I arrange any other combination of any other blocks in any other tabs (I believe I've tried nearly everything) it won't work. Only like this will it work. But then, the EA not only posts to Telegram when a trade is opened, it also posts when I close the trade which I don't want it to.

      Any help is much appreciated.

      posted in Questions & Answers
      A
      arevald
    • RE: Pending trades deleted when price is hit

      oops.. here it is: https://fxdreema.com/shared/znvOO6j5e

      posted in Questions & Answers
      A
      arevald
    • RE: Pending trades deleted when price is hit

      shared/zBvQRY2R

      posted in Questions & Answers
      A
      arevald
    • Pending trades deleted when price is hit

      So, all of my pending trades are being deleted the moment price is hit. This is extremely frustrating. Anybody have any idea why this happens?

      posted in Questions & Answers
      A
      arevald
    • RE: purchase problem

      It's strange. I tried replicating your strategy for ex4. but in my case it'll draw lines fine, but won't enter any trades. Unless there's something I'm misunderstanding about the different blocks and how the work (which is quite likely), I kinda suspect some kind of bug somewhere.

      posted in Questions & Answers
      A
      arevald
    • RE: purchase problem

      Have you tried "once per object" instead of "once per bar"?

      posted in Questions & Answers
      A
      arevald
    • RE: purchase problem

      You could try using the time filter "Once per bar" and put right after your buy condition or right before your buy order block.

      posted in Questions & Answers
      A
      arevald
    • RE: EA not taking trades unless recently synced

      @jstap
      I seem to have it working now. Had change a condition and move the timefilter.
      Thank you for helping me rule out some things so I could get my attention pointed in the right direction.

      posted in Questions & Answers
      A
      arevald
    • RE: EA not taking trades unless recently synced

      @jstap
      HA seems to work in that once a trade is entered, it exits just like it's supposed to without any candle type chosen.
      That leaves the options of spread not being a price fraction (although it works in back test and, as I mentioned, sometimes just after I sync to VPS). I'll set spread to "as is" and see what happens

      posted in Questions & Answers
      A
      arevald
    • RE: EA not taking trades unless recently synced

      @jstap it looks like this:
      https://fxdreema.com/shared/JgmiCz3I

      Someone on the mql5 forums suggested that it might be caused by one or more conditions being set as global variables. To me, it doesn't look like that's the case. Would you mind giving it a look?

      Thanks

      posted in Questions & Answers
      A
      arevald
    • EA not taking trades unless recently synced

      Hey guys,

      So, I have made a very simple EA, which does exceptionally well in backtesting (on some forex pairs. Not all, ofcourse - makes sense).

      In backtest, it makes approximately 1 trade per day - give or take.

      Although more forwardtesting needs to be done, it seems to do equally well when trading live. Yay! So far so good.

      BUT.... it seems like I need to sync to VPS multiple times a day, for the EA to actually take the live trades even though entry conditions are met.

      I've seen it many times now. Happened again just now (1 minute prior to writing this).

      It goes like this:

      Sync the EA to VPS

      Sometime later it looks like entry conditions are met.

      Nothing happens......

      Sync the EA to VPS again (for the nth time).

      Trades immediately placed on 5 pairs.

      As mentioned, this is not the first time this happens. Not always the same number of trades being placed, ofcourse, but you get the picture.

      This, clearly, is not the point of running an EA on VPS.

      Anyone experienced something similar (or identical) and if so, anyone know of an explanation for this behaviour and possibly a solution?

      Thanks

      posted in Questions & Answers
      A
      arevald
    • RE: Help needed. Live trading not working on VPS or locally

      So, it looks like the EA is actually working as it is supposed to and just me being impatient.

      posted in Bug Reports
      A
      arevald
    • RE: Help needed. Live trading not working on VPS or locally

      Ok. this could end up being quite embarrasing. Anohter trade just taken. Entry point still looks wrong to me on the charts, though. I can think of two explanations at this point. Either the issue could be a latency thing or it could be me simply reading the charts wrong. Will post updates when I know more.

      posted in Bug Reports
      A
      arevald
    • RE: Help needed. Live trading not working on VPS or locally

      Thanks for your input. So, a development in the story. The EA just made a trade on one of the instruments I have it attached to and running on VPS. So that's cool. So it seems the code might be ok, although it also seems to me that it should making more trades. If not the code, then what could cause an EA to enter on some of the times entry conditions are met?
      How should I share the EA? As MQL4? Here? That would be a pretty long post

      posted in Bug Reports
      A
      arevald
    • Help needed. Live trading not working on VPS or locally

      Hey folks,

      I hope you can help me out, because I'm at a loss here.

      Here's my problem:

      I make an EA on fxdreema (I can't code). Simple trading strategy, nothing fancy, involving some EMAs and price breaking though one of them by some minimum distance. Simple trade management with a trailing stop being triggered at X amount of profit. Simple, nothing fancy or overly complex.

      Multiple backtests in MT4 on 2 instruments and 2 timeframes. EA performs beatifully.

      Apply EA to chart. Tick AllowLivetrading. Untick AllowDllimport. Allow trading in both directions

      Backtest again from charts. Beatiful performance

      Migrate succesfully to VPS.
      VPS started. Ping distance to broker appr. 1 millisecond.

      Watch the charts in realtime, see entry conditions clearly being met aaaaaand..

      Nothing. No trades are being taken on VPS.

      Stop VPS. Allow live trading locally.
      Watch charts in realtime. See entryconditions clearly being met.

      Nothing. No trades placed locally either.

      Try all of the above several times, also with alternative entry conditions and money management.

      Backtest working fine each time.

      Livetrading... nothing. No trades placed either on VPS or locally.

      At no point, any sign of errors or other explanations (that I can identify) in journals and logs.

      What am I missing?

      Thank you

      posted in Bug Reports
      A
      arevald
    • 1 / 1