fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. miro1360
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 257
    • Topics 27
    • Posts 1611
    • Best 192
    • Controversial 5
    • Groups 0

    Posts made by miro1360

    • RE: Here, take this profitable ea

      @roar .... start thinking about adx indicator 😄 .... turn off main line and stay only with +DI and -DI 🙂

      it is also one of best indicators to measure currency strength (along with bollinger bands % change)

      posted in Tutorials by Users
      M
      miro1360
    • RE: The max value of bucket of pending order count

      it depends on the broker how much orders you can have opened ... it is possible about 200 😄

      posted in Questions & Answers
      M
      miro1360
    • Tutorial: Custom Martingale 1

      important note: this is not about profitable EA, it is about custom martingale principle, do all tests only in tester or demo ...

      People are repeating question how to create martingale system.

      In this tutorial I will describe how to create simple, but less stable martingale. This is one method is ugly but is simple and is working in tester.
      Criteria:

      • separate buy and sell
      • buy trade is opened when fast MA crossed slow MA in up direction, opposite for sell
      • trade closed on fixed SL/TP
      • when trade is closed on SL, multiply volume for next trade by custom multiplier
      • perform lots reset when calculated lots value is more than some reset limit (skip reset when value is 0)
      • also reset lots on TP

      Lets start:
      Open new empty project:
      0_1528224435026_ef86ad99-e2fe-4c82-a7b6-b41b6c19ae2d-image.png

      Create few input parameters:
      0_1528224644447_e25d6dc6-b4ea-4f53-9ac9-6363cb69ece9-image.png

      Create few variables:
      0_1528224746621_3ce6d5a4-ada1-4d59-bab7-5f5cdc39f6ae-image.png

      In on Init section reset variables by lotsStart value:
      0_1528224945874_4650a257-7fc1-462a-99a9-07ef4658ad0f-image.png

      In on Tick section add few blocks based on condition, if there is no trade (separate for Buy/Sell) than open trade with variable lots:
      0_1528225163043_f66f48b0-aba9-4692-ab4b-149136d5c922-image.png

      Opposite for sell:
      0_1528225290064_e352d8da-2e9b-4e94-a6b1-408e917e667d-image.png

      Continue in on Trade section:
      Learn basic math and use custom code block in simpliest way for your math and add custom code ... for our example the logic criteria are:

      • when trade is closed on SL, multiply volume for next trade by custom multiplier
      • perform lots reset when calculated lots value is more than some reset limit (skip reset when value is 0)
        0_1528226020037_6d225e3a-3dcd-4d3f-95e3-a8410edb8183-image.png

      Do few changes for sell:
      0_1528226204381_db140127-1c30-44f2-99f3-f58e9cf23226-image.png

      And rest of blocks for TP reset:
      0_1528226331894_95519a0a-5508-4794-86ea-57e3db7648f6-image.png

      Run your EA in tester and you can see, that buy and sell are mixed and hard to find if martingale is working:
      0_1528229814538_946b9895-61b0-4dba-abdd-e961ef8922dd-image.png

      Think about input parameter for selecting trade type (only buy, only sell, or both), name this parameter tradeType and value 1 can be buy, value 2 can be sell, and 0 will representing both ... and add condition blocks into your logic:
      0_1528227355261_f09a3c77-a179-471b-b247-8961a887fc25-image.png

      Now test it. In EA settings (in metatrader tester) set tradeType = 1 (for only Buy trades) :
      0_1528227527970_fdf33295-fb7b-4362-8788-a9a6fdcc01ab-image.png

      Results are now much better to read:
      0_1528228987904_f8ef1fa6-8054-45db-b7d0-1d67850488fd-image.png

      Graph shows that we should consider to lower lotsReset value,
      0_1528229056684_a47ff8b6-10dc-42cb-ac05-f8301c75fb4f-image.png

      try lotsReset 0.17 .... see, slightly better, but still in loss, just martingale 😄
      0_1528229296244_e699ee01-8944-4831-9b6c-9c023c65c904-image.png

      try combined with sell, .... not much changed 😄
      0_1528229417474_deefae91-86bd-4fa6-9b35-6e2dc4aa9433-image.png

      anyway, this was not about profitable EA but about simple custom martingale ...

      shared link:
      https://fxdreema.com/shared/29RWlV12d

      posted in Tutorials by Users
      M
      miro1360
    • RE: Sharing is good!!!

      there is not profitable fully automated EA for all time period
      there are only lucky people with normal EAs (trend EAs, or side EAs, or martingale systems) who these EAs let run on lucky period of the time 😄

      posted in Questions & Answers
      M
      miro1360
    • RE: I need help guys.TQ

      I can help you best:
      based on experience: it is lossable strategy 😄

      posted in Questions & Answers
      M
      miro1360
    • RE: Block IDs?

      you can rename IDs to lower numbers, begin from 10 or so ...
      when you add new block, it will have ID greater than current highest ID

      posted in Questions & Answers
      M
      miro1360
    • RE: How does this variable change value?

      why are you working with such strange block numbers? 😄
      maybe your problem is somewhere in blocks arrangement ... for formula blocks try them place one after another

      posted in Questions & Answers
      M
      miro1360
    • RE: Hi.. I want open lot 0.01 not 0.10

      sign in into broker account ... if you already did and still 0.1, change broker

      posted in Questions & Answers
      M
      miro1360
    • RE: Zero divide after EA / MT4 restart

      you can avoid this issue with adding if else statement ...

      double LotStep = SymbolInfoDouble(symbol, SYMBOL_VOLUME_STEP);
      if (LotStep != 0)
      { lowerlots = MathRound(lowerlots/LotStep)*LotStep; }
      else { lowerlots = some_default_value; )

      posted in Questions & Answers
      M
      miro1360
    • RE: Help with Custom Indicator

      repainting indicators do this often

      posted in Questions & Answers
      M
      miro1360
    • RE: Baby Steps

      0_1527234024828_miro1360_test_1.1.mq4

      I am not sure what happened but this should be result 😄 ... red is SMA

      0_1527234027129_3530583f-e53d-4a65-922e-acf900c55ee8-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: Virtual stops disappear ??

      it all depends on admin, not on me, I am not admin 😄 😄

      posted in Questions & Answers
      M
      miro1360
    • RE: Virtual stops disappear ??

      perfect, thanks ... now I can see it ... it is for 100% bug, admin must repair it 🙂

      posted in Questions & Answers
      M
      miro1360
    • RE: Currency Strength based on last Candle

      candle size is not the strength of the pair or currency and you can not use candle size alone 😄 ... you must calculate some % from candles, or use indicators as RSI

      posted in Questions & Answers
      M
      miro1360
    • RE: Baby Steps

      yes, that is what forex teach you .... 99.9% of fails and 0.1% of small success 😄 😄

      posted in Questions & Answers
      M
      miro1360
    • RE: Currency Strength based on last Candle

      and it is not that long, where I helped you with this, with all custom code and arrays for sorting:

      https://fxdreema.com/forum/topic/5851/select-the-top-5-variables

      ... you must only take this concept and use it in your different strategies ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Currency Strength based on last Candle

      ... buying tools and working with tools are two different things 😄

      ... what do you mean by pip value? because I think you dont know exactly what are you asking for ... there is no pip value of candle, but there is candle size in pips ...
      ... next, each currency have different average movement, some currencies have small movement for all period (EURCHF) and other have huge movement (GBPJPY) ... you can not sort it only based on this size .... you must create another logic for sorting based on some % movements, you can do it with indicators like RSI, stochastic, % change in moving averages, etc...

      and when you create it, you must have custom code used in fxdreema for sorting, and some arrays ...

      posted in Questions & Answers
      M
      miro1360
    • RE: EA of management of another EA

      0_1526977065247_69c12de3-b41e-44c2-afbc-52ef143c5baf-image.png

      and set Magic number the same, as the other EA has ..

      posted in Questions & Answers
      M
      miro1360
    • RE: Virtual stops disappear ??

      @sherinhamad said in Virtual stops disappear ??:

      t know wheat is the problem. if y

      I have not access to your EA 🙂 .... you can send me shared link ..

      posted in Questions & Answers
      M
      miro1360
    • RE: Baby Steps

      0_1526976663436_miro1360_test_1.1.mq4

      this is how calculation looks like:

      0_1526976643884_106b0f3f-2a89-4f9a-b6c5-b8b673f0f290-image.png

      0_1526976686174_cfd28e78-c88c-4f88-8b29-a1b950c9f318-image.png

      posted in Questions & Answers
      M
      miro1360
    • 1
    • 2
    • 19
    • 20
    • 21
    • 22
    • 23
    • 80
    • 81
    • 21 / 81