Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1162

To post a new topic, please log in or register
i dont really know programming of any kind but reading thru the material in the help section i came up with a simple program to practice different things for a EA. the one im trying right now however doesnt seem to be working as it returns a few warnings for things that "should" be in the EA but...
welcome to help testing this MetaTrader 4 Expert Advisor.... About the System. Opensignal - is a kind of black-box system. Signals are generated on server side, client software reads them using http protocol. The system is always on the market, there is always one trade per chart open (EA opens...
Hi All, I run an Expert Advisor on my live account and it will suddenly be removed from the chart. This happens only in my live account. There appears an error message in the log file namely "uninit reason 1" which seems very suspect. Does anyone know what the cause is of the removal of my EA and...
The buy order was sent with this code: ticket=OrderSend(Symbol(),OP_BUY,lots,Ask,3,Ask-range-10*Point,Ask+range+10*Point,NULL,MagicNumber,0,Blue); But I keep getting errors like this: 2008.06.24 05:44:18 '703994': requote 1.9662 / 1.9665 for open buy 0.10 GBPUSD at 1.9666 sl: 1.9648 tp: 1.9684 2008...
Iliya Gladkov
Forex trading signals. Trading signals - is a set of rules written in a special language Trading Language (Mql4), which formed the team and a warrant for opening and closing of positions. The signals are an important part of trading strategies.
  CODE HELP !! (4)
Hi, I have a problem. I want my EA to trade many times as long as the parameters match.(Now it trades only once) How can I do that?
I downloaded a script and I finally figure out how to get it to run but now I can't figure out how to get it to stop. I even exited the program and started it back up but it still says the "The Mastermind" script that I downloaded and ran is still running. I deleted it from my scripts list also. How...
New article Integrating MetaTrader 4 Client Terminal with MS SQL Server is published: The article gives an example of integrating MetaTrader 4 ClientTerminal with MS SQL Server using a dll. Attached are both source codesin С++ and in MQL4, and a ready-made and compiled Visual C++ 6.0 SP5project....
Is it possible to prorammatically get a candle (or; it's HLOC values) from a specific time? For example, I would like to have HLOC values from H1 map's candle for the time 7:00 - 8:00 or M5 map's candle 14:15 - 14:20. Is it possible?
Hello, Based on indicators: RSI, the WPR% and Stochastic I intend to write aninvestment strategy (EA) which will open purchase and sale orders according to the generated signals by the indicators. Levelsstoploss and takeprofit should be defined in the program, so that when openingup their orders...
I have used a function found in this subject 's forum : "Stop trading after losses" but i have problems to compil EA. It seems not complicated code to intregrate to my strategy but Like I am beginning with Mql4, i don' t see where and what can i do? So, if somebody has an advice I wil be happy to...
Hi What should I use for an EA that is based on prices only. For example: If I want to open a long position when the current bar's rate is higher than the high of the bar before? Is it "ihigh" or "price_high"? Thanks...
Hi UKT, Sorry to ask you again but i still have problem with it. Normally my EA must stop after have losed and restart next day. When I test it sometimes it makes only one trade, or it makes more trades after have losed in the same day. Moreover, when I parametre the number of loss possible by day...
Hallo, I'm new of forum. I downloaded then documentation help file "metatrader4_en.chm" and "MQl4BookEnglish.chm", but when i use it, an error page (page not found) splash to mr... there are someone tha are able to send me a correct printable guide or that are able to say me what is the trouble ?!?...
Hi all This bit of code code checks to see if the market trend has changed and if there is a pending order and if so it deletes the pending order.   // //abandon setup routine //slope21 == "N", means neutral slope              if(slope21 == "N" && (OrderType()== 0...
My EA is running at M5. It is a MA cross and take good movements of the market but lose money at side market trading at false signals. I need to add a indicator to filter the trades that should be open. What is the best choice? Thanks.
This script should print the close price for a set of currency pairs. Unfortunately doesn't work for all the JPN pairs (ie. the ones with only two decimals). Someone can help? int start() { double curr_close; string cur_pair[] = {"EURUSD", "USDCHF", "GBPUSD", "USDJPN", "USDCAD", "NZDUSD",...
'PLS COULD ANYONE GIVE ME INFORMATION ABOUT FINANCIAL ROBOTICS' But Rosh decline that no broker could steal EA from server-platform. I came across it in one forum topic. Then how come that sparenfx and so-called financial robotics inc. will team up with metaquote to dupe developers of their great...
Hello, Any ideas on how to code this?. Lets say there is already a open BUY position with Magicnumber4. I do not want to open any additional BUY positions(i.e reject pending orders) if the account already has an open buy position with magicnumber4. Thanks,Padhu
Hi, I coded this Stochastic RSI indicator and it doesn't fully work. The signal lineisn't drawn on the screen. Can anyone spot my bug? Thanks, Kevin Robertson
i just read in the forum,what a trader wrote about his ea being removed or disallowed by his broker. and i wonder if it is possible for a broker to know,if a trader is using expert advisor for trading or he is doing manual trading. kindly reply.
Hi, I have made this EA, now i can compil it but i still have problem with it. Normally my EA must stop after have losed and restart next day. When I test it sometimes it makes only one trade, or it makes more trades after have losed in the same day. Moreover, when i parametre the number of loss...
Below is an image of a chart with a custom indicator I wrote. The chart is H4 chart and the indicator is hard programmed to PERIOD_H4 for the indicator. The indicator is working fine on H4 as was programmed to do so. GBY/JPY H4 chart with indicator: No issue here, all is working fine Everything is...
Hello, How can I write account info(symbol, buy or sell,lots) to a csv file every 5mins?. Thanks,Srinivasan
Hi, I have made this EA, now i can compil it but i still have problem with it. Normally my EA must stop after have losed and restart next day. When I test it sometimes it makes only one trade, or it makes more trades after have losed in the same day. Moreover, when i parametre the number of loss...
Hi, I have made this EA, now i can compil it but i still have problem with it. Normally my EA must stop after have losed and restart next day. When I test it sometimes it makes only one trade, or it makes more trades after have losed in the same day. Moreover, when i parametre the number of loss...
it compiles but does not draw arrows on my chart anybody can imagine what am i doing wrong?
Although I'm very comfortable writing an indicator, mostly due to my 20 years of programming the VB type languages, I'm having difficulty with the Expert idea. The main issue is dealing with the time dimension. My understanding is that the EA, like the indicator, keeps polling the data. I wish to...
hi pros, what can i do to this ea code to put an end to ''trade context busy'' error,which i always get anytime i try to use it on 2 different pairs at a time? the code is stated below,thanks //+------------------------------------------------------------------+ //|...
i need help for adding sound alert code. I want the system alert me when the arrow indicator appears? can anyone help me?