| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack (1) | Thread Tools | Display Modes |
|
||||
|
I understand what you mean, but the code is correct. There is either another EA modifying these orders or there is other code in the EA that is doing it becuase it is certainly not this code. You will need to stop all other EA's and check the primary EA code for other calls to OrderModify()
Good luck =)
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein Last edited by Nicholishen; 01-15-2007 at 06:13 AM. |
|
||||
|
Thanks for your time with my noobish self
![]() the only other ordermodify in the code is a break even and lock pips. i will attach it. BEx=amount of pips to lock in I have been thru it so many times im sure it is looking right at me, but I am no pro, a hack at best. Thanks again Nicholishen! PHP Code:
|
|
||||
|
Quote:
PHP Code:
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein |
|
||||
|
Code for 'Allow live trading'
Hello, for EA's to work we have to enable the 'Allow live trading' option so in stead of having to tick it all the time when loading the EA what line of code do I add to automatically have that option enabled in the EA?
Thanks |
|
||||
|
You dont need code to do that..
Quote:
You can do that easily by going to MetaTrader's menu. Go to "Tools" then "Options" (or just type CRTL-O). Then, in the "Expert Advisor" tab, check the Allow live trading options. There you go, all the EA you attach after that will be allowed live trading. -RJ1- |
|
|||
|
Found this
if (UseHourTrade){ if(!(Hour()>=FromHourTrade&&Hour()<=ToHourTrade)){ Comment("Non-Trading Hours!"); return(0); One question: It uses my forex broker time : Yes or No?? I think yes but I want to be sure And how can I put there minutes there like 15:30 ?? There is only hours?? |
![]() |
| Bookmarks |
| Tags |
| candle time, CHinGsMAroonCLK, coders guru, expert advisor, forex, how to code, I_XO_A_H, mechanical trading, trading |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/metatrader-programming/554-how-code.html
|
||||
| Posted By | For | Type | Date | |
| Need an experienced programmer? - Page 2 | Post #0 | Refback | 09-24-2008 07:24 AM | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to code this? | iscuba11 | Metatrader 4 mql 4 - Development course | 1 | 08-03-2007 05:22 PM |