MQL4 and MetaTrader 4 - page 38

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" )
How do I add a Stoploss and TakeProfit level? ticket = OrderSend ( Symbol (), OP_BUYSTOP, lotSize(), Ask + ( totalBuyStop + 1.0 ) * ( Point * Offset ), Slippage, 0 , 0 ,TradeComment, MagicNumber, 0 ); ticket = OrderSend ( Symbol (), OP_SELLSTOP, lotSize(), Bid - ( totalSellStop + 1.0 ) * ( Point
I am just learning MQL4 and trying to implement as many thing to learn many concept. So i am just playing by building an expert advisor that if a trade fail print it candle id on the journal terminal please i will be glad if anyone can help
[Deleted]
Is there any way to clear the alerts generated using Alert() function, besides restarting the platform? Can anyone help?
I am new to the MQL4 forum and I have found an interesting indicator in one of the articles that I would like to experiment with. I have downloaded this indicator and compiled it successfully, but it does not want to load onto my MT4 live system. I try to drag and drop it as I do with the other...
Hi all, I wrote the code below to support my EA. Essentially, I’m trying to add the cumulative profit until the target is reached, and then I reset the counter to zero. When the Cumulative profit is negative, I would then increase my lot size. So this would be similar to a Martingale strategy. So
  financing fee  (2)
Hi Does anyone know how to calculate in EA the financing fees charged by the broker? I wrote this code to calculate daily profit (see below). It works fine. Except it does not include the broker's daily financing fee. That's because the broker will list the fee under the Profit heading as a loss
  MT4 to Telegram  (18   1 2)
Can anyone code or have any idea how to send trade details from MT4 to a Telegram channel. This is the sort of thing I am talking about. Thanks.
Hello Everyone I would like to ask how I can get a script for MT4 with the following parameters: Open multiple pending positions at the same price(to customize price), Open multiple positions at the market order at the same price(to customize price), Close all positions in one click, Stop loss with
Hello everyone! I made an indicator as a request for MT5 that works fine. And now I want to have it also on MT4. So I did it, and it works well too. When plotted on the chart or when parameters are changed, the indi "refreshes" very well. BUT, sometimes, when the timeframe period is changed (works
  MT4 Can't Login  (1)
I have all my info. Changed my password and tried everything but I can't get into my account. It just says "No Connection" in the right corner. No pop ups or anything it feels like it doesn't register that I am loggin in or something like that
Am starting to experiment with EAs and custom indicators and would like to know if there is a fast way to 'comment-out' (//) in one go code that is selected in MetaEditor. Figure there must be, but have been unable to find the solution so far. Thanks in advance for any help.
Hi, I have 32 MT4 on one dedicated VM, it collects tick data from different brokers. CPU and memory load is <10%. During news release such as NFP, tick data is lost, it simply is not recorded, and all terminals suffer horrible lags. Does anyone has an idea why this is happening
Good day, I have entered my MetaQuotes ID on the notifications tab, under options on my MT4 Desktop. Still not getting alerts sent to my phone. Please assist: Thank you
Hi guys   As I started Meta Trader 4 this morning, I'm suddenly not able to select periods and tools for a chart. These buttons are all greyed out.   This picture explains what I mean:     I also noticed that I have no connection to the broker server. Maybe this has something to do with it?   Does...
Hello all,  I'd like to know which is the exact formula (used by brokers) to calculate preventively the monetary value of a SL or a TP.  I'll explain better: if I set a pending order or I send an order to the market and I put mouse over my SL or TP level, the platform says me how much (in deposit...
i am coding a expert advisor that get the candlestick a sell trade was taken on and then use that to get the candlestick before that sell candlestick and then place a buy trade and use it as stop loss but the ea open many orders which is not my problem the issue is that it uses the sell candlestick
Hi guys, Im new in Forex Trading and MT4, recently I have subscribed a Signal provider channel and also MT5 VPS service. Just a few questions keeps bothering me after that, so would like to ask for ur helps, Thanks in advance!! Question 1: How do I know whether my MT4 is copying signals from the