MQL4 and MetaTrader 4 - page 47

Hi gang, I'm struggling to get some data I purchased importing correctly into MT4. Two different problems seem to be showing up. First is each day only imports from 10:00-23:59, while my csv file contains data for each day from 0:00-23:59. Second, which I'm assuming is related somehow, is that
iTime ( _Symbol , _Period , 0 ); Should return the current bar open time , but I have an issue where it sometimes returns the previous bar time. I didn't think it was possible. Maybe if I RefreshRates() ? Edit: Nope. Still happenning
Hi folks, I didn't open Visual basic since 2 months; I opened it tonight and converted the "DDE-Sample.xls" to Visual basic with some improvements (a full pairs list). If you like it, I will make it save the history. Do you have any suggestions
Here is my basic codes structure: ... Improperly formatted code removed by moderator. Please EDIT your post and use the CODE button (Alt-S) when inserting code. Hover your mouse over your post and select " edit " ... ... So basically, if I set numbers like the above when price reached the A1 (2)
Hi i would like to calculate lots such that if say account balance is $1000 to open trades with $100 in other words 10% and when the balance grows to $2000 to open trades with $200. This is some sort of incremental system that should maintain lot size of new trades at 10% of balance. How do i go...
Does anyone know how to draw a horizonal line from the open of a specific candle to the end of the day. For example, the open of the 2:00 am hourly candle. I know how to draw a line from the start of each day to the end. Just having difficulty figuring out how to start at a specific hour. Thanks
I'm using MT4 Build 900 on a WindowsXP. Today the Visual Mode and tabs at the bottom have disappeared. I've checked with two brokers. Same issue. I'd be grateful for any suggestions on how on a fix this
I'm looking for an MT4 EA that buy/sell every n of pips, like in a grid. Do you know? ciao
hi, using MT4 b745 on wine 1.7.32 i386 ubuntu for using an expert i need to add an url into /tools/options/Expert advisor/ there is already the builtin 'http://www.mql5.com' listed when i right-click on '+' nothing happen for adding a new url, so i double click on the previous url's field:...
There is no option to choose a Pro 5 RoboForex MT4 account
how to add news website for my ea ? it already has news filter but i need to add a website from mt4 option
hey , so i have an mt4 indicator that works just fine with no lagging or freezes on my terminal ,, but i gave to like 5 ppl to code it and all say they can run it ,, any idea why is that happening ? my terminal build is 1382
Hi All, I just started using mql4 few weeks ago. My EA is working fine in tester , but it gives me this error in live : Error opening BUY order : 0 The sell orders are executing correctly, only buy orders are not placing. I have tried running on different times with different brokers but same
Hi, I want to broadcast a message to all the open charts. The code is already written and there was no issue, but then I noticed that sometimes one chart's OnChartEvent is not getting triggered. It's always the same. Because I am still developping, only two charts have the OnChartEvent function so
So I'm attempting to build(fxdreema) a bot(mt4) that works within a certain time frame every day. I'm using the time filter block, regardless of the settings i adjust in the block no trades engage when back testing on eurusd. I'm curious if my terminal time is off any help would be appreciated
Hi Forum, I have the following code, but for some reason when I run the strategy tester, it does not do any trades - so my results page is just blank.. (Sorry, wrong formatted code before) // Input parameters input double RiskPercentage = 1.0 ; // Risk percentage per trade input int TakeProfit = 300
Hi All, Is there any way of changing the preinstalled line (See attached Image ) on MT4 to show different colours, EG: green for line up and red for line down?, I have found the option Chart properties (f8) where the candle colours can be changed but am unable to find the options for the line
Hi, How would I amend the below code to perform an action (for example Alert new Close Price 1 and 2 only) after the opening of the subsequent bar? I will be grateful for your help. //+------------------------------------------------------------------+ //|
  mt4 wont open  (1)
I have been gone for a few days and now MT4 will not open. There was a windows update just before I left but it was working fine. Now 4 days later it will not open/load
Purchased Forex Trade Manager MT4. It shows me as purchased, but doesn't appear in the Terminal, Market, Purchases, so I'm not able to install it. Any help would be appreciated
hi, my mt4 terminal is running normally with build 1340, system windows server 2012 64 bit, and i can reach the mql5 market recently, but today the mt4 market is blank and i can not upgrade my products By the way, the IE is 11 and https://*.mql5.com is added to Trusted sites in IE internet options
How do I get MT4 to play a sound when an order is filled or placed? Where is the mt4 forum? Is there anyway to only be on the mt4 forum and see there market place and not have to constantly click on mt4 when viewing the market place? Thank You
Hi Sorry for this question maybe it's an easy one I use the OrderSend function to open a sell stop X distance from price OrderSend (_Symbol,OP_SELLSTOP,0.05,Ask-100*_Point,3,NULL,NULL,NULL,778,0,Red); Now I want to open a Buy Stop but only when the above Sell Stop is triggered and X points from sell
  Distance arrows / candles  (11   1 2)
Hello everyone. I need help to solve a problem on the distance of the arrows from the candles. I have these two codes: int OnCalculate(const int rates_total,                const int prev_calculated,                const datetime& time[],                const double& open[],                const...
I'm having trouble adjusting the candle distance in this code. The arrows are too far from the candles, below is my code, if anyone can help, I appreciate it. //+------------------------------------------------------------------+ //| Italo 3.mq4 |
if ( rateChange > VelocityTrigger * Point && avgSpread <= maxSpread && totalBuyStop < 1 ) { ticket = OrderSend ( Symbol (), OP_BUYSTOP, lotSize(), Ask + ( totalBuyStop + 1.0 ) * ( Point * Offset ), Slippage, totalBuyStop-( 15 +StopLoss)* Point ,TakeProfit,TradeComment, MagicNumber
Hello, can someone, please help me to convert this divergence indicator to new MQL4 language, so I can make it to EA with eabuilder. I am new to programing in mql4 and I have made several indicators and EA's, but with this one I didn't succeeded... //---- #property indicator_separate_window
Hey dear Dev friend, I’m trying to create an MQL4 EA that can communicate with a web site I had to go through the MQL4 documentation and the only way to communicate with the outside environment is through the file functions Or should try to import a dll? I’m looking for idea, how to set this up
EA should verify all three things and how to write its code if (AccountName()!= "Shabaz Shah" && AccountNumber()!= 1234534 && AccountCompany()!= "Bank" )