fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    trouble posting trades to telegram

    Questions & Answers
    2
    5
    167
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      arevald last edited by arevald

      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.

      A 1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà last edited by

        Did you try connecting block 289 to block 270 without using block 285? That should work fine. If it doesn't, the reason must be somewhere else. For example, I can't see how closing a trade should be connected to Telegram in your link. That means we are not seeing the whole project.

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        1 Reply Last reply Reply Quote 0
        • A
          arevald @arevald last edited by arevald

          @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.

          A 1 Reply Last reply Reply Quote 0
          • A
            arevald @arevald last edited by arevald

            @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.

            A 1 Reply Last reply Reply Quote 0
            • A
              arevald @arevald last edited by arevald

              @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...

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              Online Users

              A
              V

              12
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors