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: About Moving Average levels !!

      @roar Oh man, sometimes it's really hard to giess what exact issue the users here have

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Get the balance from the history tab ?

      @fabiobioware OrdersHistoryTotal() is the function @roar meant. Without the word function!

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Storing the price value in a variable

      @fxalberto Use the search function of the forum, that is one of the 3 most requested topics https://fxdreema.com/forum/search?term=atr stopp loss&in=titlesposts&sortBy=relevance&sortDirection=&showAs=posts

      posted in Questions & Answers
      T
      trader.philipps
    • RE: About Moving Average levels !!

      @roar If it's the level, I think it's a pip or point fraction

      posted in Questions & Answers
      T
      trader.philipps
    • RE: About Moving Average levels !!

      @roar But than the logic is nearly the same. Just use a constant of 1420 for MA_Distance variable instead of the formular block, right?

      posted in Questions & Answers
      T
      trader.philipps
    • RE: About Moving Average levels !!

      @gauss said in About Moving Average levels !!:

      for example I want to add 355 period and 1420 level. I have to write +1420 or -1420 on adjust right ?

      What do you mean by +/- 1420 level? Is it the distance of MA 1420 from current price or close price of last candle?

      0_1583116827132_ec6aa70d-bdad-4d8e-85ba-c4840a2905e2-image.png

      In case it's the close price of previous candle I'd do it like that.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Get the balance from the history tab ?

      @roar Does that matter? OrdersHistoryTotal() can only return what is selected on the history tab.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: how i can to separate the sell quantity and the buy quantity separately ?

      @moon What do you mean by "all people"? Your EA can only monitor 1 trading account - the one you attached it on a chart. Please try to give more detailed information.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: How can I work on a candle (H1) & make the expert through one per bar

      @khalids222 No. The on Timer tab you only need if you want things to happen independent from any tick. Unfortunately all you do on on Timer tab you won't be able to test in back-test mode. So if there's nothing you want to do outside the market hours, you'd better go with the on Tick tab.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: How do I have drop down parameterised for optimisation

      @jzfusion Define a constant for the desired field

      For MA method use datatype ENUM_MA_METHOD
      See valid values (for default value) here: https://www.mql5.com/en/docs/constants/indicatorconstants/enum_ma_method

      For MA price use datatype ENUM_APPLIED_PRICE
      See valid values (for default value) here: https://docs.mql4.com/constants/indicatorconstants/prices
      0_1582771088133_9b6a7b68-d3d8-4338-ad4e-414b8872ffcc-image.png

      Once you define the constants, you can use them each time you use the MA indicacator by rightclick on the correspondant field.

      0_1582771210843_908138b5-3579-4938-9548-170c585e2eb6-image.png

      posted in Questions & Answers
      T
      trader.philipps
    • RE: EA with object on the chart

      @biztet Block 38 place a real variable there (right click on input field). The redraw shouldn't be necessary.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: how i can to separate the sell quantity and the buy quantity separately ?

      @moon Just use the Bucket of Trades block and some Modify Variable for instance ..

      0_1582725720248_a66518cd-4ade-4b84-ae33-f5a2af7bd390-image.png

      Adjust it to your needs. AND place a variable where I entered the text SOME_VRAIABLE!!

      posted in Questions & Answers
      T
      trader.philipps
    • RE: How can I work on a candle (H1) & make the expert through one per bar

      @khalids222 Don't know if I understood you right, but this should do what you want (use instead of once per bar or create an extra path for the actions that should be taken every 20 minutes)

      0_1582724973927_acd0b150-7c9b-40a2-b87d-8d0a146ead6b-image.png

      posted in Questions & Answers
      T
      trader.philipps
    • RE: What Makes a Good Strategy?

      @titangeorge In one of TRO's videos he shows an exit indicator. Do you know what indicator that is?

      posted in General Discussions
      T
      trader.philipps
    • RE: EA with object on the chart

      @biztet The EA only loads the indicator, if the block is executed. I created the dummy variable as it is required for the Modify Variables block to get exectuted. All I want to achieve is that the EA loads the indicator. You may also use an Custom MQL Code block with an iCustom call, but I think the way I suggested it's easier.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: how i can to separate the sell quantity and the buy quantity separately ?

      @l-andorrĂ  Yes, you are right. I did some testing. If you specify magic number 1000, group 1 will have magic number 1001 - it adds the specified number. Group number 2 will have magic number 1002.

      Having this in mind, you could implement the approach I described above,

      Things to do:

      a) create an int variable
      0_1582680718974_3b4b22bb-103c-4e03-8dda-50cea393476d-image.png

      b) on Init tab: set current timeframe in minutes to the int variable

      0_1582680768578_02fdfe71-ff67-40d0-9ad6-a444b92ce4b1-image.png

      c) Everywhare when usual EA activity allows for setting a group number, specify the int variable.
      Here are some samples

      0_1582680860502_e4a7a423-645f-4b6d-ae90-bc1dae4c14bd-image.png

      The result will be that if you apply the EA to M15 chart, it will use the magic number 1015 (base is set to 1000, group 15 is added by fxdreema's group function). Same EA on H1 chart, EA's magic number would be 1060 and so on.

      Hence you can run the same EA on several TF per symbol and it will take care for it's timeframe only.

      Next thing would be to get trade information from all magic numbers. In that case you'd specify all the group numbers possible by the timeframe logic .. here an exampke in a For each Trade block

      0_1582681256286_4ca6ce69-66d0-471a-a6be-96fe4a9ed7ab-image.png

      I think that's a cool auto magic number solution. The only pitfall is that you need to specify the group information everywhere possible.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Partial profit closing, negative + positive all symbols

      @tito78 Are you using the EA with multiple symbols on just 1 chart or one chart per each EA instance? Furthermore, how do you determine which position would close wich which? Bigest profit with bigest loss? All in all that's not an easy task to do. Probably you'd need to implement a controling EA to do so that scnans through all symbols and open trades on them.

      posted in Questions & Answers
      T
      trader.philipps
    • RE: Stop Loss ATR based does not work

      @traderline Did you create the constant cdSLAtrMultiplicator (double) and specify a value other than 0 in the 2nd example?
      Furthermore if you use * Mathpow(10,_Digits-1) it calculates Pips. So Custom Price Level is wrong. Use Custom (Pips) instead!

      posted in Questions & Answers
      T
      trader.philipps
    • RE: backtesting ea in mt4

      @kop That's not possible with MT4. If you want simultaneously test more than one symbol you need to use MT5.

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

      @weius EA runs continously and script runs once when applied to a chart.

      posted in Questions & Answers
      T
      trader.philipps
    • 1
    • 2
    • 3
    • 4
    • 5
    • 50
    • 51
    • 3 / 51