Login Page - Create Account

Support Board


Date/Time: Wed, 22 May 2024 02:31:20 +0000



Post From: [Scale in with independant subsequent attached orders] Possible through configuration?

[2019-09-23 15:24:42]
owneroxxor - Posts: 16
Let me explain it. Suppose that I have 2 buy limit orders #1 and #2 with the same lot, at respective prices 100 and 90. Both of them have attached targets of 4 ticks for exemple, supposing the tick size is 5, then #1 has an attached target at 120 and #2 at 110. Good. When #1 is triggered, it places a sell limit order at 120 (#3). If the price then go further and trigger #2, it should place another limit sell at 110 as well, and my average price now is 95. Since my strategy rely on having independant placed targets as in the exemple above, that is perfectly achievable without using Scale In. Now here comes the problem, when the price turns and hit the first target #4, theoretically, my average price will go down to 80, but I dont want Sierra Chart to compute the profit of this closed order on Closed P/L yet, I just want it to show me the updated Open P/L of the new average price of 80 (like a NET account do, refer to this article: https://www.mql5.com/en/articles/2299), that is why I use Scale In and Scale Out, to simulate a standard netting account. So I need to have both features working at the same time. That is my struggleness.