Amongst all the functions listed the OrderSelect is the most confusing. Answers range from time of sending to alphabetical order. I would like to know it from someone who knows it for sure how it works. Here is the scenario. EA has opened 10 pending
hi again, had a doubt on how the prices are stored. correct me if i am wrong. open[0] would give the open price of the bar currently in progress and open[1] would give the open price of the last bar. What about close[0] does keep on dynamically
i wrote this small EA to modify orders. everytime i launch it, the error "invalid ticket for ordermodify" pops up. can someone please guide me where am i going wrong. :( i am really not able to understand how to use the order select
hi all, i wrote this script to set TP and SL for orders. i am getting error uninit reason 0; cant figure out whats wrong :( extern int PipSL = 10 ; extern int PipTP = 30 ; extern double Lots = 0.7 ; extern string BuySell =
Hi everyone, is there a magic number for manual orders? some on this forum have a view that by default it is zero. is it so? is there a reliable way to identify and differentiate between multiple orders placed manually
there is this custom indicator whenever i call it it gets the following value -1.#IND. I checked the corresponding value by cntrl+D there in the data window the value seems to be fine and the indicator is coming out just fine in the indicator window
With the help of forum members i have been able to put together an EA. Now while my EA was running i noticed that every time the EA generated an alert, the journal shows " custom indicator oscillator removed." Just for convenience the
hi all, i just finished writing an EA. the EA works just fine, only that it generates many alerts. every time after the conditions have been met(crossovers) if there is a movement in the 5th digit there is an alert. Isn't the shift field used to take
Hello everyone, i came across a function offered on one of the trading platforms. it is something like this : once an open order has reached take profit the pending order will be closed for that chart. has anyone come across such a script for mt4
Is there a way i can take the values of open and close of every minute from 0000 to 0015 and then for next 15 minutes and so on. without writing a loop with a difference of 15 mins. Is there any such function in mql4. pardon me for my ignorance
hi everyone, So i am working on this code. I am looking to get the prices over a period of 24*60 minutes on a minute by minute basis. Now the iclose function takes symbol, time frame and shift as inputs. i was wondering if there is any way to make
hi all, need a little help the code is: basically its a scalping EA. timeframe 5/15/30 min. the algo is like if certain conds are satisfied enter into trade and exit after a few pips say 10 pips. the EA should compare 10+entry price. i am having