fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. tcanuto
    3. Posts
    • Profile
    • Following 0
    • Followers 3
    • Topics 102
    • Posts 653
    • Best 5
    • Controversial 1
    • Groups 0

    Posts made by tcanuto

    • RE: Enumerations the input Parameters

      So .... the code is written as:

      input string inp2="Indicator Base Buy e Sell";
      input ENUM_TIMEFRAMES inp2_TIMEFRAME=PERIOD_D1; // 
      
      input string inp1="Indicator Buy e Sell";
      input ENUM_TIMEFRAMES inp1_TIMEFRAME=PERIOD_H1; //
      
      

      This optimization I made up to max D1, and no more. H1 to D1.

      I do not know why this has generated number of 16385!

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: Enumerations the input Parameters

      Hello fxDreema. Stirring and testing the MQL5 code, I found a way to save on external parameters. But, after I did the tests, the results do not add up, and the optimization result, the timeframes rather than appear as H1, H2, D1, etc, looks like this: 1, 2, 10, 16385 (which should be D1 ), etc., thus possibly generating false gains.

      See the image below:
      ![Problemas Insumos Timeframe.PNG](Problemas Insumos Timeframe.PNG)

      Here is the modified code for me. (Only the external parameters and where they are located in the code)

      Must H1, D1, etc., appear in the results of optimizations H1, D1, and not in numerical values ​​that are ranging (16385)

      ......
      Problems Imputs Timeframe.PNG

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: Skip the first signal

      Fixed. It was enough just add a block close positicion the right place.

      Was my mistake again. Sorry.

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: Skip the first signal

      Hello fxDreema

      Now I need this to work properly otherwise. I'm using a higher timeframe (D1) as a basis to show the trend. Enter the lower timeframe (H1), based on the higher timeframe.

      But the order should close as the lowest timeframe (H1) is not closing.

      https://fxdreema.com/shared/APPxQFK5c

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: EA based on a channel indicator

      Okay. FxDreema. Thanks again. Because BuySL variable is 999999, while the other variables are all 0?

      Why do you put on the block 7 999999 for variable 3, and the rest put 0?

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: EA based on a channel indicator

      Hello fxDreema

      I noticed that some orders triggered the SL was far removed from the proposed strategy. Look at this SL:

      Erro SL.png

      It seems this wrong.

      I would also, if possible, so that I can modify to backtest and optimize the execution: only opening price of candles, which is the fastest method of making the test strategy tester.

      The Turtle EA I got, but this not the exact result.

      ......
      Erro SL.png

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: Change in MQL5 code generated by fxDreema

      __For true inputs better use Constants.[/quote:3acp5ugl]

      It's what I use most. That's right, sometimes even unchecking the parameters inputs, sometimes even appeared in EA.

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: Change in MQL5 code generated by fxDreema

      Yes ... I do it always. Just happens that the timeframe has several, and if I make a constant, not give to optimize with each time period. Is it possible?

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: EA based on a channel indicator

      Thank fxDreema! I see you have some ways to use the blocks and some variables. A good new part for me. Now I want to see if I can fit into my current strategy. Need only to add an external parameter to modify and optimize the periods, and some things the most.

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: EA based on a channel indicator

      Yes .. a tendency to know, I use the pz-turtle indicator, which shows a blue line when this high, and color tomato when this low.

      But I see that has helped me very much, and thank you for that. Are things we can not know the beginning, but with time I can learn. So I ask examples of models, because with them I add in my strategies and has perfected

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: Change in MQL5 code generated by fxDreema

      Hello fxDreema. After I generate my strategies, I began to give it a read codes and had a minimal understanding of the external variables. But one thing I have not got this this project.

      Necessary that all timeframes summarizing only one external parameter, and not four, as this currently. Were actually 8, but I managed to leave only four parameters.

      See the code.

      ......
      TCF Turtle RJ v1.2.mq5

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: Enumerations the input Parameters

      Hello fxDreema. I believe you already know, but it's always good to say. One way that seeking time, and through the MT5 is possible.

      I believe it is possible to enumerate the strategies separately placing them in imputs.

      For example, where various strategies to create AE inside. In MT5 is possible to have them appear in imputs.

      External Variable: Strategies - Values: Strategy 1; Strategy 2; Strategy 3; etc.

      More information: http://www.mql5.com/en/docs/basis/varia ... tvariables

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: EA based on a channel indicator

      Yeah ... I tried, but I could not do as the strategy calls. Unfortunately I will have to put aside.

      Complete information on this strategy: https://www.youtube.com/watch?v=-DKb6Rutrig

      If you can one way to do it, please let me know so I can finish this project. I'll be happy for it.

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: EA based on a channel indicator

      __Ahhh, maybe there is another prtoblem in block 42!

      ... You can check it for visibility using "Indicator is visible"[/quote:1bldbz6y]
      Ok I'll be checking.

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: EA based on a channel indicator

      In fact, this working in parts. The problem with this indicator turtle, that from the second sign of the turtle, instead of respecting the trend also opens operations against the trend.

      See the image. Problem with the indicator turtle now.

      Problema.PNG

      Actually I think it can also be a problem in the block or something.

      ......
      Problema.PNG

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: EA based on a channel indicator

      So ... I tried this way:

      To know the trend, I'm using turtle or indicator. The condition is if the Ask price is above the line Downtrend Breakout, and if the price crosses the line first period Donchian indicator, buy signal. Vice versa for sale.

      But this acontendo that when Brekout Uptrend line appears, instead of just buying, selling this together, and this should not happen. I believe that is because the two lines are visible at the same time

      Take the example of my project: https://fxdreema.com/shared/JwC23sDsc

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: EA based on a channel indicator

      It may be as you see fit, provided that work properly.

      How do I? Please show me an example of a project, if it is difficult.

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: EA based on a channel indicator

      __Unfortunately I think that fxDreema becomes weak in this scenario. Is this your case? Note that you can have some crossover happened while ago, and then the opposite one.[/quote:314cklvy]
      Yes ... that's right. How do I?

      One idea is based on an indicator for this to be possible.

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: EA based on a channel indicator

      Yes ... I am using two blocks of price x> indicator, and soon saw that it will be very difficult to be activated. How do I suggest this strategy to work? Please make a sample project so I can see and learn how.

      posted in Questions & Answers
      tcanuto
      tcanuto
    • RE: EA based on a channel indicator

      Hello fxDreema. I tried several ways, but I can not work.

      The rule is simple:

      Entry
      Look to Buy when price touches begins to decline and the rising Mid-Donchian Channel. Enter When price trades one tick above previous bar. (Reverse for Sell).

      Stops

      Place Stops just below the lowest low or Pullback (Reverse for Sell).

      Exit

      Exit Longs When price touches the High DC
      Exit Shorts When price touches the Low DC

      For more information about this indicator, see the problem solved here: viewtopic.php?f=3&t=2598&hilit=donchian

      ......
      donchian_channels.mq5

      posted in Questions & Answers
      tcanuto
      tcanuto
    • 1
    • 2
    • 15
    • 16
    • 17
    • 18
    • 19
    • 32
    • 33
    • 17 / 33