MQL4 and MetaTrader 4 - page 1151

  SMS LOOP  (4)
Hi please can any one help with sending of sms from mt4, I got it working fine for weeks but then the ea opened another trade strait after closing one, then the sms went into a loop and sent about 50 sms's until my sms account was empty, has any one got any idea how I can stop this, thanks
hello. Please help me to get the recent Parabolic SAR dot value by using this "iSAR(Symbol(),0,0.02,0.02,0)", Correct if my question was wrong. thanks.
[Deleted]
Hi! I have a question about how an expert interacts with many charts at the same time. I have this expert, which closes every order as soon as certain condition is met. The thing is that this is signaled through a variable, and, once every order is closed, I reset this variable to "stop closing"...
I have been trading with one system for 3 months on my real account, and the results are very good. Now I am looking for programmer to make an EA bassed on that system. If somebody is interested I am looking forword to write me back! Anna
I want to check if there are any open OP_BUYSTOP orders and when there are none to place a new buy stop order. But the code does not work. Can anyone please tell me what is wrong with this piece of code? for (i = OrdersTotal ()- 1 ; i >= 0 ; i--) {
Can somebody help me to change minimum pips for pending order ? I got minimum 300 pips in my program. i want to change it to 50pips or less . thank you
[Deleted]
dear all, when any body try to make changes on the program files of Meta Trader 4 that charts should be automatically be stoped working. i want to add these customization. pls can anybody suggest me how i can do this and in which file i need to make changes. pls provide me the solution as soon as...
[Deleted]
Is there any code that restarts MT4 platform. I remember I met in the past but forgot to save it.
[Deleted]
HI, I have an MQL code with me which is DT_ZZ_Impuls_Slope. Can anyone let me know how this works? I am trying to convert this in another platform. I want the description of this Indicator. Thanks,
[Deleted]
Do you get this error message frequently too, when using the forum search function?
-
I use a linear regression indicator (i-Regr) in my EA. Specifically, I use the slope of the linear regression. I define the "slope" like this: slope = MathAbs(1000000*(CurrentReg - LastReg)/Period()); (where CurrentReg is the regression's value at the current bar's close price, and LastReg is the...
I have the following code: double RangeSize = High[1] - Low[1]; Comment ("Range = " + RangeSize) It shows 0.00099000 If i want it to show it in pips (like 9.9pips) . How can i do that? What is the correct if-sentence if i want to ask if RangeSize is lower than 5pips?
Hello, Function ObjectGetShiftByValue( string name, double value) returns bar number by value. As I understood, it could not return negative numbers - it could not return future bars. Or could ? Thanks, Edas
[Deleted]
#property indicator_indicator_window#property indicator_buffers 2#property indicator_color1 Green#property indicator_color2 Red//---- buffersextern int MaxDrawBars=2000;double ExtMapBuffer1[];double ExtMapBuffer2[];int myBars;int tickCounter;int delimeterCounter;double CurrentTick;double...
[Deleted]
All comments appreciated. Been working on a dependable scalping strategy. Will be testing live today.. Looks like it works fairly well.. (pictures attached) I hate waiting for bars =\. I need to figure out how to automate this.. :@ The "Bands" above/below price are stress-price levels. good entry
[Deleted]
Hey all - I've been working on a new EA, but am having trouble with the method of trailing my stop. After a few hours of frustrating work, I still can't determine why the stops aren't being adjusted. The basic principle is to buy once prices close above the 1sd bollinger band and trail the stop up...
[Deleted]
Working with several MT4 Platforms (Forex.com, FXDD, PFG: all 4 decimal quotes) with a newly downloaded platform, i'm getting OrderSend Error 4107 starting March 23rd 2009 when I back test SEVERAL Expert Advisors (including MACD Sample and Moving Average). The price it references in the journal is...
Can someone help me. All the EA I downloaded doesn't trade. For excample: I downloaded Godbot but it doesn't work. Mine broker says that al the options from the account are good. I enable the allow live trading and allow Expert Advisors. maybe I'm impatient but waiting for a weak and no...
My EA trades at a set time. For some reason if the minute is set to 0, the trade gives an "OrderSend() error - invalid price " error on Alpari UK. There is no number reference for the error such as 129. It trades fine on other brokers when the minute is set to 0. I do have a slippage filter, but
[Deleted]
Hello, I am looking for an optimization routine. Can anybody help me??????
[Deleted]
I'm trying to set up an 18 element array of double values where the double values are previously set as variables. However, initializing an array as follows doesn't seem to work: double Levels[18]={H1, HC1, M1, LC1, L1, O1, C1, P1, H2, HC2, M2, LC2, L2, H3, HC3, M3, LC3, L3}; How do I insert double...
[Deleted]
Hi everyone, Sorry for my English, I am French, I hope you understand me. I could not find a similar topic on the forums French, so I hope you can help me. My EA is taking a new position on the same bar at each end of trade, and I would put a delay (in hours ou minutes) between trades. Can you...
i compile an ea to detect orders opened and closed, so i set two arrays to record the order's feature, and compare the difference between them,and can know if an order is open or closed .but i cannot get right result . int torders=0; int data0[50][3]; int data1[50][3]; int tticket=0; int...
[Deleted]
  Problem with iCustom  (20   1 2)
I have a little problem with iCustom which involves a few indicators. When I'm testing strategy TestLukas.mql4 it gives me result (look on image below) but I wanna to send order when arrow down or arrow up appears. What I do wrong ? Thanks for answer anyway.
[Deleted]
My MetaTrader chart seems to be operating in the future. The charts are suppose to be in GMT, correct? Well, since I started a demo account with a new company, my charts show the last candlebar time being 2 hours after GMT. I just looked up what the present GMT time is and it was a little after 10...
[Deleted]
Hi The MQL4 documentation states under OrderSend(): comment - Order comment text. Last part of the comment may be changed by server. What does "last part" mean? If I pass a 4 character string, does the server then "maybe" change e.g. the last 2? Or does it ALWAYS just append after the 4 characters?...
[Deleted]
hay guys.. i am newbie... i am curious and i want to ask.. is there any big different result between backtest and real account?? i mean... what usually problem that we have in real account if we already backtest any EA??? need an answer from the expert :) ehhee... thank you :)
-
Is there something wrong with my keyboard or is only Mouse Navigation available when using the Backtester Settings Tab?
Dear Sir, I need indicator which shows "BUY/SELL" arrows. Logic behind entry as (EXAMPLE EUR USD PAIR) 1) WHEN I OPEN CHART IF MARKET PRICE AT 1.4100 THEN INDICATOR START SHOW ARROWS FROM THAT TIME TO TILL I OPEN THE CHART WITH THE FOLLOWING LOGIC:- A) MARKET PRICE = 1.4100 THEN BUY ARROW SHOULD...
  Simple Question  (2)
I am a beginner. Please tell me if I have this code to create a buy stop order BuyTicket = OrderSend(Symbol(),OP_BUYSTOP,LotSize,BuyPrice,UseSlippage,BuyStopLoss,BuyTakeProfit,"Buy Stop Order",MagicNumber,0,Green); Will "BuyTicket" be assigned a number immediately or only when the Buy transaction is...
This website uses cookies. Learn more about our Cookies Policy.