fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. josecortesllobat
    3. Posts
    J
    • Profile
    • Following 2
    • Followers 20
    • Topics 34
    • Posts 507
    • Best 41
    • Controversial 1
    • Groups 0

    Posts made by josecortesllobat

    • RE: Two conditions are met.

      Must both conditions to be meet at the same time/candle?

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: Help pliss =(

      This might be a first approach

      0_1536517773508_a05b03d2-4da0-4119-bec9-d4f8a2266fc9-image.png

      0_1536518068919_34fab619-80e9-4ae9-a764-2054bd1e3ece-image.png

      Sell pending level could be triggered before Buy order TP is reached. If it is so, you will have 2 opposite orders at the same time. In this case, it Will be required to add a condition to close the buy order.

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: draw line does not work

      It Works as expected

      0_1536163961681_1bc509fb-2b06-4aad-939d-575196848d9d-image.png

      0_1536163993076_c8a2f0c1-185a-45c0-a765-17fb385ad872-image.png

      posted in Bug Reports
      J
      josecortesllobat
    • RE: KAMA indicator wont show in backtesting!

      Could you share the ex4 indicator's file to check it out?

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: Error

      Check this out

      https://www.mql5.com/en/forum/158878

      It might be related to your issue.

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: Automatic string building for a comment

      Hi @fxDreema

      Thanks for your support.

      What I would like to have is a way to automatically create a string to manage the opened trades in blocks like "For each trade".

      As an example. My Project opens (n) trades when the condition to enter at market is met. The loop creates (n) trades labelling each trade with a unique group number using a variable that is modified each time that loop passes:

      0_1535657320695_24fc31a7-4e6d-4d23-9cd4-4493c6ba25c9-image.png

      0_1535657354196_60914612-1b98-42e0-bf04-f4a5a19bd0a9-image.png

      Then, if n = 6 & positionIdBuy = 0, it is opened 6 trades with group numbers: 1,2,3,4,5,6.

      I have created a string for using it in the "Filter by group" field available in blocks like the pink ones to do something depending on the conditions of the trade with the last group number. Like as follows

      0_1535657678837_28e02a0b-33b2-4dac-9b78-4f8797cdaf62-image.png

      0_1535657732401_ff96f6e3-8468-4eeb-afe2-be230db1edf5-image.png

      So, if (n) = 6, "LastTradeNumberBuysM3 = 6". But if the project's logic decides to open 10 trades (n = 10), the variable "LastTradeNumberBuysM3" Will be modified automatically to 10.

      What I would like is to know if it is posible to create automatically a string that includes the group number of all the trades opened by the loop as the loop is ran. Like

      loop pass = 1 -> TradesOpened=(string)positionId1;
      loop pass = 2 -> TradesOpened=(string)positionId1+","+(string)positionId2;
      loop pass = 3 -> TradesOpened=(string)positionId1+","+(string)positionId2+","+(string)positionId3;
      .
      .
      .
      loop pass = (n) -> TradesOpened=(string)positionId1+","+(string)positionId2+","+(string)positionId3+","+…+(string)positionId(n);

      Then, the result string Will be:

      loop pass = 1 -> TradesOpened=1
      loop pass = 2 -> TradesOpened=1,2
      loop pass = 3 -> TradesOpened=1,2,3
      .
      .
      .
      loop pass = (n) -> TradesOpened=1,2,3,...,(n)

      Any suggestion or idea Will be very welcome.

      posted in Questions & Answers
      J
      josecortesllobat
    • Automatic string building for a comment

      Hello

      Please I would need some help to figure out what I would like to build.

      Thanks to @roar I have been able to open several trades using his loop logic suggestion. Thanks to @miro1360 I could add the group number for each trade created by the loop into the "comment" field.

      Then, the logic to open the trades is as follows:

      n_Trades = 10 (loop Will pass 10 times)
      Loop -> Trade1 (Id =1), Trade2 (Id = 2), …, Trade10 (Id = 10)

      n_Trades = n (loop Will pass n times)
      Loop -> Trade1 (Id =1), Trade2 (Id = 2), …, Trade(n-1) (Id = n-1), Trade(n) (Id = n)

      What I would like to have is a block placed in the loop's logic that automatically creates a string that includes all the opened Id trades from the first one to the last one. Something like

      AllOpenIds = (string)Id1","+(string)Id2","+ … +(string)Id(n-1)","+(string)Id(n);

      0_1535615222978_09247e08-bae0-4912-9ed0-8ac5afed0cfb-image.png

      Because the number of trades to be opened is a variable, the string content will also be variable depending on how many trades the loop opens.

      Any help Will be very welcome.

      Thanks

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: Testing multiple EAs without conflict?

      Take care of the "MagicNumber". 2 EAs must not have the same MagicNumber.

      https://fxdreema.com/tutorial/builder/groups-and-magic-numbers

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: How To Extract data from every bar

      I think this is not related to fxDreema.

      I think it is possible to get the bars data from any data resource available over the net mainly if you want to get it in a CSV file.

      I think it is also possible to export the bars data from MetaTrader using the "Symbols" menu (Ctrl+U)

      0_1535366323979_65279dc2-6a3e-4644-9e20-9a9fa614e166-image.png

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: it gives me error ^ invalid value!

      Here you have a good example given by @miro1360 in which you can see what you want to code.

      https://fxdreema.com/forum/topic/5983/square-root

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: it gives me error ^ invalid value!

      I think you have to use a MQL math function

      https://www.mql5.com/es/docs/math/mathpow

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: Could some friend help me?

      "Thanks GOD of trading to let @miro1360 be with us"

      WFA = Walk-Forward Analysis

      https://en.wikipedia.org/wiki/Walk_forward_optimization

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: Trade history

      Just export the whole account history as a report

      https://www.youtube.com/watch?v=j50pZkGe6Ng

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: Question about 'on trade (Event Data)'

      Hello

      I have found a way in one of the @miro1360 post

      https://fxdreema.com/forum/topic/4608/field-comment-to-sell-now-block/2

      Thanks

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: Question about 'on trade (Event Data)'

      @roar

      How can I add the variable "position_id" to the "comment" field in the Sell/Buy block in order to show the group# for each trade created in the loop?

      0_1534453555294_e65670ae-fba0-4507-b21b-f79489fd3ffa-image.png

      Thanks

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: Why don't work well??

      Then, maybe the problem is in other place of the Project.

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: "Sell now" block does not have Slippage field

      Yes, totally agree. Don't waste too much time on this.

      Thanks

      posted in Bug Reports
      J
      josecortesllobat
    • "Sell now" block does not have Slippage field

      It looks like the "Slippage" field at "More settings" in the "Sell now" block is missing.

      0_1534104561370_1b443a90-bfdf-47fe-a4f4-3211aecd7b2c-image.png

      posted in Bug Reports
      J
      josecortesllobat
    • RE: Why don't work well??

      It might be possible that you need to reset the variable "lotsSells" at some point of the Project.

      posted in Questions & Answers
      J
      josecortesllobat
    • RE: Change Trailing Stop

      Hi @thomas_stock

      That workflow is not correct. "Trailing stop" block will be active just one time after the "Break even" block passed and never more. So, you will never get a TS as it is.

      Check this out

      0_1533459788301_df7020b2-5ea8-46c3-a5b4-fa45ea1366f9-image.png

      posted in Questions & Answers
      J
      josecortesllobat
    • 1
    • 2
    • 15
    • 16
    • 17
    • 18
    • 19
    • 25
    • 26
    • 17 / 26