fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. toddolar
    3. Topics
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 18
    • Posts 25
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by toddolar

    • T

      stoploss martingale
      Questions & Answers • stop loss marti • • toddolar

      2
      0
      Votes
      2
      Posts
      1136
      Views

      fxDreema

      I think that take-profit should be doubled, because in Martingale you normally want 2x profit after a loss. But anyway, get ideas from this one: http://fxdreema.com/shared/4fxd5MZVc

    • T

      formula
      Questions & Answers • • toddolar

      2
      0
      Votes
      2
      Posts
      538
      Views

      fxDreema

      Now "Formula" does a simple calculation and puts the result of this calculation in previously created (by you) Variable. This Variable is global for the whole EA and can be used everywhere.

    • T

      acc bal
      Questions & Answers • • toddolar

      2
      0
      Votes
      2
      Posts
      519
      Views

      fxDreema

      You can get the profit of the last closed trade, here is how: https://fxdreema.com/shared/8rgo60N1d

    • T

      martingale
      Questions & Answers • • toddolar

      2
      0
      Votes
      2
      Posts
      610
      Views

      fxDreema

      Martingale is inside "Buy now" and "Sell now" blocks and there are few parameters to control it. If needed, these parameters can also be controlled via variables

    • T

      as price fraction
      Questions & Answers • • toddolar

      2
      0
      Votes
      2
      Posts
      947
      Views

      fxDreema

      open-to-close price is the difference between Open Price and Close Price when the trade was closed, so you should use "For each Closed Trade" here. Otherwise I think that Close Price is the current price, if not 0 (I don't remember exactly).

      Both prices are the real prices where the trade opened and closed, so the spread is probably somewhere in there. Well, not the current spread, but the one that was in those events.

      The spread is available somewhere else in Condition, somewhere under Market properties again as price fraction (ask - bid). Otherwise as MQL4 code it is:

      MarketInfo(Symbol(), MODE_ASK) - MarketInfo(Symbol(), MODE_BID)

      But do you really need that...

      There is something else, but this returns points which are probably not really useful in fxDreema. If the spread is 2 pips, it will return 20 🙂 Again, if I remember correctly 🙂

      MarketInfo(Symbol(), MODE_SPREAD)
    • T

      balance
      Questions & Answers • • toddolar

      2
      0
      Votes
      2
      Posts
      727
      Views

      fxDreema

      Set a Variable: https://fxdreema.com/demo/mt4-variables
      Some people are using the Formula block, which is similar... but I will recommend Variables.

    • T

      partial close
      Bug Reports • • toddolar

      2
      0
      Votes
      2
      Posts
      597
      Views

      fxDreema

      This is compile warning, not error. It's not wrong, only MQL4 does not like it.

    • T

      partial close
      Questions & Answers • • toddolar

      7
      0
      Votes
      7
      Posts
      3705
      Views

      E

      @fxdreema Let's assume that my trade have the trailling the stop loss activ since the beginning.
      But I still want to do the same as @tcanuto asks: I want to close the first partial with 100% from the INITIAL stop loss and the second with 200% from the initial stop loss.

      How can we do it?

    • T

      close and close partial blocks
      Bug Reports • • toddolar

      1
      0
      Votes
      1
      Posts
      585
      Views

      T

      can you look at these blocks
      they seem to be back to front

    • T

      pip $value consecutive loss
      Questions & Answers • • toddolar

      9
      0
      Votes
      9
      Posts
      1731
      Views

      fxDreema

      My fault, I think it's working now

    • T

      object on chart
      Bug Reports • • toddolar

      2
      0
      Votes
      2
      Posts
      733
      Views

      fxDreema

      I need more details.
      In any case, I was not updated MQL4/MQL5 code from weeks maybe, because now I'm working locally for some update. And I just tested this one, it seems to work: http://fxdreema.com/shared/WBF288Gvc

    • T

      copy and paste
      Bug Reports • • toddolar

      5
      0
      Votes
      5
      Posts
      1204
      Views

      T

      ... just reloaded pages using F5 and it's working now 🙂

    • T

      copy and paste
      Bug Reports • • toddolar

      2
      0
      Votes
      2
      Posts
      901
      Views

      fxDreema

      Yeah, it looks like something is not ok, I will check that immediately. Thanks for reporting that!

    • T

      pending orders
      Bug Reports • • toddolar

      5
      0
      Votes
      5
      Posts
      1327
      Views

      T

      thanks for your help

    • T

      stop loss
      Questions & Answers • • toddolar

      4
      0
      Votes
      4
      Posts
      1253
      Views

      fxDreema

      Something like this?: http://fxdreema.com/shared/p8Kl1m5ye
      (place horizontal line with name "sl")

    • T

      error
      Bug Reports • • toddolar

      2
      0
      Votes
      2
      Posts
      1102
      Views

      fxDreema

      3 variable names into 1... how?
      profit_money + inp103_Compare + ProfitAmountMoney

    • T

      compile error ?
      Bug Reports • • toddolar

      2
      0
      Votes
      2
      Posts
      1164
      Views

      fxDreema

      Warnings like this are not fatal, it can happen with another functions.

    • T

      compiling gives error
      Bug Reports • • toddolar

      2
      0
      Votes
      2
      Posts
      1227
      Views

      fxDreema

      Fixed. Thanks for the report.

    • 1 / 1