fxDreema

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

    Posts made by accastudent

    • RE: Calculate equity drawdown percentage and open opposite direction trade

      Yes, That I can understand , only if you can suggest something to fix it

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      For the clarification
      I have a EA that opens multiple lots , for 2,4 & 5 it opens trade equivalent to sum of opened trades when drawdown reaches condition value.
      i.e. 0.01 , 0.02 , 0.03 = 0.06

      But if I open another trade i.e. 0.02 then the EA again opens hedging for 0.02 and continues for all new opened trades.

      I wanted to restrict it to open one trade at a time. I put "counter: pass once" and it doesn't open new trades.

      I want to add a function that re-execute the condition and opens the trade if I close the hedge trade of 0.06 manually or by trailing stop loss.( Even if the trades from the other EA are active). Run the loop only if trade of 0.06 is closed.

      Thank you

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      Sorry but not opening the trade again

      image.png

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      @jstap Please advise as it is working but again starts to open several orders

      image.png

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      Can you please give some hint to put condition to check hedge trade and if closed then move to reset function .

      Thank you

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      @jstap I have added Counter pass once and now it is working fine and not opening more than one trades.

      But how can I reset this counter if the trade is closed. Please advise

      image.png

      image.png

      Thank you

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      @jstap Is there any block that can stop the loop if one trade is already opened?

      Thank you

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      @l-andorrà @jstap I have created a custom block that opens an equal trade for the opposite direction when the drawdown reaches 5% but I am still having an issue.
      Suppose of there are 5 buy trades opened for ( 0.01, 0.02, 0.03,0.04,0.05= 0.15 ) it will open 1 sell trade for 0.15 .

      But if the other EA continues to opens another trade it also start to open hedging for those trades.

      Please if you can suggest any way to stop taking further hedge trades until 0.15 is already opened and once the hedge trade is closed it may open again.

      Thank you
      image.png

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      @l'andorrà Can you also please provide any solution. Thank you

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      image.png

      It is not working yet, It is opening multiple trades

      https://fxdreema.com/shared/bLx2cbikc

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      image.png

      I have change few settings and tried to find where can I enter the if condition and what would be the condition.

      https://fxdreema.com/shared/igNfSNEvb

      Thank you

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      @jstap Thank you for your help. I appreciate your efforts.

      The EA is now opening trades as it reaches drawdown value of 5 percent. But it is opening several trades for both buy and sell trades and even not match the lots size.

      If you can please advise modification of setting to open only one trade for opposite side or hedging for sum of lots already opened i.e. 5 buy trades (0.01 , 0.01 , 0.02 , 0.04 , 0.08 = 0.16 ). It should only open one trade for sell 0.16

      https://fxdreema.com/shared/igNfSNEvb

      Thank you

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      I just want to assemble an EA that just calculates the drawdown and opens new hedging trade on 5 percent of drawdown.
      Not for trading and only for the risk management.
      Thank you

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      I am sorry but I am a beginner , please if you can elaborate a little and please guide me .

      https://fxdreema.com/shared/PxajdmYJ

      Thank you

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      Can you please help as this drawdown hedging function is not working. Thank you

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      @jstap Is it possible to create different trees as the shared project

      https://fxdreema.com/shared/ChWd6jg0c

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      Yes , actually one EA is running already to open trade. I just need to make a hedging EA to support the risk management.
      Will it work accordingly if the trades are opened?
      Thank you

      posted in Questions & Answers
      A
      accastudent
    • RE: Calculate equity drawdown percentage and open opposite direction trade

      @jstap Thank you for your reply.

      https://fxdreema.com/shared/sOm1xtRcd

      Please check , I want to open a hedging trade against the total floating lots at 5 percent of equity drawdown. Again reopen the hedging trade after next 5 percent and trigger autotrading off.

      Thank you

      posted in Questions & Answers
      A
      accastudent
    • Calculate equity drawdown percentage and open opposite direction trade

      Dear all ,
      For all the experts and members I would request to help me in my project.
      As I have very little knowledge for coding. I have already created auto trading turn on and and turn off function.
      I just want help regarding a drawdown percentage calculator when reached a custom input value should open a hedging trade against the total lots floating in loss.
      Thank you

      posted in Questions & Answers
      A
      accastudent
    • 1 / 1