fxDreema

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

    Topics created by migen

    • M

      no trade/order nearby problem
      Questions & Answers • • migen

      2
      0
      Votes
      2
      Posts
      203
      Views

      jstap

      Probably because you need a no trade above the no trade nearby.

    • M

      How to place order when price higher than all prices of old trades
      Questions & Answers • • migen

      3
      0
      Votes
      3
      Posts
      411
      Views

      D

      Assuming you mean that when the current price is higher than the highest closing price (or perhaps the opening price) of all your trades over a given period (of your choosing):

      I would store the highest trade in a variable called something like (HighestClosePrice) or (HighestOpeningPrice) depending on what you want (I’ll assume close price). Then you could create blocks that [Close Positions] when your trade exit criteria is met, and at the point of closing you could have a [Condition] block that said IF (Market Properties:Current Price) > (HighestClosePrice) THEN [Modify Variables] of (HighestClosePrice) so that (HighestClosePrice) = (Market Properties:Current Price). If it was for the opening price you could create similar blocks at the point of the trade being opened.

      Then you could the have a set of blocks that said IF (Market Properties:Current Price) > (HighestClosePrice) (or open price) then BUY . Of course you would need a starting trade to start the process off.

      Depending on what market conditions you want to reset the process you could build another set of blocks that would set (HighestClosePrice) to 0 and restart the process.

    • M

      MT5 "netting mode", how to set target for account, works even EA restarted ?
      Questions & Answers • • migen

      2
      0
      Votes
      2
      Posts
      613
      Views

      jstap

      @migen The easiest way is to not let the computer turn off, the other way is to store your required value in a global variable, and read every time EA starts, there are blocks that can do this but I am unsure how.

    • M

      How to open new order at the same price of the closed trade
      Questions & Answers • • migen

      22
      0
      Votes
      22
      Posts
      1932
      Views

      A

      @alisher2386 👍

    • M

      How to sort a list of Variables in order " from High to Low value" ?
      Questions & Answers • • migen

      2
      0
      Votes
      2
      Posts
      210
      Views

      l'andorrĂ 

      @migen The only way I can imagine now is by using a loop in which all of them will be compared to each other one by one. Certainly a complex structure to implement. That can be very computing consumig depending on the amount of variables to order.

    • M

      How to place a buy limit when current trade close by TP
      Questions & Answers • • migen

      2
      0
      Votes
      2
      Posts
      226
      Views

      A

      @migen

      0_1649885144554_sgabello1.PNG

    • M

      How to skip the first bar of the day ?
      Questions & Answers • • migen

      2
      0
      Votes
      2
      Posts
      270
      Views

      l'andorrĂ 

      @migen You can select all conditions to work on candle ID 1 only instead of candle ID 0.

    • M

      how to write the repeated condition - Candle Close ID 0 > Candle Close ID 5,...
      Questions & Answers • • migen

      2
      0
      Votes
      2
      Posts
      499
      Views

      M

      @migen Using the other Condition block like this
      0_1607680984619_Immagine.png
      one for condition.

    • M

      how to get EA complete calculation before placing order ?
      Questions & Answers • • migen

      9
      0
      Votes
      9
      Posts
      1037
      Views

      B

      Owh... I forgot about the Constant color. Thanks @migen .

    • M

      How to get data from API and use it in comparation ?
      Questions & Answers • • migen

      3
      0
      Votes
      3
      Posts
      648
      Views

      l'andorrĂ 

      @migen This is a question for hadrcoders (ie, not me). Anyone present here?

    • M

      One trade hit trailing stop (Stoploss), it will close all trade ?
      Questions & Answers • • migen

      2
      0
      Votes
      2
      Posts
      349
      Views

      M

      i have just found a solution

      https://fxdreema.com/shared/c1Q0vfEEb

    • M

      How to find Highest / Lowest in a period (eg. 2 days, 3 days..)
      Questions & Answers • • migen

      2
      0
      Votes
      2
      Posts
      461
      Views

      M

      I have just find out - Market Properties / Highest Price (Candles Period) in Condition block.

    • M

      How to write condition OR with "darker condition block"
      Questions & Answers • • migen

      4
      0
      Votes
      4
      Posts
      791
      Views

      roar

      @migen I'm not sure, but generally a logical TRUE is equal to numeric 1. So you could try just replacing && with + sign:
      variable = (D1 > D11 || D1 == 7) + (D2 > D22 || D2==7) + (D3 > D33 || D3==7)

    • M

      Display current profit/ close profit (money) of EA
      Questions & Answers • • migen

      9
      0
      Votes
      9
      Posts
      2924
      Views

      A

      Amazing. Works fine.

    • M

      How to set condition - 5 Variables values equal 7
      Questions & Answers • • migen

      2
      0
      Votes
      2
      Posts
      381
      Views

      roar

      @migen take the darker condition block and do this:
      0_1589528313502_fa7ebbb1-591d-4108-b6cb-0226da80d5f0-image.png

    • M

      How to replace Variables (auto set/replace Variable) to compare (Condition block) ?
      Questions & Answers • • migen

      3
      0
      Votes
      3
      Posts
      751
      Views

      M

      0_1588785763606_Untitled.jpg
      here is example project.
      I have some EUR Conditions (day 1) then get result - Variable "EUR_1"
      Same with day 2 ... day 15.

      then, if
      Variable EUR_1>0
      ...
      Variable EUR_15>0

      get result with Variable EUR.

      My question : how to replace Variable EUR_1 with EUR_2... EUR_15 in Condition block EUR_1>0 ? So I just need 1 block without 15 blocks (for 15 days)

    • M

      How to create exotic pair price such as XAUGBP ?
      Questions & Answers • • migen

      5
      0
      Votes
      5
      Posts
      678
      Views

      l'andorrĂ 

      Interesting information. Thank you for sharing.

    • M

      How to set group number for a group of block ?
      Questions & Answers • • migen

      2
      0
      Votes
      2
      Posts
      826
      Views

      roar

      @migen I'd say using a variable in the group number is the best option, you will have to touch every block, though.

      Also make sure that your system is not unnecessarily big, usually you can reuse the same blocks with a loop...

    • M

      Condition - Recalculate with the price at the time of all orders are closed
      Questions & Answers • • migen

      2
      0
      Votes
      2
      Posts
      319
      Views

      l'andorrĂ 

      I do not understand point 3. Whay do you want the proce level when they were closed? What do you mean by 'target profit -50'?

    • M

      Multiple EAs - how to place only 1 Buy or Sell of 1 symbol - or how to delete duplicate trades
      Questions & Answers • • migen

      6
      0
      Votes
      6
      Posts
      1161
      Views

      R

      hi

      is it work ?

    • 1
    • 2
    • 1 / 2