MQL4 and MetaTrader 4 - page 468

 Good afternoon,                         I am simply looking for an indicator which can alert me once any candle closes say 20 pips or more than the previous candle. Would anyone have access to that type of EA? Awaiting your response, Nigel Davis
I've been doing some extensive research these past few days from figuring out how to get mql4 to POST data to a website where PHP will pick up the POST. I've read forums to use webrequest(), but no luck. Thank you in advance!
I'm having problem in increasing lot size after winning (reverse martingale) . The EA worked on backtest environment, but in real trading it's only placing same-lot-size-trades despite winning or losing. I tried selecting the last ticket profit through SELECT_BY_POS as well as SELECT_BY_TICKET. None...
Hi guys, Every once in a while my purchased indy and EA will become inactive (nothing happen when click or drag them on to the charts) so I would delete and redownload. But by doing so I would also lost an activation each time. This happened 3 times already. The first time it happened I wrote to...
Hi guys, Can somebody help me, how can I get the level prices of a OBJ_FIBOFAN object in the current candle? Thank you for your help!
Hello, I have such LINK: http://bhashsms.com/api/sendmsg.php?user=userid&pass=userpass&sender=senderid&phone=mobile&text=alertmessage&priority=ndnd&stype=normal I wrote code: void SMSapi(string userID,string password,string senderID,string phone,string text)   {    int    res;        char...
Hello everyone. I have been trying to turn off visual mode for my Strategy Tester such that I could get the graph results faster. However when I turn it off, I do not get to see anything in the "Graph" tab, its empty. I can see that there are several alerts in the "Journal" tab, but nothing else....
Hello. Because the default timer is not available in mql4 so I decided to write my own timer. To do so I made one second while cycle. Code Shown below void countUp(){int CurrentSecond;if(TimeSeconds(TimeLocal()) == 59)CurrentSecond = -1;elseCurrentSecond = TimeSeconds(TimeLocal());while(true){int...
Is it possible to use the #property ico in mql4 as an image not only in the Settings
Hi Forum, I am a newbie here and started programming respectively adopting existing codes on Friday. I have already concluded several custom indicators and now my DataWindow is more than full and I would have to scroll up and down all the time... The question is: is there a possibility to define...
Hi guys, I am a bit lost with the deinit function (MT4).. I want to close all opened orders when something happen that stop the EA, but seems to not do anything. Here is what I wrote but no closing action : void deinit() {    total=OrdersTotal();    for (cnt = total - 1; cnt >= 0; cnt--)...
I'm using a demo account in MT4 when I use the tester to test the EA it works fine and when I use it with the demo account to test it cant make any trade and gives me the following message 2017.11.23 22:14:07.716 '39005040': order sell market 0.01 NZDUSD sl: 0.00000 tp: 0.68847 2017.11.23 22:14:07...
[Deleted]
Hi, I tried to make a multi time frame indicator based on a trend indicator that I bought, but it is very slow and overloads MT4 platform. I can't find a way to solve...do you have any suggestion? mq4 files attached... "MTF_Indicator" is a 4 multitimeframe lines indicator that change color when the...
Hi, One of my clients does not start anymore on my VPS after VPS had to restart. Why? How can I force the MT4 client to open so that the EA can continue to work? Regards
  NamedPipes for metatrader 4  (17   1 2)
Hello, Can someone share a simple client/server named pipes or other simple solution to exchange data between two metatrader 4 terminals? I tested several scripts. None seem to work.
  refresh tips?  (20   1 2)
I created a button that updates the chart and its objects but is just an escamotage, you have less rudimentary suggestions void Bottom (string nome, string text, int text2, int XSIZE, int YSIZE, int XDISTANCE, int YDISTANCE, color colore, color colore2 ){    ObjectCreate    (0,nome,OBJ_BUTTON,0,0...
I would like to create an indicator that sends me notifications when an indicator changes value, should I create an EA, script or indicator?
hello everyone, I think this maybe an easy problem to solve, but I can't get it to work with out causing an error.    int a=0,i=1;   double test [a][i]; // invalid index value   test[a][i] = 1.35;   Alert(test[a][i]);
[Deleted]
Can someone explain to me how relativedrawdown is calculated on mt4 detailed performance? I understandmaximal but not how relative is calculated.
Hi, I developed a code to calculate a personal indicator. I apply it to 3 simultaneous pairs, presented in the screen in 3 Windows. I intend to maximize the window where the indicator overcome a thereshold and, later, minimize that window when in no longer ok. Exist a comand to maximize and...
Hey guys I'm trying to make an alert for ichimoku when chikou crosses the cloud, but I got no results. Can someone help me? I have this code atm:  if(AlertType==2 || AlertType==3)      {       if(ExtChikouBuffer[rates_total-1]>ExtSpanBBuffer[rates_total-1] &&...
Hi all, I just realize that in backtest, Example AUDUSD 05-10-2017 iLow(Symbol(),PERIOD_MN1,0) return  0.76248 which is the October LOW but that WILL arrive only the 27-10-2017 !!! and of course you need to start backtest from 1-10-2017 otherwise  iLow(Symbol(),PERIOD_MN1,0)  return 0! Do you have...
Dear All, Goodday.  I am currently using the attached script to open multiple pending orders. It can also be used as market orders, but is it possible for me to specify the slippage? something like "enable maximum deviation" in pips size in mt4 new orders box? Thanks.
I am not being lazy here, I have done several searches on this. I have posted another thread Fibo Mania trying to resolve this issue. I need to get the prices on the fibo lines. Now there have only been a handful of people working with code or putting code on this forum that covers fibo. So the...
Hi all, I have a function that checks the time of day in my EA.  It looks like this: void CheckTime(){   static int reset;      if(Hour()==NewDay && reset==1)   {      TradeTime=True;      reset=0;      }   if(Hour()==CloseDay && reset==0)   {      TradeTime=False;      reset=1;   }} NewDay/CloseDay...
hello, My EA auto buy or sell on Gold terminal. When orderbuy or ordersell is close, the lots is higher lots orderbuy or odrersell . I don't know why Max lots orderbuy or ordersell  EA can create is 0.02. How can i to get a lots (0.04,0.08...) Thanks This is my EA...
HI, I am working on own automatic trading system and I have tested RSI idicator - I would like to change it a bit. In MT4, there is RSI indicator and it has below source: //+------------------------------------------------------------------+ //| Relative Strength Index
  OrderProfit  (3)
Hi Couple of simple questions: 1) Is order profit always in the account currency ? 2) To calculate actual (net) profit = OrderProfit() + OrderCommission() + OrderSwap() ? THANKS Paul
Hi, Any one can give an example in how to search for different conditions in two time frame at once for example: I want to be alert IF: 1) SAM (10,20) Crossover in H1 Timeframe. 2) Price above SMA 50 In H4 Timeframe. Any suggestion or advice will be highly appreciated
Hi, I'm trying to cycle through all the symbols that are available in MT4. Not just the symbols that are currently displayed in MarketWatch. I use the following (abridged) code: int numSymbols=SymbolsTotal(false); string symbol=SymbolName(PositionIndex,false); double price=MarketInfo(symbol...