Download MetaTrader 5

MQL4 and MetaTrader 4 - page 615

To post a new topic, please log in or register
Hi, In the pictures for the MT4 iphone app I see that you can have more than one 'Indicator Window' under the 'Main window'. When I downloaded the app I only had one Indicator Window under the Main window. How do you add more?
I searched through google for how to set stoploss and takeprofit on an ecn broker. I tried all the examples what could be wrong with my code? I actually initialized my active open orders ticket number to my variables so that it would work but to no avail on MBtrading bull.trade = true;   Bear...
Dear Sir, In some of the EA, I found a different approach to broker 5 and not 5 digits, for example the following code segment: int digits = MarketInfo ("EURUSD", MODE_DIGITS); if (digits == 5) {int StopMultd = 10;} else {StopMultd = 1;} int Slippage = Slip * StopMultd; My question: why should...
  MT4 Notes (1)
Hi, can I add a note to my chart, and when I do, it leaves a small symbol on the chart to remind me I have a note, perhaps double click on the icon/symbol to read the note does anything like this exist ? the Text thingy is hopless, one line most of the time isn't enough. Thanx gary
My broker recently issued build 226 for MT4 and it is constantly crashing now. I'm removing all of them and going back to Build 225, but it keeps wanting to Auto Update it to build 226. Is there anyway to disable this ?
Is it possible to compile EA automatically? That is, is there any command or function that you could use in your expert EA to compile as you require without any input from you? I need my EA to initialize if it meets certain conditions and it seems the only way for it to happen is through compiling...
I have a script to extract historical data and 12 indicators to a csv file for analysis purposes. On the other hand I have an expert advisor which uses the same 12 indicators as input, so it calculates them as soon as a new bar is closed, over the open prices. Both the script and the EA use the...
Hello, everyone, I have met a problem when coding EA and I was wondering whether you could be kind enough to enlighten me. The internet connection to the server here is sometimes lost and reestablished automatically. The following is my understanding of EA working when internet is lost and...
I want to this robot,if any one have this real verson or for buing any web side pls emai me syfur_all@yahoo.com
Can anybody tell me if is possible to have a code to work like below: When a working order is closed at SL, the code has to open a new market order, DOUBLE amount of just closed order, in the OPPOSITE direction than just closed order (if closed order was BUY than open a SELL and vice versa) with a...
I try to execute a script and after the message SUCCESSFULLY LOADED it gets REMOVED. Why?
I need a code to work like this: When a BUY order is closed at Stop Loss, a new SELL market order is opened at a double amount of the just closed order with the same SL and TP in PIPS like just closed order. When a SELL order is closed at Stop Loss, a new BUY market order is opened at a double...
Hello I am using 7 color already in my custom indi. But I want to add 2 more channel lines and it means total 9 color. Is there any method to use more than 8 color please let me use it. Regds mithetnme
I have a custom indicator that runs in a different window (at the bottom). When I start it the journal tab shows "2012.04.11 15:45:01 Custom indicator Indicator_Environment EURUSD,M1: loaded successfully" the expert tab shows "2012.04.11 15:45:01 Indicator_Environment EURUSD,M1: loaded...
Hi, how can I get the price of an underlying from yesterday at 14:00?
I think we techikal comming here possible 1.3320
Hi Traders I want to remove MACD INDICATOR and input ENVELOPE. Could someone show me what code to be removed from MACD INDICATOR and what code of ENVELOPE to be added. Thanks for your help...
Hi MQL4 community, I am looking for a way to create tradable zones which are rectangular in nature. They have a start time / end time / high price / low price. These are essentially zones of support or resistance such as visual / phycological levels / fibs and the like. I would like to set up buy...
Hi guys, I made this EA on http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/index.html#Var2 It will place a buy order if RSI is below 30, the price went below the lower bollinger band and when the next candle is white. opposite story for sell (with RSI above 70) It's fine that it waits till a new...
i want to use lsma_lines indicators (pitchfork) and a Moving average to make a simple ea. to call the indicator i use "indicator-assigned-name"=iCustom(Symbol(),0,"indicator-name",parameters,0,0); //---- indicator parameters IdNum =1; RPeriod=68; LineColor=Red; LineWeight =1;...
Hello I am new on this forum and generally on mql4 : I am studying a program that I found on the web and could not understand how the function iForce works. My intention is to write an EA on the forex, and I was surprised to lear that on forex for mql4, the volume is the number of ticks in the bar....
the stops are set to 0 what could be the problem with the expert advisor?
Hi, What i'm trying to do here is to open or close an order if a signal is received where am i wrong? the ea wont place any orders, even when the signal is received. Thank you in advance for your time =]  TOrders=OrdersTotal();      if (TOrders <= 5 && ((Hour()>=FromHourTrade &&...
I need some help to account for weekend time. I am writing a script that keeps track of time trades are open. However, no matter what I can't figure out the code to make it subtract the 'weekend time' from the total time that trades are open. Help! Any ideas? Here is the code I am working with:...
Can you please help me to add two additional items to the above indicator as follows: 1) a vertical white dotted vertical line throughout all windows at 2/95 level of stochrsi, 2) a thick green arrow whenever the price move from below stochrsi 20 level to 20 level and a thick red arrow whenever the...
Hi, I have this code below and it gives me an alert every minute. That works fine, but it also gives me an alert when i attach it to a chart and the first tick come in and i don't want that. How can i avoid that first alert? #include <stdlib.mqh>#include <WinUser32.mqh>int...
I tried to exports economic calendar data to MT4, but the information I got was difficult to undestand for me. So,I intend to make it through excel (bring economic data manually, from excel, and exporting them to mt4) How graphic exel data to MT4? I guess these are some steps: Step 1: bring the...
Hello, I need help to do a script that draws a vertical line automatically at a certain time everyday in MQL for MT4. Thank you for your help.
hey, i have a custom indicator i would like to use (included here), i need a certain value from a function, the function calculates the MA angle, if you will look at the code you will see a var called fAngle there, i tried to Return it and failed... how can i extract it to my main mq4 file? thanks...
Does anyone know of an indicator that show fundamental's data in charts? (I mean, separated of windows price, just like CCI, RSI...) Thanks a lot trader201