Hi all.
I have recently used ChartSetInteger function to programmatically change sub window height (MT4 latest build 830). Once this code is applied to the chart, then I can't change sub window size manually afterwards.
It seems the code fixes the sub window height and even if I drag my mouse...
I have an EA that only places orders of the BuyStop/SellStop type and only integer values. Of course the variable type has to be double, but the value is always an integer. When the price is touched, the order goes live. In one of my brokers, that has been working flawlessly for days. In the other
Hello, I read that it should be possible with std::bind or the c++ Boost library to bind a function pointer to a class method. Unfortunately I couldn't find any examples of this and I can't do it without help. Suppose I have two classes and I want to bind a callback from class A to an instance of
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. //+------------------------------------------------------------------+ //|
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
MQL4 Market: failed to load products (get header failed [12150]) blank pages in markets
(52 1 2 3 4 5 6)
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
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
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.