fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Elham
    3. Posts
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 17
    • Posts 77
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Elham

    • RE: how to draw trend line

      dear l'andorrà
      I did what you said and Rabat recognizes the trend line and trades with respect to it. Of course, I must mention that I work on the mt5 platform, but apparently it is possible to introduce topics in the same way in both.
      Thank you very very much🥰

      Now, in the next step, I try to leave the drawing of the trend line to Rabat
      Do you know an indicator for this step that will automatically draw this task? And on the mt5 platform, its code is available that can be introduced in fxdreama?
      Because despite reading about entering the indicator manually into fxdreema, I still could not get good results, especially in back tests, if the indicator does not belong to the system itself, it does not appear on the chart during back testing, as a result, back tests are not applicable and reliable.

      posted in Questions & Answers
      E
      Elham
    • RE: how to draw trend line

      How to introduce the trend line that I drew on the chart to fxdreema so that it reacts to it??

      Please help me. I saw all the material related to object and videos related to this topic on YouTube

      Aha dear jstap

      I saw your answer now and I came to the conclusion that introducing the trend line based on classical definitions is not easy for me
      Maybe later I can find the introduction of the right points from the codes written for the automatic indicators of the trend line.
      But now, in order to be able to reach a part of what I have in my mind with today's information, I decided to manually draw the trend line and only define the function of the ligament according to meeting these lines and define a certain color or thickness for them. adjust

      But by referring to blocks and YouTube, I still could not understand the introduction of OBJECTS on the chart
      If you know an example of the previous cases or a video in this regard, please introduce me

      Thank you

      posted in Questions & Answers
      E
      Elham
    • RE: how to draw trend line

      please somebody answer me😥

      posted in Questions & Answers
      E
      Elham
    • RE: how to draw trend line

      I hope I was able to explain my meaning correctly and there is someone who can answer me

      sincerely Yours

      posted in Questions & Answers
      E
      Elham
    • RE: how to draw trend line

      Well, with this block, you can draw the trend line, but this selection only defines the type of line, or the coordinates that you want in candles number X and Y, how to write their specifications in Rabat language so that the computer can understand it?

      This is in your chat I want to Know how he/she did it ? shall you explain for me?
      https://fxdreema.com/forum/topic/9146/a-line-tool

      I saw his project but I couldn't understand it
      https://fxdreema.com/shared/dQjckUy3b

      now I think if I do some parts by hand and EA react to the objects that I draw maybe it is easier

      So please help me find How and with which block do I introduce the manually drawn trend line to fxdreema?

      or as I don't know MQL please Please guide me how to introduce Trendline to EA?

      posted in Questions & Answers
      E
      Elham
    • RE: how to draw trend line

      Thank you I will try it

      posted in Questions & Answers
      E
      Elham
    • how to draw trend line

      Hi, please help me with the following
      1- Is it possible to draw a trend line using EA in mt5 (without indicator)
      2- If possible, with which blocks?
      3- How and with which block do I introduce the manually drawn trend line to fxdreema?
      I searched for the keywords object - trend line, drawing the line, but with the content I found, I could not reach my goal, which was to draw the trend line or introduce it to the robot.
      The reason I said (without indicators) is because the indicators that automatically draw trend lines or channels in the mt5 environment, I did not find files in codebase format, or even though I found some, they do not work properly in fxdreema.
      For example, auto trend line indicator mt5 and nb shi chanel thrue
      which work in fxdreema
      thank you

      posted in Questions & Answers
      E
      Elham
    • RE: Importing indicator error

      Thank you I will try it and then inform you dose it work or not

      posted in Questions & Answers
      E
      Elham
    • RE: indicator doesn't appear on the chart

      https://fxdreema.com/shared/iPF

      pleassss answer me 😩

      posted in Questions & Answers
      E
      Elham
    • indicator doesn't appear on the chart

      Hi, please help me
      I added an indicator (zigzag_nk_fibo) in my indicators section, which I have both MQL & ex5 files, I put the indicator in the corresponding folder, but when I used FX from it, the indicator is not visible at all in the test on the chart so that I can not see its performance, please Please guide me what is the reason and how should I correct it

      posted in Questions & Answers
      E
      Elham
    • RE: Importing indicator error

      ok but where should I add input line?
      As you see I added all inputs but Fxdreema gave me error
      there was no more input that I can add

      posted in Questions & Answers
      E
      Elham
    • RE: Importing indicator error

      Traders_Dynamic_Index.ex5
      Traders_Dynamic_Index.mq5

      posted in Questions & Answers
      E
      Elham
    • RE: Importing indicator error

      https://fxdreema.com/shared/bykanRi4b

      posted in Questions & Answers
      E
      Elham
    • Importing indicator error

      Hello, please see that when I try to import this indicator into fxdreema, the error message it gives me is as follows.2023-08-24_1-04-03.jpg
      What should I do to solve this problem?[link text]

      posted in Questions & Answers
      E
      Elham
    • RE: Fixed mql5 code performance bug in custom mql5 code block

      Write a code in mql5 language
      When a new transaction is opened, whether it is buying or selling, when it enters profit and the profit of the transaction is more than 100 pips, from this tick onward, set the maxProfit variable equal to the highest numerical value of the currentProfit of the transaction, and when the value of the instant profit of the transaction is equal to 62 % of max profit has decreased, activate block 60 and execute this command from the beginning after each transaction is closed at the beginning of a new transaction.

      // Global variables
      double maxProfit = 0.0;
      bool block60Activated = false;

      //+------------------------------------------------------------------+
      //| Expert initialization function |
      //+------------------------------------------------------------------+
      int OnInit()
      {
      // Initialize variables
      maxProfit = 0.0;
      block60Activated = false;

      return(INIT_SUCCEEDED);
      

      }

      //+------------------------------------------------------------------+
      //| Expert deinitialization function |
      //+------------------------------------------------------------------+
      void OnDeinit(const int reason)
      {
      // Reset variables
      maxProfit = 0.0;
      block60Activated = false;
      }

      //+------------------------------------------------------------------+
      //| Expert tick function |
      //+------------------------------------------------------------------+
      void OnTick()
      {
      // Check if a new transaction is opened
      if (OrdersTotal() > 0)
      {
      // Get the ticket of the latest order
      int latestOrderTicket = OrderGetTicket(OrdersTotal() - 1);

          // Check if the order is in profit and profit is more than 100 pips
          if (OrderSelect(latestOrderTicket, SELECT_BY_TICKET) &&
              OrderProfit() > 0 && OrderProfit() > 100 * Point())
          {
              // Update maxProfit if current profit is higher
              if (OrderProfit() > maxProfit)
                  maxProfit = OrderProfit();
              
              // Check if the instant profit has decreased by 62% of maxProfit
              if (OrderProfit() <= (0.62 * maxProfit))
              {
                  // Activate block 60
                  block60Activated = true;
                  
                  // Perform your desired actions for block 60
                  // ...
                  // ...
                  
                  // Reset maxProfit for the next transaction
                  maxProfit = 0.0;
              }
          }
      }
      

      }

      This code should be placed in an MQL5 Expert Advisor file (.mq5). It initializes the maxProfit and block60Activated variables in the OnInit() function and resets them in the OnDeinit() function. The OnTick() function is called on every tick, and it checks if a new transaction is opened. If the transaction is profitable and the profit is more than 100 pips, it updates the maxProfit variable if necessary. If the instant profit decreases by 62% of maxProfit, it activates "block 60" and performs the desired actions. Finally, the maxProfit is reset for the next transaction.

      posted in Questions & Answers
      E
      Elham
    • RE: Fixed mql5 code performance bug in custom mql5 code block

      https://fxdreema.com/shared/xho6p6zVb
      As you can see, in this project, the entry point is not important to me at all, but what is important to me is keeping the highest number seen in the profit after 100 pips (for example) and comparing it with the currentProfit and closing the deal after N % of decrease in maxProfit

      posted in Questions & Answers
      E
      Elham
    • Fixed mql5 code performance bug in custom mql5 code block

      Hello, please help me with the problem
      In this project, I tried to close the transaction in situations where the transaction enters the profit and moves in the opposite direction without encountering the takeProfit before encountering the stoploss and keeping a percentage of the profit.
      The desired code was written by Chat GBT in mql5 language and I tried to introduce the required variables of the code, but the problem in executing the code is that every session is closed exactly at the entry point.

      posted in Questions & Answers
      E
      Elham
    • RE: compare And update Variable

      l'andorrà@ you got what I mean please Please guide me how to implement this concept in fxdreema

      posted in Questions & Answers
      E
      Elham
    • RE: compare And update Variable

      @Elham yes you are right😃

      posted in Questions & Answers
      E
      Elham
    • RE: compare And update Variable

      Hiiiiiiii 😩
      Can someone please answer my question?
      Our talks remained incomplete and I did not receive an answer. I explained that I do not have a specific project . This is a way to avoid big losses. It can be for any project.

      Please 👀

      posted in Questions & Answers
      E
      Elham
    • 1
    • 2
    • 3
    • 4
    • 2 / 4