fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. khalids222
    3. Posts
    • Profile
    • Following 3
    • Followers 6
    • Topics 108
    • Posts 567
    • Best 9
    • Controversial 2
    • Groups 0

    Posts made by khalids222

    • RE: How do I store the last BUY or SELL that occurred in a variable?

      @jsauter86 Thank you, but this is not the reason

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: How do I store the last BUY or SELL that occurred in a variable?

      @l-andorrà Thank you, I'll try changing the id number to up

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: How do I store the last BUY or SELL that occurred in a variable?

      @l-andorrà Thank you. We missed you, our return for your presence and your responses.
      we Hope you had a happy vacation

      I'm sharing the project, here
      Also notice in the picture the condition is very simple
      if CLOSE(0)> CLOSE (1) = BUY
      CLOSE(0)< CLOSE (1) = SELL

      The last transaction that is done according to these conditions, whether buying or selling, is the dividing line for the next process

      0_1599219129090_sss.jpg
      https://fxdreema.com/shared/hHBAfGewd

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: How do I store the last BUY or SELL that occurred in a variable?

      @l-andorrà
      open price.
      The value of the recent open buy or sell

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: How do I store the last BUY or SELL that occurred in a variable?

      @khalids222 0_1599148746475_last.jpg
      How can I determine a fixed point on the chart? Or determine the last sell or buy made? And put it in a variable? Or just select it

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: I have fixed volume for all trades and want to close equal trades from buy and sell

      @roar
      I tried to take advantage of your method, would you please look at the project?
      I do not know why the balance is reduced at every close.
      I tried to get away from the last two deals by value R4,R4 TO BUY AND R8,R9 TO SELL .
      but at each close the balance is deducted
      Possible total profit or LOTS. Not correct. I don’t know. Possible your opinion PLEASE?
      https://fxdreema.com/shared/VBYFnuore

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: I have fixed volume for all trades and want to close equal trades from buy and sell

      @roar Thank you very much and thank you for your wonderful efforts.

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: I have fixed volume for all trades and want to close equal trades from buy and sell

      @roar I mean if I have one lot, it contains a loss of 50 dollars or 50 pips.
      How can I find out the value of it loss or gain ?

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: I have fixed volume for all trades and want to close equal trades from buy and sell

      @roar Thank you, I appreciate your efforts and creativity. I will try it now
      But I have a question, how can I know the value of the lot in some way? As an amount or points, not a number?

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: I have fixed volume for all trades and want to close equal trades from buy and sell

      @roar 0_1598425585799_666.jpg

      You also see at closing, buying and selling is not equal in amount, only by volume.
      And as you can see above, the balance decreases with every closing

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: I have fixed volume for all trades and want to close equal trades from buy and sell

      @roar Here, as you can see, the expert advisor works to close equal open trades from the beginning, and this will make him bankrupt the account within only a time.
      Because it does not wait until there are many deals .
      I want it when closing deals does not affect the balance as it is equal, for example, profit 100 loss 100 close it.
      or profit 100 loss 300 close 100.
      Usually when these operations exist, the level of loss will be greater than profit, and if you open a position on each bar, there will be a large number of deals.
      So, for example, I want to set a time, such as after an hour or four hours, that the calculation process begins to close equal deals only, so that the balance does not affect anything by closing them.

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: I have fixed volume for all trades and want to close equal trades from buy and sell

      @roar said in I have fixed volume for all trades and want to close equal trades from buy and sell:

      Here's what I came up with, let me know if it works for you:

      @roar Thank you very much you deserve more, it works right after every sell or buy and that won't let the price move.
      I want to start half an hour after buying and selling or after one hour .

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: I have fixed volume for all trades and want to close equal trades from buy and sell

      @roar I apologize, but we do not dispense with your advice and opinion. You are such a creative person, and this makes us follow you intently in all of your responses.
      So please guide me
      I've tried to create a method when there are multiple buy and sell
      I collect buy and sell positions after half an hour, for example:
      buy= -75 and sell = +25
      Here I want to close the same amount of buying and selling, which is +25 .
      So that the buy = -50
      Sell = 0
      How can I do that, please?
      can see my project please
      https://fxdreema.com/shared/lbEHYheYc

      posted in Questions & Answers
      khalids222
      khalids222
    • I have fixed volume for all trades and want to close equal trades from buy and sell

      I have fixed volume for all trades and want to close equal trades from buy and sell
      Example :
      BUY = -70
      SELL =+20
      BUY= -20
      SELL =+10
      BUY= +15
      SELL=-5
      Here is the final total =
      BUY= -75
      SELL= +25
      Here I want to close the same amount of buying and selling, which is +25 .
      So that the buy = -50
      Sell = 0
      How can I do that, please?

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: How do I close an equal buy and sell position?

      0_1598206030902_996.jpg

      posted in Questions & Answers
      khalids222
      khalids222
    • How do I close an equal buy and sell position?

      How do I close equal deals of buying and selling.
      Example :
      You bought a buy position, lost 40 pips, and then opened a sell position, gained 40 pips, and a new buy position was opened.
      How can I close equal deals in case there is more than one SELL and BUY transaction?

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: I want help with adjusting the lot

      @roar Thank you very much it works well, thank you with all my heart.
      Grateful to you

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: I want help with adjusting the lot

      @roar said in I want help with adjusting the lot:

      when MA changes direction, adjust open positions so that net position is 0.01 to the correct direction

      Yes that's right

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: I want help with adjusting the lot

      The problem is the addition of a fixed volume in the same direction

      posted in Questions & Answers
      khalids222
      khalids222
    • RE: I want help with adjusting the lot

      In this example when going from sell to buy it works fine no problem.

      posted in Questions & Answers
      khalids222
      khalids222
    • 1
    • 2
    • 15
    • 16
    • 17
    • 18
    • 19
    • 28
    • 29
    • 17 / 29