fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. roar
    3. Posts
    • Profile
    • Following 0
    • Followers 184
    • Topics 35
    • Posts 2406
    • Best 422
    • Controversial 6
    • Groups 0

    Posts made by roar

    • RE: how i do that in fxdreema in equity ?

      @moon
      We update the PreviousBalance variable at the point when there is no trades.
      When there are some trades, compare the current equity to the previous balance. If it is 100 units bigger, close trades

      posted in Questions & Answers
      roar
      roar
    • RE: how i do that in fxdreema in equity ?

      @moon
      Use a variable to store the previous balance:
      https://fxdreema.com/shared/LmbanX11b

      posted in Questions & Answers
      roar
      roar
    • RE: Lot size based on a variable value?

      @jennifer
      Yes, this works, it can be either "fixed value" or "custom value" to my experience..
      Remember to use visual backtest before trading real money

      posted in Questions & Answers
      roar
      roar
    • RE: Profit trailing

      @mmaarits
      You have to use some kind of "trailing start", a treshold before applying the "% of profit" trailing, because 50% of 0 is 0, so it will not work at the open price.
      0_1550089512942_a3ff0acb-3aa1-4989-b99c-d8cbd1076e8c-image.png

      This trails 50% of profit, it does not have just 2 steps like in your example, it continuously adjusts the distance.

      @mmaarits said in Profit trailing:

      if price has reached 75% of TP level, move SL to 50% of TP level

      Why the 3rd step is not half of profit anymore? Do you need some exponential function, like the trailing stop gets thinner the closer the TP is?

      posted in Questions & Answers
      roar
      roar
    • RE: Trying to set buy/sell at candle close not working right

      @makamilman
      Try this version, I think it is closer to what you want:
      https://fxdreema.com/shared/5EHm72tLd
      What I changed:

      • condition blocks use candle ID 1, that is the latest completed cande, not the updating one.
      • because we check the history candle, we can do it only "once per bar" because the situation won't change anyway until a new bar appears
      • trailing stop and breakeven don't need separation to buy/sell.
      • "trailing start is 100% of trailing stop" = trailing stop starts at the open price
      posted in Questions & Answers
      roar
      roar
    • RE: Profit trailing

      Try the trailing stop, it has all kinds of options, like trail by a % of profit or a % of TP

      posted in Questions & Answers
      roar
      roar
    • RE: saving lot size in variable

      @jennifer
      I guess "OrderLots()" works. You need to first tell the EA which order you mean, hence the "for each trade"
      0_1550082144242_2934ce5e-1d9b-41d3-beec-7df6ad41a3cf-image.png

      https://docs.mql4.com/trading/orderlots

      posted in Questions & Answers
      roar
      roar
    • RE: Trying to set buy/sell at candle close not working right

      In your fxdreema builder go "project" -> "create shared copy".

      Solution: use the block "once per bar" at the top of your logic tree

      posted in Questions & Answers
      roar
      roar
    • RE: saving lot size in variable

      @jennifer
      Oh, sorry, it seems that function is only MQL5... I don't know if there is an MQL4 equivalent

      posted in Questions & Answers
      roar
      roar
    • RE: saving lot size in variable

      @jennifer
      You can put custom code pretty much everywhere in fxdreema, like this for example
      0_1550075949968_11d95549-b5ad-4c54-9613-50b06213360d-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: saving lot size in variable

      Try this function: PositionGetDouble(POSITION_VOLUME)

      posted in Questions & Answers
      roar
      roar
    • RE: Is it possible to change the value of an indicator using an EA?

      @rafaelgrecco
      I must admit I'm not expert on custom indicators, but can it be changed here, in the "My Indicators" menu?
      0_1549912427964_dd425a3c-54d4-4b50-9edd-f05eb58cbabe-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Is it possible to change the value of an indicator using an EA?

      Surely you can take that value and store it as a variable at some point of your EA? Modifying a variable is simple.

      posted in Questions & Answers
      roar
      roar
    • RE: Phantom Moving Average

      EURUSD M30, every tick:
      0_1549821854718_7fe75d37-06de-49b0-ba13-32ba890f7af7-image.png

      Really strange if you get different results.. Do you have these default inputs?
      0_1549821919264_7624ef32-6a20-43f8-920f-c69319e37be8-image.png

      posted in Bug Reports
      roar
      roar
    • RE: Phantom Moving Average

      Hmm I only see 300 and 1000 MA in my BT

      posted in Bug Reports
      roar
      roar
    • RE: Multidimensional Arrays

      Hey, is this implemented in fxdreema yet? I'd like to make an array that has separate "rows" for each pair.

      posted in Questions & Answers
      roar
      roar
    • RE: Scalping micro pips strategy.

      Hi!
      This is a grid system, you can do it like this for example: https://fxdreema.com/shared/Hm8jwqDC

      posted in Questions & Answers
      roar
      roar
    • RE: Mql5 EA build

      @spicynote said in Mql5 EA build:

      @roar
      I notice there are two shorts right next to each other without breaking supports.

      The first one is closing the buy trade, second one is opening the sell as there are 2 candle closes below MA.

      posted in Questions & Answers
      roar
      roar
    • RE: Stop and reverse strategy(No martingale)

      @arrow82
      Well, do you have a fxdreema project for this? Did you even try? 😄

      posted in Questions & Answers
      roar
      roar
    • RE: Mql5 EA build

      @spicynote
      I tested the project I shared earlier: https://fxdreema.com/shared/Y3lUXgVrb
      Found a little bug - close sell condition was "below" instead of "above".
      Now the EA works as designed.
      It surely does make some stupid trades, but lets not blame the poor algorithm. It just does what we tell it to do
      0_1549663990925_40fff653-330e-450e-9269-ecd6c05768f8-image.png

      posted in Questions & Answers
      roar
      roar
    • 1
    • 2
    • 98
    • 99
    • 100
    • 101
    • 102
    • 120
    • 121
    • 100 / 121