MQL4 and MetaTrader 4 - page 846

Hi, can anybody help me with my costum indicator? I'm new here, new in MQL4. I've been searching it on this forum and googling it since 2 weeks ago, but still no luck with my experiment. Help me, please ... Thanks in advance // I'm expecting the highest high and lowest low from last candle to 00.00...
I want to get the value of the candle closed at fixed time(ex:0h0'0'),from there I will calculate the value to order. ex:candle close at 0h0'0' :1.2222.bar1=1.2222; so openpriceb=bar1+0.005;openprices=bar1-0.005;if(Ask=openpriceb){ordersend(...)};if( Bid=openprices) ordersend(..); I can do it with...
Heya guys, I´ve been trying to register my signal and share it with you guys, but I never manage to get any signals onto the website, all it says is this, "Your Signal is waiting for first connection. This can take a minute or more. ". A minute, yeah right, I´ve been waiting all day :) I am trying...
May someone help me regarding creating a program for pivot high/low in mql4 ?Thanks in advance.......
  iHighest backtesting problem  (17   1 2)
Anyone that knows what the problem might be? I want the M30 highest value, but backtest strategy using 1H timeframe double =High[iHighest(NULL,30,MODE_HIGH,20,1)]; Are not giving the correct value when backtesting on 1H timeframe. But correct when backtesting on M30
Hi i`m developing an indicator, and i wonder how i could color some bars just like the kumo does, based on my certain criterias.Like in this picture you can clearly see that the kumo is marking an area of consolidation, but the problem is that it is drawing itself only on the candles when certain...
[Deleted]
I have write me a EA wich use Windows Wininet function to send FTp and read files from internet, at my Home PC everythink work good, but when i want to use it on a Windows VPS Server i get always timeout ans shoutdown error. And my VPS Hoster say i must ask the MetaTrader Developer it is not in his...
I make a Save As of an EA because I want to keep that and change the copy. But, after I saved, and don't change the code, the copy don't work. Means, 2 EAs same code. The 1st one work but the 2nd one don't work. Anyone knows why? Thanks
[Deleted]
  To show comment  (1)
Hi can somebody tell me how to show comment on the new trade so when you go to account history and select 'Comments' you will see it in the comments section through code....?
[Deleted]
I only want my strategy to open a position once per day. Is there a way i can check if the order attached to a magic number was previously closed (so that a new order would not open)? Cheers for any help
[Deleted]
Hello, I am desperately searching for someone who can build me a HTTP Request into my existing MQL4 template. Everytime a signal is fired, a request should be made containing the currency and the type (put/call). I am willing to pay per PayPal, please get back to me asap: liam.schnell@gmail.com...
I want to use the offline MetaTrader without the connection for Trading (but it should runs like connected) and the other MetaTrader with Brokerconnection only should for Orderexecution.The transfer should go through a file that is located on a network storage. So I need a solution to get all the...
Hi MQLers, as my broker (or rather, the mobile platform they are servicing) does not support the Traders Dynamic Index (and makes me sad by that indeed), I wonder what is the algorithm behind this index and can it be substituted by a combination of other means (on the chart) which would give (at...
Dear Forum, I want to create an indicator which shows the value for each bar of a mathematical formula. There is something wrong as it's not being painted right. What it could be? extern int     Bars2Compare      = 50;extern string  MainPair          = "GBPUSD";extern string  SecondPair        =...
  Average distance indicator  (11   1 2)
Dear Forum, I'm trying to code a custom indicator which draws a line which is the average distance between two pairs. Below is the code. I don't know why it's not working. I know the Averages function is working correctly: #property indicator_separate_window#property indicator_buffers 2       //...
Hi all, how is expected payoff calculated?
[Deleted]
Hi, does anybody have 1M tick data for Meter Trader 4 ? I need it from 2003 to 2013 I need it to strategy test my EA which has just been programmed. I am willing to pay for the data if its high quality data which can produce 99.9% modeling quality when backtesting. Hope to hear from anybody...
[Deleted]
Hi everyone, I can't find a complete tutorial about programming in MQ4. Do you know any ? I don't understand the use of Bars, IndicatorCounted, etc. Why must I do a loop in the start function while I only have to compute -ONE-dot each time start() is called (for each tick) ? Thanks in advance,...
[Deleted]
Hello to the fellow traders, I am having a serious problem with my mt4 platform, it stops/freezes and loses connection to the server. my server is US-05 Upon trying to restart (ie both the pc and metatrader), ''no connection'' still persists preceded by ''common error''. When it does return to...
  Renting a server for an EA  (71   1 2 3 4 5 ... 7 8)
Please tell me where you can rent a server with a permanent internet connection in order to install an EA there. I'm sure many of them have faced this problem and my first searches didn't yield anything, I found a server rental, but not in that perspective, it's too professional. Thanks
Description: The Expert Advisor calculates everything by itself, i.e. where to open and with which lot. It calculates optimally, so that either to quickly gain positive spreads and close in the black, or, if something goes wrong, to calmly sit out the drawdown. Miracles do not happen, so drawdowns
Hi, I found this stochastics slope indicator at forex factory. It's actually everywhere. But I cannot find an MTF version of this particular indicator. I say this particular because I like this one. I've seen others, but I do not want other mtf stochastics. I like this version. I had a programmer
Hello Friends Friends i want that please can any one make this ea for me for using that ea on ofline chart. Buy if previous 1 candle is buy candle ea open buy order on next opening canlde, Sell if previous 1 candle is Sell candle ea open Sell order on next opening canlde, Exist when one oposit...
Someone has the indicator and oscillator CandleCode developed by Viktor Likhovidov? Could someone develop?
Hi, I just realized that there are two template-folder one on the level of the terminal.exe this one is used for the charts and another one in the expert-folder for what is this folder? Is this one used if I want to create a new indicator for its structure? Thanks in advance! gooly
[Deleted]
  Get Profit  (13   1 2)
Hi can somebody tell me how to calculate profit for all orders in the history ?
New article Marvel Your MQL5 Customers with a Usable Cocktail of Technologies! has been published: MQL5 provides programmers with a very complete set of functions and object-oriented API thanks to which they can do everything they want within the MetaTrader environment. However, Web Technology is an...
It is requested that somebody create an indicatorfor me with following parameters, Thanks and regards in advance 1.      The standard MT4 envelop indicator in theoscillator section should be used 2.      The indicator should indicate envelop prices,both upper and lower by adding spread to upper...
  cannot detect new bar form.  (23   1 2 3)
Hi, I have create a code which detect new bar been form. but seems there is a bug. What i wanted is, when we attach the EA to any chart, if at the time when attach to the chart.... the current bar still not yet finish perform.... it will wait for new bar to begin then alert new bar been form. If the
[Deleted]
while((AB * (GlobalClosur / 100)) > H){ This produces Wrong results while((AB * GlobalClosur / 100) > H){ This produces correct results Is this not the same code ?.. except brackets that I hope the order is prioritized