Download MetaTrader 5

MQL4 and MetaTrader 4 - page 594

To post a new topic, please log in or register
Hi Forum, I use the Ichimoku indicator and I wanted to see if the the price is above, in or below the cloud in a higher timeframe. I trade the M5 and wanted to know how the M15 looks like without switching the timeframe. Green = last bar is above the could Yellow = last bar is in the cloud (or part...
Hi there, From what I have read on this forum regarding Double Precision Math operations the concensus seems to be that one must use the NormalizeDouble function to produce expected results when using double precision numbers. However, I am still experiencing some strange problems when using double...
Wondering if somebody has done this already (save some time).. I have a SMA on my chart, I want a histogram in a separate window showing the distance between the price and the SMA. Also I want the histogram bar to be RED if the last bar was taller, GREEN if shorter. Thanks in advance. Mo
We know that, in order to access such order details; the order should be selected first by indexing the opened positions. i.e. for ( int i = 0; i <= OrdersTotal() - 1; i ++ )    {    // --- Select & Gather Order Info ...      } Now, the gathered OrderOpenPrice() at i = k should be stored somehow in...
hello guys I wanted to develop a site like myfxbook.com. I am wondering how does it fetch all account history. they must be having an EA or something through which they can change login account. so my question is "how to change login into metrader through ea or dll or any other programmtic style"...
Hi, I am trying to write my first indicator. Well, I am just playing with code and having some fun. I would like to display a message box when the specified parameter is TRUE and when I okay the parameter box. Below is the code, it does not do a lot. #property indicator_separate_window#property...
I believe I have seen this request a few times so with my best programmers hat on I have written the following, yet to test it on demo account criticisms please Note it was written for clarity not efficiency - I'll screem if you also ask for it to place a trade at price :-) (maybe I will add that...
HI EVERYONE I was trying to develop a code on metaeditor in which I need to retrieve previous candle information, i.e., open high close and low. can anyone help me in that?
How can I check, if the custom indicator exists??
Hi Can someone help me with code that I can use to find high/low for a period from x to y, and which I will be using later in the day? For example to find the high/low for at period from midnight to 4:30 AM, and which I will be using in the afternoon. Thanks in advance. GJ
  AccountStopoutLevel (12   1 2)
Can anyone better describe AccountStopoutLevel() than the metatrader documentation? 0 - calculation of percentage ratio between margin and equity; Is it the Margin used? The Free Margin? Is it Margin / Equity or Equity / Margin? How is it calculated? Best regards
Hi, how can I draw two rectangles a little bit shifted without transparency??
sorry but anyone - ......and the best and fastest way to get a .........sharpe ratio is ?????????? please????
Just a beginner... Would this be the most efficient way of displaying the value of a variable on a chart in a script or expert? Note I don't want to use Comment() because font is too small. If there is a more efficient way, please describe. Thanks //-------------------------------------- double...
Hello all, just want to use the chance and ask all the "experts" or experienced traders out there if it is somehow possible to detect the current value of an ema (inside the MT4 platform) - expect from what I see on my chart? Or is what I see the true value? Regards Hubinator
  Dynamic Array (13   1 2)
Hi all .... I'm absolutely hopeless when it comes to arrays, sort of a brain freeze, so I hope to get some help here. To really simplify, I am trying to add an orders ticket number to an array whenever a new order is opened. For example, the first orders ticket number will be in the first cell of...
In a saturday or sunday, how do you test an EA? I've tried putting the code on init but it doesn't run.
Hello! I have two questions. 1. I want to buy/sell after crossing two WMA on new bar but for price close prev bar. And after place an order 5minutes later if order will be still active (no transaction), buy/sell for every price. Someone can tell me how to write after 5 minutes buy/sell for every...
Crosshair or [+] sign not available in android MT4 apps. Its quite difficult to see previous Candle at particular time frame. I hope the developer will seriously look into it. Thank You.
What should I do ? I need Some One to create EA. I'm Newbie and didn't understand Coding EA MT4. I use Osma with 4 different paremeters and 4 different timeframe.
The second if statment "if(OrdersTotal() == 0 && LoMidBuf1 > LoMidBuf && SellOrder == 1)" is running even though the OrdersTotal() equals one (set by the first if statement). The print statment shows that OrdersTotal is zero but the code still runs. I don't understand. Thanks for the help. 2012...
When run, produces the error : 2012.08.24 18:15:04 osma expert inputs: MagicNumber=0; Lots=0.1; Slippage=5; StopLoss=50; TakeProfit=60; TrailingStop=30;
Hi, how can we get MCX Chart Live software platform, (in indian rupees), Broco company was terminated, Please help me !!!
good afternoon, I see a problem I have with a .csv file. This file has n rows recorded, but in the end has a blank row, how I can detect this blank row in an Expert Advisor?, Can anyone help?. thanks
Can I use an EA to auto-login different accounts? if i have sereral different accounts,and i want to trade with all ofthem,can i first login with one account,send orders,then login withanother account and send the same orders?
Hallo all,,, I'm not too familiar with the mq4 programing,,, could someone help me to make a modification on this indicator : 1. Day_HL --> use to determine yesterday HIGH and Yesterday LOW price 2. Daily_open_line --> is drawing a solid daily opening line based on daily_open number My request is...
Hello! In the trading pool exist an OP_SELLSTOP and an OP_BUYSTOP order. Can anybody say me wihy the following code returns me an error 4105, but neverthless it returns True to "Founded" and 1 to "Counted" ? In orher words, it returns an "No Order Selected" error but returns also the expected...
Hello Can anyone help me make a basic EA alert for mt4 to send me an email as soon my whole balance decrease by 5% than 10% and so on. I would like to modify it by the every 1% if possible. Thank you for your help
New article MetaQuotes ID in MetaTrader Mobile Terminal is published: Android and iOS powered devices offer us many features we do not even know about. One of these features is push notifications allowing us to receive personal messages, regardless of our phone number or mobile network operator....
does a TP of 10 pips means scalping or it's not about the TP level and more about the way of trading?