Hi, I'm writing the simplest code I can but I always get error "Invalid price" when tring opening a position !!! ex: if (OrdersTotal() == 1) return; res=OrderSend(Symbol(),OP_SELL,Lots, Bid,3,Bid+StopLoss*Point,Bid-TakeProfit*Point,"",100,0,Red); if(res<0) { Print("OrderSend SELL failed with error:...
This EA looks pretty profitable if tested with strategy tester in MT4. Anyone knows it ? I have no idea how it goes on live account.. Who wants to try it ? What do you think about it?
Hi guys, i just want to exit on close (of the current bar) for my open position. the position have been opened at the open of this bar and i just want to close at the close.
how can i code that?
Good day,
Most Windows PocketPC today are changing to become Phone Pocket PC or Phone PDA (like i-mate http://www.imate.com/DETAILS_KJAM.htm) .. can MT4 works with Windows Mobile 5.0 (latest version) which is build on Windows CE.
regards
mazen
I have read in another forum that downloading Alpari data is the most accurate data for backtesting. But in contacting Interbank FX today, they stated that thier is no way to get accurate results in MT4. InterbankFX stated that using thier data was the most accurate up to about 60%. Can someone...
Hi Dynastore for QuoteSpeed Tradestation 4, 2000i, Metastock Pro Existing customers have good-forever keys. Free public registration is available: Name: Free license Key: 0797-8FE7-AD50-C199 Build 20050406 N/A Documentation in PDF format http://64.39.175.162:8080/Files/ds-qs-ver5-20050406.exe...
MetaTrader 4 Build 185
The new build includes the following changes:
1. Extended the field for account password. Password maximum length is 15 characters;
2. Fixed error of setting up alerts for symbols longer than 6 characters;
3. Improved operation of the terminal through Data Center;
4....
My demo feed for MT-4 is through Interbank FX. Is there any way to change this, so that my feed is directly through the MetaQuotes demo sever. I believe I had an older version of MT-4 that had a feed directly from MetaQuotes. I have since re-installed one of the newer builds that has the Interbank...
My Expert Advisor can run perfectly in Ver 4.0, Build 184, but can not run in Ver 4.0 Build 185.
Does anyone else has the same problem?
What's new update in Build 185?
Can I change back to Build 184?
Guys I've got a problem with opening MQL and MQ4 files. What kind of program do I have to use? REGARDS
Hi, I have problem that not making sense: sometimes after starting my EA (Backtesting mode) i see that i have open trades ! OrdersTotal() return 1 open trade what can be my problem ? thanks
hi,
I am wesley.
the MT is nice!
welcome to http://www.mt4.cn , It's Communicate in MT for China.
Is there any way to tell from an expert advisor whether the "Short", "Long" or "Both" inputs are set, or is isTradeAllowed() the only available function to find out what trading is allowed? I'd think that either: bool isShortAllowed();bool isLongAllowed() or #define TRADE_SHORT 1#define TRADE_LONG...
My MA Cross expert is not working properly. I am using MT3 and there should be 2 arrows appearing on the chart with every cross: 1 for closing the previous trade and 1 for opening a new trade. Sometimes it will just open short trades, other times just long trades. The odd time it will open a trade...
Hello,
I am trying to close a manually open order with the below code:
CloseOrder(OrderValue(1,VAL_TICKET),OrderValue(1,VAL_LOTS),Ask,5,Red);
but all I get is red triangles on the chart.
Is this due to the fact the oreder was opened manually?
I have reported this before but upon further inspection it is quite definitely a bug.
In your templates (tpl) files you store the symbol and digits (e.g. symbol=USDJPY, digits=2). When applying the template to a chart with different point (e.g. EURUSD) size the Point and Digit variables seem to be...
Please help to convert the attached MT3 PSAR Trailing Stop to MT4. This is a great Trailing Stop. Thanks in advance, Jorge C. Barbosa
"No connection with trade server". It would be fine, but it pops up every once in a while when trying to open an order. When I restart MT, the order opens immediately. Does anybody know what is the matter
Public beta-testing of "MQL4: automated forex trading" (MQL4 COMmunity resource) has begun. We are glad to invite everybody who wishes to participate in beta-testing!
Please all suggestions and bugs publish at http://www.mql4.com/forum/
Let's speak your mind about features you want to request for MetaTrader and things you like about it. I'd like to see a poll just in case somebody out there can fulfill your request. You can choose multiple options. Options: Automatic code generating wizard for non-programmer like...
Why $700? Because this website is selling this system for $700. You may visit their website: it is in russian but just look on the images on the website. And after that look on the image attached. Almost the same? On those website they are using some filter which is similar with awesome indicator...
If anybody interesting I will translate this indicator to english. For Paramon trading system for MT3 go https://www.mql5.com/en/forum/172905 https://www.mql5.com/en/forum/172906
Hi How does one use breakpoints in ones code? What is their purpose? I see one can toggle them, but they don't work when I attach the EA to a chart. Are they there for debugging - as that would be great if one could step through the code - as in a microsoft IDE, and see what values the variables...
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.