- Search Energy EXCH
- 126 Results (10 Threads, 116 Replies)
-
SL modification problem
Started Oct 8, 2008|Platform Tech|6 repliesMy platform is MT4. I use a script to open a position with a SL and a TP. Then I will start an ...
I also found this problem. A lot times, it only close you position, and will not open the reversal position. And, there is no trading management functions that you can utilize to code your strategies. The VT programming language is not powful enough ...
I think it would not be difficult — Looked at the pics posted, I think the strategy is of trend following which seems to be a relatively simple reversal system. Coding it in MQL would not be difficult and I would like to try. Please send the ...
Yes, you understood me well. The way you suggested can really modify the SL as expected. But, what is expected is not only to modify the SL but also to keep the old TP. If a "0" is carried as the TP in the OrderModify(), the TP will really become ...
No i didn't. It should not have fractional pip since i didn't use function related to division. Anyway, let me try to use it. Does error1 mean the format of command does not meet requirement. From your and my case, the common part is this point. Thx. ...
Not an error — Thanks for attention. It's not any kind of error. It's the rule. Anyway, I added the GetLastError() into the code, and I got error code 1, which is explained as "No error returned, but the result is unknown." "Order's StopLoss ...
My platform is MT4. I use a script to open a position with a SL and a TP. Then I will start an ...