fxDreema

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

    Posts made by robertk

    • RE: Dreema EA able to terminate another non-dreema EA?

      Hi, first of all i would like to thank you bigtime for your help on my other questions regarding pending management and price cycles with the Fxdreema tool. If everything works correctly eventually and i am having some consistent profit i'll be sure to donate some for all the work you are having on this project.

      Now that being said i have one more question. I am aware there is a "terminate" function within Fxdreema that terminates the Dreema EA.
      However, i have one other EA (same pair, another chart) that is also managing trades. Is it possible that after certain conditions are met, Dreema terminates the other EA as well?)

      Closing down the platform itself is no option because there are still active pendings that need to be managed on other pairs also.

      Kind regards,

      Robert

      posted in Questions & Answers
      R
      robertk
    • RE: Price cycles

      __http://prntscr.com/7f2c0o
      Object Description is NOT a price level or something numeric, this is a text (string).[/quote:2liyx0k6]

      Ok, so then i switch it to Attributes "numeric" / pick by name "TL1" and trendline price level (by candle ID)

      https://fxdreema.com/shared/5Yw5ujXCd

      Is this one correct or am i still overseeing something here? Thank you for your patience on this matter lol..

      posted in Questions & Answers
      R
      robertk
    • RE: Price cycles

      Thanks for your respond. At the moment i tried various other methods in order to achieve the above...
      Maybe you could look a second at this Dreema? : https://fxdreema.com/shared/yDnxq9lpb

      So when price crosses "TL1" from below->above(or the opposide) an alert message should appear... This message however never comes.
      I also tried working with "candle ID's" in order to have a trigger based on the first condition that needs to be met; low/high of a candle at "x" price, to no succes.

      posted in Questions & Answers
      R
      robertk
    • RE: Price cycles

      Ok it didnt work out very well... I tried the candle low but i am not sure if i got the parameters right.
      I now tried this simple one, in hope that one would trigger after a condition is met but it yet doesnt seem to work very well:

      https://fxdreema.com/shared/23MCJlazd

      posted in Questions & Answers
      R
      robertk
    • RE: Price cycles

      Thanks Dreema, i overlooked the candle close part.. Think this will work, will try it out

      posted in Questions & Answers
      R
      robertk
    • RE: Price cycles

      Hello, i was wondering... Is it currently possible with Fxdreema to add a building block that has price checkups in certain order?

      The idea:

      #1 EUR/USD hits 1.11200 (when this condition is met, move on to #2)
      #2 EUR/USD hits 1.11300 (this step is only triggered when condition #1 is met)


      When the 2 conditions are met in this specific order, other building blocks will be used that modify trade properties etc.

      posted in Questions & Answers
      R
      robertk
    • RE: ECN broker - remove pending order on tp hit

      Fixed!

      So happy i finally managed to get it to work on Pepperstone also. The problem had deffinately to do with TP as all variables that included TP, including "close on TP", "pips/percentage from TP" etc etc did not work.

      1. Right now it scans for profitable trades only (greater than 0.1 deposited currency)
      2. Then it scans the distance away from opening price

      https://fxdreema.com/shared/oXZRApxO

      Distance from opening price works while everything related to TP or SL does not it seems..

      posted in Questions & Answers
      R
      robertk
    • RE: ECN broker - remove pending order on tp hit

      Managed a workaround where i close pending orders at "x" distance from TP instead. Works on FXCM and yes, you guessed right, it absolutely failed again on Pepperstone where it removes pending orders at 200 pips distance from TP instead of 1 pip.

      posted in Questions & Answers
      R
      robertk
    • RE: ECN broker - remove pending order on tp hit

      Tried the following, adding an extra block for custom comment:

      https://fxdreema.com/shared/RYtDHhG4d

      Still did not put any comment after a take profit took place.

      Also, tried to manually change the [sl] and [tp] strings into a simple " " within the mq4 code. No succes either so far.

      posted in Questions & Answers
      R
      robertk
    • RE: ECN broker - remove pending order on tp hit

      __
      Your MagicStart is 0, so you are working with the manually created trades, which is fine. So you want to delete existing pending orders when a trade is closed by Take Profit.

      To detect when a trade was closed by TP or SL, the EA is reading it's comment. Normally [sl] or [tp] is appended to the comment. Do you have this?

      Let's say that it does not exists. Then "(on trade) Trade closed" has another way to detect whether the trade was closed by TP or SL, which can be seen in the code that the block produces:
      [/quote:3m9oewmf]

      Thanks for all the extensive helping once again Dreema, this is very interesting. While FXCM has all the [TP] and [SL] in its comment section, its blank field with nothing in it on Pepperstone.

      posted in Questions & Answers
      R
      robertk
    • RE: ECN broker - remove pending order on tp hit

      __It looks that you can use SL and TP when you send a trade.

      Do you have some messages in the logs, or the EA does not work as you expect at all? If the EA tries to do something, there will be indication of that in the logs, otherwise there will be nothing in there[/quote:r8ewnrcf]

      I shut down my notebook a min ago but i can tell you the journal shows all messages, including activation of order, closed by take profit etc. Its corresponding with the blocks i have used. The onky message that doesnt show up is the one that normally says: pending order deleted. Its like this block "delete pending orders" does not exist within pepperstone mt4, but does on other mt4 broker platforms, such as fxcm

      posted in Questions & Answers
      R
      robertk
    • RE: ECN broker - remove pending order on tp hit

      __Well, I created a demo account in this Pepperstone and I can't even create a trade or pending order. Can you show me what you have when you click on "New Order"?[/quote:2dookq8z]

      Thanks for trying to help me out. Its such a mess at the moment 😞 Also tried workaround by setting new expirations on pending orders. Does not work but think it has to do with minimal expiration and such,,

      ......
      Untitled.png

      posted in Questions & Answers
      R
      robertk
    • RE: ECN broker - remove pending order on tp hit

      Last but not least i should mention that Pepperstone ECN platform deleted the pending orders once or twice succesfully, 90% of the time it does not. Maybe this is pointing at a different cause...

      posted in Questions & Answers
      R
      robertk
    • RE: ECN broker - remove pending order on tp hit

      __In the past it was not possible to send SL and TP with the trade on an ECN broker. Then they changed the OrderSend() function so it's now possible. This happened > 1 year ago. And this was for trades (running orders), not pending orders.

      You can easily see what is possible and what is not. Click on "New Order" and check whether the Stop Loss and Take Profit fields are active or they look disabled.

      Do you have error messages?[/quote:1318sayp]

      No error messages. Basically i get the message of order close: tp hit. But then i dont get the remove pending order after. I do get this on fxcm demo. Just not on pepperstone live.

      Also i tried a workaround by modifying pending orders SL instead of a removal when a previous trade hits tp. Same results, modify orders sl works fine on fxcm. Pepperstone ecn on the other hand.. no error at all either

      posted in Questions & Answers
      R
      robertk
    • RE: ECN broker - remove pending order on tp hit

      Apparently it is because on an ECN broker the pending order needs to get filled first, and one should then set TP and SL afterwards for it to work. So frustrating. I use a low maintenance strategy and do not wish to stare at my screen the whole day for an order to get filled.

      Is there a workaround for this?

      Edit: I just confirmed this since it works fine on FXCM, continuously closing pending orders, while on ECN pepperstone it keeps giving problems by not closing pending orders.

      posted in Questions & Answers
      R
      robertk
    • RE: ECN broker - remove pending order on tp hit

      Ok works on FXCM demo, does not work on Pepperstone live for some reason.
      Decimals are the same and input for decimals is correct.

      Might have something to do with ECN or micro lots(0.0x, as i am testing if this works..)? Pending orders are not closing correctly on pepperstone after another pending is triggered and tp is hit.

      posted in Questions & Answers
      R
      robertk
    • RE: ECN broker - remove pending order on tp hit

      Cool the above additional trigger did the trick. Seems to work now

      posted in Questions & Answers
      R
      robertk
    • RE: ECN broker - remove pending order on tp hit

      __Very good, for someone new you already know how to use those pink blocks. Well... almost. I don't like this (on trade) in the Comment block under "on Tick", but anyway.

      The moment when TP is triggered can be detected under "on Trade". But this will be one time event, so it can't be repeated.

      Manual trades and orders have magic number 0, the chart does not matter here, no specific chart information is added to the trade/order.[/quote:zxinx2r3]

      Ok, i added a "on-trade: Trade Closed" -> delete pending orders (as shown below).
      I noticed unfortunately that the above code did not close my AUD/USD pending orders correctly for some reason.
      Thanks for the respond.

      https://fxdreema.com/shared/YqPLLTHGb

      posted in Questions & Answers
      R
      robertk
    • RE: ECN broker - remove pending order on tp hit

      Edit: changed topic title, now corresponding with actual contents of last posts.

      Hello, as of yesterday i began experimenting a bit with FxDreema. I must say i am really impressed by the ease of use. However, despite checking the help and searching section for more information on #group and magic numbers i am still facing a problem.

      Right now i have pending orders on multiple pairs/charts and what i would like to do is removing specific pending orders when another pending order is triggered and reached its TP. This should be per pair/chart. It should not remove each and every other pending order from other pairs.

      I am trying to post #group and magic number info on the comment section (ontrade & and inloop) but it does not come up with any information regarding this information. Am i looking at the wrong blocks?

      This is what I have made so far

      https://fxdreema.com/shared/3KXN7T13b

      posted in Questions & Answers
      R
      robertk
    • 1
    • 2
    • 3
    • 3 / 3