I got it resolved
thanks alot
Posts made by COFX
-
RE: Please somebody help me 🙏🙏🙏posted in General Discussions
@jstap Yes, that was exactly the problem. Exactly the problem.
Thank you




-
RE: Please somebody help me 🙏🙏🙏posted in General Discussions
I tried to use variable but it wasn't working. maybe im not doing it right. The same thing in the link I sent above that closes opposite trades don,t work in my other project. why may this be happening
-
RE: Please somebody help me 🙏🙏🙏posted in General Discussions
https://fxdreema.com/shared/kgtYEy7jc
here's a shared link. The EA closes the modified trade instead of closing the opposite trades. The EA opens buy and sell. I want that when the stop loss for buy is modified, the EA would close the sell and vice versa
-
Please somebody help me 🙏🙏🙏posted in General Discussions
I've been working on this for days now. I want to close buy trades if the sell stops were modified and vice versa but the blocks are not working. I used check stops (buy) then close trades (sell) but it still keeps both orders when trailing... so frustrated
-
Please somebody help meposted in Bug Reports
I've been working on this for days now. I want to close buy trades if the sell stops were modified and vice versa but the blocks are not working. I used check stops (buy) then close trades (sell) but it still keeps both orders when trailing... so frustrated
-
Trailing stop for buy close sell and vice versaposted in Questions & Answers
I've been working on this for days now. I want to close buy trades if the sell stops were modified and vice versa but the blocks are not working. I used check stops (buy) then close trades (sell) but it still keeps both orders when trailing... so pissed
-
RE: Never done this before so please I want to be guidedposted in Questions & Answers
@jstap The 'less than' would continue to close future trades so I added a time filter to fix that. Don't know how it'll work yet though. Can't download it
-
RE: Never done this before so please I want to be guidedposted in Questions & Answers
I've looked into it and done exactly what you stated. However I am met with another challenge
-
RE: Never done this before so please I want to be guidedposted in Questions & Answers
Okay I'll look into it and write back
-
RE: Never done this before so please I want to be guidedposted in Questions & Answers
@jstap please can you do a sample and share project link

-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
@jstap how do you mean start an action? What kinda action can I start that can help me with this issue, either with checking total trade number or by checking time of closed trades to see if they are within 'n' period of time, say 1 minute
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
@jstap How do you mean by start an action please
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
@Lacone not all close at once
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
@Morpheus_0 thank you, I'll look into it. However I just got an idea, if there's a way to check trade closed within a specific period of time (say 1 minute) then that would solve all the problem.
-
Never done this before so please I want to be guidedposted in Questions & Answers
How can I add custom mql code to count total orders, Orderstotal() in the custom mql block to see if they are less than an input constant?
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
@Morpheus_0 because not all of the trade gets triggered at once.. hence trades are in profit, trailing stop is activated
However due to slippage. And even during the visual test I notice that when the stop loss is modified and then hit immediately, the trades remain undeleted (the remaining pending order)
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
@Morpheus_0 more so, even if the count is triggered... I intend to add a block to check how the last order was closed, if it wasn't closed by trailing stop, then nothing would happen. I know how to do this one... I just need to be able to know how to count total orders for now. Whether by custom mql code as that appears a lil straight for me or by using the results from the check trade count and pending order count blocks,
This variable stuff gets me really confused


-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
@Lacone so what about when they are closed?
-
RE: Total Orders Count both Pending order and running tradesposted in Questions & Answers
@Morpheus_0 yes oo... A steep frustrating curve.
The thing is, only pending orders are opened. No trade is opened. 15 buy pending orders and 15 sell pending orders all at once... So the only trades that gets opened is when the pending order gets triggered