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 1594
    • Best 190
    • Controversial 5
    • Groups 0

    Posts made by miro1360

    • RE: What is the correct way to extend Stoploss?

      I dont see here problem with extend stops, look here:
      (I used onTimer section for blocks, but the same happen with on Chart, dont be confused)

      https://fxdreema.com/shared/KQV8gHcfd

      0_1480952202635_upload-808574bf-2d90-4711-963e-6fdb8cc44097

      posted in Questions & Answers
      M
      miro1360
    • RE: What is the correct way to extend Stoploss?

      before block extend stops try place another block: For each Pending Order and apply some filters in this block (like Not more than "n" orders: 1)

      posted in Questions & Answers
      M
      miro1360
    • Tutorial 07 - Read prices from indicator objects

      We are going read values from Objects on the chart which are controlled by indicator, not values from buffers, that means, we dont need indicator in My Indicators because we are not going work with indicator directly.
      Indicator must be inserted into chart manually (into same chart with EA).

      here is indicator (note, is renamed, you can rename it as you wish)
      0_1480901745242_Shved Supply and Demand (e600) length.ex4

      and here is shared link to this strategy:
      https://fxdreema.com/shared/JyxzKfdwd

      now look how is this indicator working:

      • is ploting dynamic zones:
        0_1480901473830_upload-d91db741-5fa9-44d9-999b-25aabe806f4f

      • these zones are not from buffers, but from objects, so look how they are named:
        0_1480901492680_upload-8f5e1c88-125c-4c83-9fc2-d712fc9db53a
        0_1480901502621_upload-8a3bd0be-895e-4175-bc71-84429201ffd3

      See, Rectangle type with name begins as "SSSR" and than some incrementation with "R" or "S" and next info like "Weak", "Proven" ...

      Our strategy can be (you can create another):

      • when candle 1 closed inside zone, we leave EA waiting for next conditions
      • when price go outside (next candle 1 closed outside) zone Up, EA open Buy, when outside zone Dn, EA open Sell
      • zone width must be at least 1xATR
      • SL and TP is some multiplicator from ATR indicator
      • Lot size is risk percento from balance depending on SL

      First we need 2 blocks which are selecting objects (rectangles) based on criteria:
      0_1480901521844_upload-480dd9bb-5a08-49e8-bae4-620242c4ad7a

      next is switch which control if was price inside rectangle before and if EA is waiting for trade

      after this are blocks which are working with selected rectangles
      these blocks make some comparison with candle price and variable blocks save price from selected object into variables priceUp and price Dn for next comparison:
      0_1505222022517_upload-55cb6bd9-a686-4e03-80bb-5d4595c9c909

      here are all blocks together needed for this strategy:
      0_1505222149118_upload-1424f53a-93af-4eb2-bc27-b3f9297fbe0b

      and this is result:
      0_1480901570649_upload-5b2a177c-a457-4960-973a-e402f5aefd4a

      note: this is not profitable EA and is not for your real account, this tutorial shows only way, how to work with object from some indicators

      note:

      • with this way you can working with any object on the chart, also with own objects placed manually
      • better if you give them name in chart and for selecting object you use block: "Select Object by Name"
      • or you can read or compare values from objects also with other blocks:
        0_1480902441202_upload-9f38d8b7-5ba0-4fd2-a9f5-c70ea3ba1fff

      that is all ...

      posted in Tutorials by Users
      M
      miro1360
    • Tutorial 06 - My Indicators in fxDreema

      1.) Import with mq file:

      Here I show you, how to add custom indicator into My Indicators in fxdreema and how to use this indicator in project. You can take any indicator, for this tutorial I created own indicator based on Trader Divergence Index. It are few moving averages over RSI and my own enhancement channel based on Standard Deviation multiplicator over market line (third MA).
      First you need is know, how indicator is working and which values are in buffers.
      For this, place indicator into chart and see:
      0_1480900443645_upload-226592c0-2959-45be-95f5-46286df30bc0

      On that picture observe indicator buffers in settings window how they are numbered (0,1,2,3,4, ...), these buffer indexes are important numbers for you.
      In builder click on My indicators - Add custom indicator - Select, and find your mq file with indicator and ok:
      0_1480900470642_upload-c865ab75-dce0-4d5f-80fc-c68378dc7ce2
      .
      0_1480900482201_upload-43b3af55-84ca-401f-8571-34ca11f4d9e0

      click update and now you can working with this indicator ... see there buffers, parameters,
      0_1480900516503_upload-f34eaf84-330c-47ef-8908-d5814d0adb35

      and next important: Candle ID ... for this candle ID you can observe from chart what values are in buffers
      for my indicator it are values somewhere from 0 to 100, sometimes >100 or <0
      Candle ID are indexes in buffers and buffers are holding values (for each candle ID is here value), small example:
      Buffer0[0]=50
      Buffer0[1]=52
      Buffer0[2]=51
      etc ... Buffer0[0]=50 means, that Buffer0 have on candle 0 value 50, Buffer0[1]=52 have on candle 1 value 52 ....

      when are there negative candle indexes, like -1,-2,... you can read values from indicators that are ploting values into future (like ichomoku indicator) ... if you will this value, only you need is give negative Candle ID into block where you are working with indicator
      0_1480900561017_upload-010b7aa2-e8a4-4fc5-9a3c-f4d44e1bb0e3

      note, you need compare values from indicator with adequate values (for this indicator, when value from buffer is 60, you can not compare it with value from candle price 1.1200, because how?)

      when you will make cross green line above red line on candle 0 (candle 0 is not closed and it means repainting, but is fresh), this is way:
      0_1480900591536_upload-8dafde90-9ff2-47f0-a463-cb157f20cc6d

      you can take cross also from candle 1 (this is closed candle and is not repaint - repainting this candle depends on indicator, because some indicators repaints all values) ... Candle ID in this case = 1

      or you can make cross with two condition blocks with logic:
      Buffer0[2] < Buffer1[2] AND
      Buffer0[1] > Buffer1[1]

      means Candle ID, in words: when green line on candle 2 is below red line on candle 1 and green line on candle1 is above red line on candle 1 (than is cross up)

      when you will make cross above value, lets say green line crosses UP value 68 (level 68) on closed candle 1, this is how to do:
      0_1480900637724_upload-4fa2913e-8f49-4e9b-b967-3c1baa3002c7

      2.) Import without mq file, with ex file:

      If you dont have indicator mq file and only ex file, import can be done this way:
      example is my ex file from indicator miro1360_DynamicMA, look for indicator behavior:
      0_1480900774955_upload-fff2260f-7feb-4ff4-860d-db01ac2e6503

      you see here 2 buffers
      and also some input parameters:
      0_1480900786653_upload-b1658af0-ed91-4ebb-aa6d-9e121b83f075

      now go to Builder and find your indicator ex file with My Indicator manager:
      0_1480900800886_upload-1c70f5b8-d51a-4450-a572-210ede6ec6d7

      you see, after selecting indicator here are not buffers and parameters, so you need type them manualy, keep data types correctly, instead of enum datatypes you can use int (maybe, I am not sure with implicit conversion in MT5) ...
      this picture show you correct values for this indicator:
      0_1480900818498_upload-7c5936f8-6005-458c-9056-c0ee6b2ac8db

      click on update

      indicator is imported and test it:
      0_1480900828855_upload-41168116-fa5a-41be-86fc-249b7132e83a

      all is working as expected:
      0_1480900845016_upload-50c4e285-57eb-4662-8d4d-1cb47e2daf86

      here are other indicators, with other type of buffers, like histogram (histogram is also value),
      or arrows, like ADXcrosses, for this case you can use block called Indicator appear and select right buffer:
      0_1480900869624_upload-5f5c417b-20be-49b7-ab74-bc3c5ff4a0dc

      and it is working ok:
      0_1480900886458_upload-24f7d0fb-0443-4c77-9c9d-3998c868628b

      Important:
      your indicators must be located in indicator folder and must have same name as in EA:
      C:\xxxxxxxxxxxxx\MQL4\Indicators
      (when experts are located: C:\xxxxxxxxxxxxx\MQL4\Experts)

      here are some indicators that I used in this tutorial (they are maybe renamed after uploading, rename it as you wish):
      1_1480900961494_miro1360_TDI_Dev_1.0.mq4
      0_1480900961493_miro1360_TDI_Dev_1.0.ex4
      0_1480901002364_ADXcrosses.ex4
      0_1480901026428_miro1360_DynamicMA.ex4

      all for this tutorial

      posted in Tutorials by Users
      M
      miro1360
    • RE: Custom Indicators not Uploading Correctly

      upload here or somewhere that indicator and post link here ... maybe that will be better to show you visually ...

      posted in Bug Reports
      M
      miro1360
    • RE: Custom Indicators not Uploading Correctly

      @timmyhanke

      learn to use constants as input (check tutorials section)
      instead of that "enum" boxes (as you named it) you can use number (like 0, 1, 2, 3, etc) ...
      if you like rolled checkbox you can use data type as in indicator ...

      posted in Bug Reports
      M
      miro1360
    • Tutorial 05 - EMA cross, part 5 - Buttons behavior [beginners]

      in this tutorial I show you how to apply some behavior to Buttons, like turn off Button after trade is opened and also how to use custom code block to recolor this button, hope you will like it ...

      with this Tutorial 05 we also closed this EMA cross EA tutorials, for next tutorials I choose another example

      //////////
      you need to know, that with this button behavior you can work also in on Chart section which have faster reactions (or on Timer), but that is not working in tester, so that is why I show you how to work with this behavior in on Tick section to have your EA with buttons under fully control in tester
      //////////

      https://fxdreema.com/shared/Lti2EttK

      MQL5: https://fxdreema.com/shared/f8D0nyZKc

      0_1480644201764_upload-aea06637-ccbc-4ff5-b30a-c6749731e506

      0_1480644391991_upload-1a9aed2c-c532-4433-a476-8f805cea43ab

      posted in Tutorials by Users
      M
      miro1360
    • Tutorial 04 - EMA cross, part 4 - more Buttons [beginners]

      In this tutorial you can see, how to control part of blocks with more buttons, here is also solution of homework from tutorial 3

      https://fxdreema.com/shared/UIUJQBy7d

      0_1480640827545_upload-a5dc4e37-d904-475f-9eb9-81da5fd67425

      posted in Tutorials by Users
      M
      miro1360
    • RE: Telegram to MT4

      exactly for this case no 😞

      posted in General Discussions
      M
      miro1360
    • RE: Telegram to MT4

      I think when you use in some way global variables it can be possible, it can be possible also in some way of reading external files, or even using portion of custom code ...

      posted in General Discussions
      M
      miro1360
    • RE: How to check if a trade is in break even?

      I forgot this, you can that result with function MathAbs convert to absolute value because there is possibility of negative result ...

      0_1480429331087_upload-a69e4f35-6660-4486-a296-7103a5920f3e

      posted in Questions & Answers
      M
      miro1360
    • RE: How to check if a trade is in break even?

      have you tried this?

      save it into variable, but dont forget, in variable it is saved in price fraction (if you need that in pips, you need adjust result with some multiplier (*10000 or *100 for jpy pairs) ... or with function ...)
      For each Trade block goes through all trades, if you apply some filter in parameters, you can control it ...
      0_1480429038222_upload-b61efdbc-81f6-4443-a8ff-454f4249d3de

      posted in Questions & Answers
      M
      miro1360
    • RE: how use custom indicator ?

      import it into fxdreema ... but also you can work with candle volume directly ...
      use Condition block, select Candle, parameter: Candle Volume ... (when is candle down, volume is red, up candle is volume green)

      posted in Questions & Answers
      M
      miro1360
    • RE: how use custom indicator ?

      I am working on tutorial for this, but for now you can check this:
      https://fxdreema.com/help/working-with/custom-indicators

      posted in Questions & Answers
      M
      miro1360
    • Tutorial 03 - EMA cross, part 3 - Buttons [beginners]

      This tutorial is about buttons and how to use them with EA.

      0_1480218178919_upload-a1d665cf-fca8-40f8-8a96-9ec2723d1d71

      All steps are here:
      https://fxdreema.com/shared/wtzLlcfXc
      you can again import this EA into your projects

      This is our first use on Init section where are inserted buttons (they can be inserted also in on Tick, but I explained you how to work with section on Init and why sometimes use it):
      0_1480217321962_upload-c3f939a5-0f1e-4d18-8277-aa8514cac13a

      Do your homework (description in EA).

      posted in Tutorials by Users
      M
      miro1360
    • Tutorial 02 - EMA cross, part 2 [beginners]

      In tutorial 01 I showed how to create easiest counter cross EA, in this tutorial you will see how to add inputs into EA with fxdreema.

      Click on this link with EA for more details:
      https://fxdreema.com/shared/G8goTenZb

      When you will directly import that EA without creating block after block, do this:

      1. generate mql code and save it somewhere:
        0_1480122176119_upload-0a09ca4d-c0c2-408b-89a4-f56362be3375

      2. import this generated file into projects:
        0_1480122237797_upload-5ecb5fca-bf4c-421b-b173-edd748e04ccf

      Now is EA imported in projects and you can start work with them.

      See step 1. (description in EA). where I am talking about constants, constants in fxdreema:
      0_1480122525662_upload-04b307ad-aa5a-4ac8-871d-2da8f2387387

      For adding constant into block parameter, do this with mouse right-click in field where you will add constant and select this constant. Now is this constant as Input parameter. But when you use constant as input parameter, leave input check-box unchecked:
      0_1480122748059_upload-ba434f1b-163f-4c38-b723-07726fce25da

      Why to use constants in fxdreema instead input check box? Because you can add the same constant into more blocks.

      You have successfully created input parameters for EA. Values are changeable in tester.

      Hope it was fast and clear.

      Next tutorial will be about buttons for this EA.

      posted in Tutorials by Users
      M
      miro1360
    • RE: problem with pending orders

      using some of filters, like Check trades

      posted in Questions & Answers
      M
      miro1360
    • RE: Trader3487

      @Trader3487

      When you set spread in tester to 0, you have spread 0 .... (I have it) ...
      with your EA you can not test results line to be horizontal ...
      but spread is 0, if you check your trades with visual tester, ther are not offseted from Bid price (that means bid and ask is aligned) ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Why the BUY block is missing variable lot size? Where is the tick box?

      @fxDreema ... that is bug .... but you can use Constants instead of this input, I am working on tutorial how to do this ....

      posted in Questions & Answers
      M
      miro1360
    • Tutorial 01 - EMA cross, part 1 [beginners]

      Hi, I decided to share few tutorials, how to work with fxDreema.

      All what I share is my style of creating EAs in fxDreema. If you are newbie, you can learn something here.

      I start step by step, from beginners to advanced tutorials. I am not best in teaching somebody, also my english is not oxford, but I created a lot of EAs.

      I share link with fully working EA where you find a lot of comments. You can work in this link, or better, you can generate mql code and import it into your new project to work with.
      In next tutorials I will not commented all things, only news, or what I decided as important.
      For next questions you can ask here in forum.

      First tutorial is, how to create easiest EA, when 2 moving averages crosses, in this cross we open trade in counter-direction of cross. This tutorial is splitted into more parts, because I will show you how to make this "nonProfitable" strategy into human control to be potential profitable.

      Click here for first part and enjoy:
      https://fxdreema.com/shared/UOM1aUO5b

      posted in Tutorials by Users
      M
      miro1360
    • 1
    • 2
    • 71
    • 72
    • 73
    • 74
    • 75
    • 79
    • 80
    • 73 / 80