fxDreema

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

    Posts made by mahesvararaja

    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      I've been testing this EA for days and I think this EA is work best to my needs (even without the market execution). I'll mark this thread solved. Many thanks @jstap

      posted in Questions & Answers
      M
      mahesvararaja
    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      I guess the forEachPosition blocks is the one who made it funky. Deleted all of them here (back to earlier version) https://fxdreema.com/shared/DM914oqHc
      and it come back to normal.

      posted in Questions & Answers
      M
      mahesvararaja
    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      hmm I noticed strange behaviour with https://fxdreema.com/shared/eYzlewmgc
      Sometimes opened order (true for all market order and pending order) closed by itself in a random fashion and I could not reproduce it (it happens randomly). Still trying to figure it out.

      posted in Questions & Answers
      M
      mahesvararaja
    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      Many thanks @jstap . Been testing this EA since yesterday. I guess it is safe to call it a day. I will mark this thread to solved if you don't have any suggestions anymore.

      posted in Questions & Answers
      M
      mahesvararaja
    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      Changed the blocks to make it cleaner just as you suggest. However, as I am testing the EA, I refined my strategies also. Apparently, I need market order too haha. So I made a little adjustment here. I removed the value on 'every "n" order" but I think sometimes I need 2 or 3 stop orders so I put 3 on 'not more than "n" orders'.
      Here's the results. It works quite good IMO
      https://fxdreema.com/shared/eYzlewmgc

      posted in Questions & Answers
      M
      mahesvararaja
    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      Thanks for the insight @jstap. Yeah, you're right. The TP and SL feels like have a magnet on it hahaha.
      Anyway, already made some adjustment here
      https://fxdreema.com/shared/1e0CNK0be
      I guess this is working as intended. Still checking it live on the chart.

      posted in Questions & Answers
      M
      mahesvararaja
    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      @jstap hey, somehow this one is works like a charm.
      https://fxdreema.com/shared/TX9xRYQVd
      Moving the blocks into onTick section and changing a the blocks a little.
      Got to try it for a while before I mark this thread solved.
      But anyway, thanks for helping me through this.

      posted in Questions & Answers
      M
      mahesvararaja
    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      hmm. regarding the first case:
      "1st order created, no TP and SL lines created
      2nd order created, TP and SL set on the 1st order"
      Because this blocks running on 'onTrade', is it possible that the 1st order is not recognised as an order (since there are no pending order before the 1st order) and therefore the 2nd order is considered as '1st order' by the EA?
      I try to move the order checker to onTick but still no luck haha.

      PS:
      This is my first time using fxDreema so I still learning a lot here and there

      posted in Questions & Answers
      M
      mahesvararaja
    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      I've remade the For each Pending Order blocks here
      https://fxdreema.com/shared/obnq6ewlc
      This one is working but with this kind of behaviour.

      • 1st order created, no TP and SL lines created
      • 2nd order created, TP and SL set on the 1st order according to the configuration in blocks 3.
      • 3rd order created, TP and SL set on the 2nd order
      • 4th order create, TP and SL set on the 3rd order
      • and so on

      Changing Loop direction to Oldest to Newest on For each Pending Order blocks produce this kind of results:

      • 1st order created, no TP and SL lines created.
      • 2nd order created, TP and SL set on the 1st order and 2nd order.
      • 3rd order created, no TP and SL lines created.
      • 4th order created, TP and SL set on the 3rd and 4th order.
      posted in Questions & Answers
      M
      mahesvararaja
    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      Updated the second block (For each Pending Order) configuration here https://fxdreema.com/shared/ngTh31mdb
      but still not working.

      posted in Questions & Answers
      M
      mahesvararaja
    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      Relax, it is totally okay. I've update the blocks here.
      https://fxdreema.com/shared/ELE0mEmDd
      Again, I've exported in .mq5, however this block still not working tough.
      I've try to reverse the order of first blocks (Order Created) with second (For each Pending Order) but still no luck.

      posted in Questions & Answers
      M
      mahesvararaja
    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      Finally I deleted the blocks 2 and exported with the .mq5 option. I imported it into the chart, fired up the algo trading, entered the market with a stop order but unfortunately no SL and TP were seen.
      The configuration box to configure TP and SL is there without the blocks 2.

      posted in Questions & Answers
      M
      mahesvararaja
    • RE: [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      Thanks for your response. The Modify Variables on block 2 intend to create dialogue box like this to edit the stop loss and take profit value on Modify Stops block 4. Am I on the wrong way regarding this?

      image.png

      posted in Questions & Answers
      M
      mahesvararaja
    • [Asking for help] Simple Automatic TP and SL with Modifiable Input using Manual Order

      Hello!
      I am a scalper and I want to create an EA that will help to automate TP and SL on each trade. I will enter the market with a stop order and I want the TP and SL to be modifiable.
      Is these blocks are right?
      Any help would be appreciated. Thanks in advance

      https://fxdreema.com/shared/HUrlU6j5d

      posted in Questions & Answers
      M
      mahesvararaja
    • 1 / 1