Download MetaTrader 5

MQL4 and MetaTrader 4 - page 334

To post a new topic, please log in or register
Hi guys, I would be extremely appreciate for a hand with recent change to bars writting on my Oanda MT4; just after time change in US I've noticed that my some past screen shots don't match current bars pictures at the same time, platform and broker so they look unreal; I can not be sure since...
I wondered if anyone could point me in the right direction as regards the likely problem with the following behaviour: We wanted to demonstrate a bot to a potential customer without releasing the source code to them, so in the usual way we gave them an EX4 file but not the MQL source file. However,...
Hi, This is a non repaint trend indicator and it works on a different time frame from your chart. But imagine that you have this indicator in a 30 minconfiguration but on a 5 min chart then 6 bars (5 min each) will represent 1 bar (30min). Now imaginethat we are in a up trend and it pass 20 min, so...
hello, i´m looking for this ea´s Candle time remaining: but not depending by price movement as most of them do, i need it on server time. break even ea/script: but not depending on pips, i need it depending on % of profit. for example: i risk 1% by an trade and if the trade is 2% in winning zone it...
Hi, I want to change mouse cursor/pointer when it move over an object on the chart (like over a link on website), even better if it can display the tooltip/description. Do anyone have experience with this? Thanks
HelloI want to ask how to get initial deposit of an account to calculate some values in my EA
  .srv file (1)
What exactly is there in this file? I can see the server name and IP address but also some gibberish. Is it safe to send this file? Many thanks
Hi everyone, I searched in forum but cannot find how to open an URL in MT4 and download a file from an URL. What I simply need is 2 scripts: - One script that open an URL (string type) that given in input of the script. - One script that download a file from an URL, such as: http://www.domain...
Hi, has anybody here successfully traded manually on a chart in visual mode of the strategy-tester? I have found installed and unsuccessfully tried several 'One Click Trader' like: 1) https://www.mql5.com/en/code/9294/ or 2) EasyOrderSettings v4, 3) ArmadaOneClickTrader, 4) QuickDealClient 5) MT4's...
I have created vertical lines in the main chart window with ObjectSetText using the value of 0 for the main chart window only. The Lines however are repeated in all subwindows as well. How can the vertical lines be made to only appear in the Main chart window? thanks
Dear Forum, I've found a DEMA working Indicator, that's working really good by using this code: Working Indicator with DEMA #property indicator_chart_window#property indicator_buffers 1#property indicator_color1 DodgerBlue//---- inputsextern int MA_Period  = 9;//--- buffersdouble EMA[],EMAEMA[]...
I am interesting in testing and experimenting with this strategy but I am new to MetaTrader/MQL4 so I would prefer to start with working code than develop it from scratch. Thank you in advance. CarpeDiemSooner (Brand new member)
  Array initialisation (35   1 2 3 4)
I've been learning about arrays from the mql4 guide, and I have come across a topic that I am having trouble with; array initialisation is slightly bewildering I don't understand the statement below " Array Initialization An array can be initialized only by constants of a corresponding type....
To check the initialization of my EA (on b625) I tried to start the debugger with (editor b914) Tools -> Options.. Debug: - Use specific symbol and period - AUDUSD - M1 no I start the debugger and ... and nothing happens: In the Expert tab I read: nothing, and the journal tab: 2014.03.23 14:41...
Hello, my mt4 terminal is freezing every few minutes. Don´t know what the reasen is because i haven´t any indicators running, its blanc chart i have set the bars history/chart to min but no change I have reinstall my system one week ago, but same settings, os, hardware. before reinstalling i...
  editor b912 (18   1 2)
Some 'builts ago' I was able to arrange and add icons to the top icon 'line' with New Open (folder) Save save All ... Start Terminal. But now I can't find any more where and how I can add e.g. Undo and Redo. I would expect either a menu upon right mouse click over that part of the editor or a tab...
if (Bars != ThisBarTrade )    ThisBarTrade = Bars;   if(_AND && !__isExist(0))_Open_Position = OrderSend(Symbol(),0,_Arithmetic,MarketInfo(Symbol(),MODE_ASK),0,MarketInfo(Symbol(),MODE_ASK)-MarketInfo(Symbol(),MODE_POINT)*35,MarketInfo(Symbol(),MODE_ASK)+MarketInfo(Symbol(),MODE_POINT)*168,"RSI...
Does anyone know if the new language in MT4 allows login of simultaneous accounts yet from one instance?Instead of having to maintain separate libraries be nice if I could maintain one and tell MT which account to use for which and the settings for that account. It looks to me from the help...
  How does TICKVALUE work? (12   1 2)
Hi there, There is this code from http://www.earnforex.com/position-size-calculator. Is the function that calculate risk and position size from their indicator. void CalculateRiskAndPositionSize(){   if (!UseMoneyInsteadOfPercentage) RiskMoney = Size * Risk / 100;   else RiskMoney = MoneyRisk;...
Hello, How to remove the warnings ? 'Sample.mq4'    Sample.mq4      1       1implicit conversion from 'number' to 'string'   Sample.mq4      48      22implicit conversion from 'number' to 'string'   Sample.mq4      48      380 error(s), 2 warning(s)                1       3...
I'm trying to retrieve the Ticket number of the Last Closed order. So I tried this: int start(){History_Calling(Symbol(), MagicNumber); BuyOrder=OrderSend(Symbol(), OP_BUY, LotSize,OpenPrice,Slippage,StopLossPrice,TakeProfitPrice, "Buy Order",MagicNumber, 0,Blue);    if (BuyOrder>0){ Print("Order...
Hi guys. Can you guys teach me how to properly write a EA? From my understanding, EA similar to an indicator but it can automatically do the trading for you. What I got so far from https://docs.mql4.com/trading and from google is: To open a new order we do: if(condition1){   int...
Could I add new lots to an open position or I have to open a new order? Could I do partial close in live or I have to close all the position and open a new one with the new volume? I have read that I can't ther -> http://www.dailyfx...
Hi all... please tell me what's wrong in this code? //+------------------------------------------------------------------+ //| GetVolumeInformation.mq4 | //+------------------------------------------------------------------+ #property copyright "Copyright ©...
I do have 10 orders with specified distances 2nd = 10 pips 3rd = 30 pips 4th = 60 pips ....... etc 1st conditioned MA (.....) 2nd conditiond MA & BARS 4H CLOSE & DISTANCE NOT LESS THAN 10 pips 3rd ..............................................................................................30 pips...
Does anybody knows which one is correct: terminal.exe /portable or terminal.exe "/portable" ? I have seen both, both are working - which is better?
Hello, can somebody help me to draw a simple dropdown menue on chart like in following picture:
Hi I am highly appreciated if someone writes the code. dont reply saying that "study basics and get own coding for yourself " I just need who really wants to help me instead commenting read something etc and go for job coding.. that i know.. because waiting for someone who will give/reply with...
Could you please help me to set up Pivot Points indicator on MetaTrader 4? I browsedthrough all possible help topics but could not find any info on how to add pivotpoints to my MetaTrader charts? Thanks much, Vika.
Hi the new mt4 has a lot more functions. With ChartID(), ChartIndicatorsTotal(..), ... I can get all the indicators running on (all) another chart of the terminal. Is there a way to get the name of an EA running on (all) another chart of the terminal? May be as well the time the EA was started or...
1...327328329330331332333334335336337338339340341...1250