Download MetaTrader 5

MQL4 and MetaTrader 4 - page 188

To post a new topic, please log in or register
I'm new to MQL4, although I have several years of classical programming experience. I have a profile with multiple charts - due to 1M, 1W, 1D, 4H, 1H and 15M periodicity requirements of the data for the indicators on each chart. My desire is to create one EA that will receive and/or process data...
Hi Guys,  to practice my programming skills im writing a little EA at the moment which i want to place two pending orders at a specific time. Everything pretty much works but on the very first execution i always get an OrderSend Error 130. i am pretty sure that my stops are right though.  After...
Hello guys, this indicator does not update the MA. What he's doing wrong. can someone help me? thanks       //+------------------------------------------------------------------+//|                                          AG open position MA.mq4...
Adam Rosales makes second pitching appearance | texasrangers.com CLOSENow Commenting On:Full Game Coverage Infielder Rosales pitches for 2nd time in 2015Rangers forced to call on position player for ninth inning during rout Email PrintInfielder Rosales pitches 9th 1:127/28/15: Position player Adam...
Hi all, I'm trying to see the stop level on my demo FXCM platform. I'm using   Print( MarketInfo(Symbol(),MODE_STOPLEVEL) ) ;   but the result is 0.  Could you help me? Thank you!   
//+------------------------------------------------------------------+//|...
My M1 charts are losing their template settings - see http://screencast.com/t/KaLpidQ3FlZ In practice, - it happens more on fx than on indices charts - and if I never alter timeframe, there is no problem.  But as soon as I switch to say m5 and back again, on the next mt4 restart the M1 charts...
I want to do my analysis at home and then have it synced onto a mobile device. Showing all of my trendlines & counter, support & resistance and fib's. I currently use Metatrader4 from Metaquotes on android. Is it possible on this app or is there another that will sync with my PC? Ta 
Hi I wondering if any one can point me to the right direction. I would like to write an EA  where the user places lines on the chart and EA will pick up the numbers on the chart and the EA can be work dynamically.  For example EA request for the pending buy order with profit, buy price and the stop...
Industry reshuffle affected brands Yesterday, decorated the city at the time of interview, the author found that the floor is located in a prominent position at the entrance to the street, the former Rhine sun floor storefront by LG floor instead. It is understood, Rhine sun floor in the Plastic...
Hello everyone.  I am struggling to understand where I am going wrong with this code.   My goal is to every tick to have the EA totaling profit for all orders on a chart/symbol with the same magic number and when the profit target is reached, the EA should close all the orders under that same magic...
Please , how can a signal be sent to open renko bar indicator.   using icustom(); Not sure. 
Здравствуйте   стало интересно, многие дц, не хранят историю котировок на своихх серверах и при загрузке, они скачиваются с сервера метаквотс. Вопрос следующий  а) Многие брокеры меняют свое время, на летнее/зимнее, происходит ли при этом переконвертация котировок метаквотс если были за историю...
Hi guys, I just want to inform you of the latest scam binary options software called verified profits released into the market by those scam developers. Please beware of Daniel Walker and his fake software and take note that his main aim is to make you lose money not to gain it. Once you subscribe...
I haven't found special form for suggesting new features to platform developers, so i'm posting here. I use MT4 for several years an there is a list of my wishes which I can reccall for now   So first of all, Wishes form  where traders can suggest new features. Just link to the form in Help menu...
Okay, i'am just using profit amounts to place a stop if order profit is greater than or equal to half of  the expected profit in tester the resulting journal entry says OrderModify error 1.  what is wrong just using orderopenprice for stoploss? int OnInit() { sSymbol=Symbol(); iType=-1;...
Welcome to5StarsForex We at 5StarsForex your bridge to the major banks of the world, we connect the clients with major international banks to execute the orders and trade directly with the Banks, The broker obtains liquidity from tier-1 providers (Major Banks), delivers it to its clients using the...
Hi guys, I just want to inform you of the latest scam binary options software called 50k mission released into the market by those scam developers. Please beware of David Howell and his fake software and take note that his main aim is to make you lose money not to gain it. Once you subscribe to them...
What is number code of "Unknow ticket" ? Thank you
I was very surprised to notice that the catalogue <broker>/MQL4/Experts no longer have any value. None of the Experts residing in that directory is valid.  Instead all my EA's are located at the very obvious location: C...
make a point decimal from two integers? ive got two integer variables iMultiplier 100 or 10000 and iRange 4 i was hoping to divide the iRange by the iMultiplier to get the decimal of the price to add or subtract from a price but what was happening is 0 and not 0.04.. just try Print(4/100); the...
I have use FileWriteArray() succesfully in multiple EAs, but this time it just writes "0"s  - or it doesn't write at all, despite the msg: File Write =OK. As i'm using the exact syntax i used in other EAs i'm really puzzled and after a couple of hours i give up. Can someone take a look and tell...
I've been trying to establish the cross above or below zero, on an indicator.  I am comparing the value of Bar #2 to Bar #1.   Not Bar #0.  If Bar#2 < 0 and Bar#1 > 0 then cross up.  If Bar#2 > 0 and Bar#1 < 0 then cross down.  Should be simple.  If below 0, number is negative.  If above, positive....
Hello! Is there any better/smarter way to increase/decrease lot size every 100$ by 0.05lot? For now I have this, but I don't like it. Any better way? Thank you! if(AccountBalance()<300)      Lots=0.1;  else if ( (AccountBalance()>=300) && (AccountBalance()<400) )      Lots=0.15;  else if (...
Hi guys, this is my very first thread here. I been building a program with MQL4 that I use to create various systems based on candlestick patterns and price action. It is based on filters that can be activate and deactivate and it contains around 7 filters. It includes a risk management subsystem...
Hi All,   I have just just downloaded the MT4 and need some help on 3 matters please....   1)  How do I locate pivot points on the charts?  It does not seem to be listed on my indicators list. 2)  How do I enable GBP/AUD contract as I cannot find it in either the Major or Minor fx drop down? 3)  How...
Cabinet of environmental protection is a comprehensive concept, far from being a "Formaldehyde is not excessive" can cover. An original sin: chemical pollution in addition to formaldehyde, may also exist harmful substances as benzene, radon and other cabinetry. In addition to Outdoor Composite...
For samecode, sometimes there are not input parameters shown in the saved report after backtesting. But sometimes the saved report is fine after back testing. Incase that the report is saved and hasn't parameters in the report, html file, Ialways couldn't save a report with parameters no matter how...
Hi everyone.  I have working (searching the forum) the last few weeks and managed to pull together an EA that does not compile errors any more but the structure of it is all wrong and because is not executing at the proper times.  I was hoping some kind soul could take a look and help me to...
Is there a way to load a .set file by code? From what I've read it appears the only way is to do a file read, but this won't change the settings in the inputs dialog box which is what I'm looking to do through code.