fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. trader.philipps
    3. Posts
    T
    • Profile
    • Following 3
    • Followers 38
    • Topics 20
    • Posts 1001
    • Best 91
    • Controversial 2
    • Groups 0

    Posts made by trader.philipps

    • RE: Why does this EA only go long?

      @SpecialFX I tweaked your EA a bit and it's working well long and short trades. Just the short condition dows not occur as often as the long for whatever reason.
      See tweaked version here

      I also made a backtest of that version. See results here
      0_1567390129975_b46d3e57-82fc-49dd-9c0b-7af2b35531f6-image.png

      On higher timeframes I saw less short trades what gives me the feeling that @miro1360 might be right with his points.

      posted in Questions & Answers
      T
      trader.philipps
    • Line break in draw text block possible?

      For investigation on buffers I try to print them on the screen by using a draw text block. In order to make it mor readable, I tried to force a line break by adding "\n" in my text output. However the resu´lt is always a single line which is also limited in charakters.
      Is there a way to write multiple lines of text to the chart or do I have to use 1 draw text block per line?

      posted in Questions & Answers
      T
      trader.philipps
    • RE: TURN Off MT4 Autotrading

      @ambrogio I don't think there is an API function available to do so. At least I'm not aware of.
      If it's sufficient to stop the EA, you may set a flag that you check before opening new trades.

      You may also do so by mql4 code .. see example here https://www.mql5.com/en/forum/113277
      However, they suggest a software that auto-controles the mt4 window. But I have no clue how your EA might trigger that.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Possible to display custom indicators during backtest?

      @zackry So I need to create a template with the desired indicators and apply it from EA?
      That would mean I need to do changes to EA indicators as well in template. Am I right?
      In that case I could rename the template tester.tpl and it will always load automatically.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: How to close a part of trade if n % of TP in profit?

      I think you should start a new thread as this seems to be a new topic.

      However, you can limit the in the close block that it should apply only to buy, sell or both (default). May that help you?
      0_1567130082040_Auswahl_506.png

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Compilation errorrs Help please BB breakout

      Hi @dean3549 ,

      there seems to be some hidden characters in the 2 fields. I just cleared them and re-entered the value and afterwards save again and it compiles without problem.
      Issues were in block 8 and 14.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Take profit

      @Tradingjunkie hard to tell. Can you share the project or the not working part?
      I use TP and SL with pips and it seems to work well for me.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Trigger

      @Setsuna looks like the classic "One cancels other" (oco) order you want to implement.
      If that is working, I'd make a bookmark for later purposes.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: average true range

      Keep in mind that ATR measures the volatility of an instrument and not not the strength as it is directionless!
      However, you probably want volatility and not a dead market. So the approach to compare shorter ATR against longer ATR might give you the desired information.

      posted in Questions & Answers
      T
      trader.philipps
    • Possible to display custom indicators during backtest?

      Hi all,
      again a stupid question from me. I know that when my EA uses custom or built-in indicators after BT I can choose to display the indicators on the chart after the BT. Is there a way to do so during visual BT? Otherwise I need to put the same indicators and settings by myself and it'll slow down BT.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: How to run EA on 1 chart for multiple symbols?

      @ambrogio thanks for your quick response. Looks interesting. BT is for sure unless you specify just the single symbol you want to test in MT4 tester.
      Thanks a lot!

      posted in Questions & Answers
      T
      trader.philipps
    • How to run EA on 1 chart for multiple symbols?

      Is it possible to build and EA with fxdreema that is placed to 1 chart and trades multiple symbols? For instance I have a list o 10 symbols that I specify in a list and want to let my EA handle all trades on those pairs. I know it's possible in general at least on MT4, but is it possible with fxdreema as well?
      If so, may someone share a simple (and maybe working) example?

      posted in Questions & Answers
      T
      trader.philipps
    • RE: MACD divergence

      Ther are 2 common types of divergence concerning macd. Regular divergence and hidden divergence.
      You may have a look here link text on how you may trade them.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: How to close a part of trade if n % of TP in profit?

      @roar thanks a lot. Never used the custom mql block so far. Didn't expect it to be so easy.
      0_1566955947431_c2adedaa-4886-421f-8e0a-4bf5b23658a2-grafik.png

      Thanks a lot.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Separately manage trade sell and trade buy and their relative profits and losses with a single expert advisor and a single account on the broker

      sum and the EA calculates the half.

      Have the EA filler the historic trade (complete history must be visible) or store it in file to preserve MT4 restart
      Let EA add/reduce open profits / loss in order to stop when balance is consumed.

      Something like that?

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Separately manage trade sell and trade buy and their relative profits and losses with a single expert advisor and a single account on the broker

      Even if I don't understand the reason for doing so, the logic I might think of the following:
      Have your EA with 2 different magic numbers.
      Have it calculate (or per setting) given a starting balance (eg full sum and

      posted in Questions & Answers
      T
      trader.philipps
    • RE: How to close a part of trade if n % of TP in profit?

      Just a portion of the trade. Is there a function that I can get the number of bars the trade is open already? I'm currently prefering to calculate ATR from trade open again.

      posted in Questions & Answers
      T
      trader.philipps
    • How to close a part of trade if n % of TP in profit?

      Hi,

      I'm currently struggling with an issue I have no idea yet, how to solve.

      Let's assume I calculate the ATR value and use a multiplier of it either for SL and TP. As an example let's assume ATR is 10 and TP multilpier is 4, which means TP is 40 pips away from open price.
      After a while my trade goes in profit and I want to partly close a defined number of pips (eg. 25% of my TP or in that example 1 initial ATR distance from opening).

      Possible solution 1:
      Get to know how many candles trade is open and recalclate ATR from opening candle, store it in a variable and check if openingPrice + initialATR > than current bit/ask price depending on trade direction.

      Possible solution 2:
      Get the distance between openingPrice and currentTP and divide it by the number (here 4) and check if current ask/bitPrice +/- tpDistance divided by tpMultiplier is > 0

      There may be other solutions, such as storing the TP per trade (ordernumber) as a global variable, which may survive a terminal restart. But I have no idea how to do so with fxdreema.

      I could also open 2 trades and give them a splited lot size with 2 different TPs, but I don't like that approach so much.

      Any ideas or tips I'd really appreciate!

      posted in Questions & Answers
      T
      trader.philipps
    • RE: CandleSize alway returns 0

      L'Andorra, thanks for the tipp @IDs

      I'm currently adding fractions that I later want to place in the EA logic. I realized that candle size is Calculated right, but my ATR is not in PIPs. Sorry for any confusion, but the values in the log appear in different order and I don't have a clue yet to mix a number and a string in one log entry line. Well, my first day with fxdreema so nevermind.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: CandleSize alway returns 0

      Btw. see the code in the getAtr Block on onTick tab.

      posted in Questions & Answers
      T
      trader.philipps
    • 1
    • 2
    • 47
    • 48
    • 49
    • 50
    • 51
    • 50 / 51