MQL4 and MetaTrader 4 - page 1599

Hi, I'm searching for an indicator that returns the number of executed trades on the last bar (the bar that is forming on the graph). Anyone can help me? Thank you! Alberto
[Deleted]
I need to backup my MT files from an XP machine and restore onto a Vista machine. I have tried copying the entire contents of the MetaTrader folder in Program files and overwriting the same folder on the vista machine, but it makes no difference. The Vista machine must be getting its data from...
[Deleted]
When I try to use Copy & Paste in Vista Home premium, it immediately shows a message that an error occured and windows is closing the program. Is there any solution........... Thanks in advance..
[Deleted]
  exit on psar  (1)
Hi, I just can;t exit on psar in my EA. It does this weird thing where it exits and enters numerous times. Also it exits on will, usually not on first, but on a second change in psar I attached the file for reference int start() { int cnt=0, total; if(Bars<100) { Print("bars less than 100");
[Deleted]
#property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 MediumSpringGreen #property indicator_color2 DeepPink extern int COUNT=5; double HighBuffer[]; double LowBuffer[]; int init() { SetIndexStyle(0,DRAW_LINE,2,2); SetIndexStyle(1,DRAW_LINE,2...
This is a very simple breakout MA based on rapid price deviations from a significant moving average. It is designed to work on the H1 time frame. With the default parameters it is ready to trade EUR/USD, GBP/USD, and USD/CHF. For use with other crosses it is necessary to switch the base MA to a more
Could someone please help me: What I require for my current EA is some code that will "disable" my buy and Sell conditions if: A profit or loss was made on any new days trade. I was thinking in terms of AccountProfit() made today: Thus If AccountProfit for "Today" is Zero, then go to buy or sell...
[Deleted]
  help me on this  (1)
hi if( (RSIbuffer[i+1]<50) && (RSIbuffer[i]>50) ) { thetime=Time[i]; ObjectCreate(thetime, OBJ_VLINE, 0, thetime, 0); ObjectSet(thetime, OBJPROP_STYLE, STYLE_DASH); ObjectSet(thetime, OBJPROP_COLOR, Green); } the objective is to create a vertical line everytime RSI goes below 50. but it seems its...
[Deleted]
example: ---------------- |ABCDEFGHIJ| <------- OBJ_LABEL ---------------- |<-? pixels->| thansk
[Deleted]
please i would to know if a trading works on a demo account
[Deleted]
  Shifting bars?  (1)
I am new to MQL4. Would someone please tell me the reason we would shift bars when using an indicator? Not sure why.
Hi, I remember someone here said he had an EA can follow other EAs actions. A slave EA will read the account, filewrite a file in disk and another master EA will fileread this file, pick up the symbol, open price, SL, TP, etc. then ordersend... I'm just wondering if the master EA fileread the file...
How come the values of the 365 EMA show differently depending on which you use? Alpaari will show one value which is a 60pip difference than interbankfx
[Deleted]
  Mobile trading  (1)
Please, who can advice me on the smart phone or PDA to use for mobile trading at a modest price ?
[Deleted]
  winsock encoding  (1)
i am using a dll in my EA and my DLL listens a port. i want to use the string that is send to my port. my DLL function returns the string as LPCSTR. when i try to show the value with MessageBox function in MQL i just get a number. is there an encoding problem?
[Deleted]
hi if( (RSIbuffer[i+1]<50) && (RSIbuffer[i]>50) ) { thetime=Time[i]; ObjectCreate(thetime, OBJ_VLINE, 0, thetime, 0); ObjectSet(thetime, OBJPROP_STYLE, STYLE_DASH); ObjectSet(thetime, OBJPROP_COLOR, Green); } the objective is to create a vertical line everytime RSI goes below 50. but it seems its...
[Deleted]
  bar 0 or bar 1  (1)
Hi pros,i like to adjust an EA of 2 EMAs to be taking decisions based on the current forming bar,but i don't know the instruction to use,is it bar(0) or bar(1)? please help me .thanks. Willy.
Hello FriendsI tried to use the fib channel from metatrader and found that it does draw channel lines back of the trend rather than in the new direction. Please can some one help with the proper usage>? Thanks Mohamed
[Deleted]
hi. i want to make a red vertical line when e.g. RSI goes down below level 50 and a green line when its goes up above 50 level. but the problem is, next bar can be its RSI still be below 50. so i dont want the indicator to create many red vertical lines every time RSI is below 50. my code is like...
void ModifyOrder(double buyTS, sellTS) { if (Bid - OrderOpenPrice() > buyTS * Point) if (OrderStopLoss() < Bid - buyTS * Point) OrderModify(OrderTicket(), OrderOpenPrice(), Bid - buyTS * Point, OrderTakeProfit(), 0); if (OrderOpenPrice() - Ask > sellTS * Point) if (OrderStopLoss() > Ask + sellTS *...
[Deleted]
Hello phy,i want you to check out this EA to see if you can modify it,i bought the EA and it's working fine but sometimes he have a major lost which affect so much.You can check my attahment for the EA .Try and get back to me in my email when you get it modify ............ Email-
Hi,where can I find MetaTrader 4 build 215 dated 04 Apr ?
[Deleted]
Priscan Investments is looking for an experienced coder that has the ability tocode advanced trading systems into MetaTrader. Payment will be knowledge and permissionto use the latest Priscan strategies and autotrading systems free of charge. Confidentialityagreement will have to be signed on your...
[Deleted]
Dear all; I really want to thank all the participants in asking, replying and writing articles concerning this issue, but the problem that I have is that I made a subscription with vpsland.com windows bases because I know nothing about linux, but sadly for 5 months of subscription I could not find a...
[Deleted]
Hello for all;If I have file with ex4 extension and I don't have the mq4 file how can I get it to make modification on it. Thank you
Support Request: please supply 'how to handle' description for codes 7, 9, 137 ERR_NOT_ENOUGH_RIGHTS (7) waitXsecs+retryXtimes OR considered fatal ? ERR_MANFUNCTION_TRADE (9) waitXsecs+retryXtimes OR considered fatal ? ERR_BROKER_BUSY (137) as per ERR_OFF_QUOTES (136) OR ? Thank you
Hi everyone, does anyone know if my order's comments are visible for the officer who works at the dealing desk of my broker company? Not that I include real top secrets in my comments, but just want to know if they see on their screen all the information about my orders. Thanks a lot!
[Deleted]
How do connection Firbird Database.
[Deleted]
Hello ;Is there any one seen like this indicator whic is in the attachment? and if any one seen it can you send it me please in my email khalid.salha@gmail.com I will be Thankfull
[Deleted]
I've noticed in my live trading that on several occasions the initial move is substantially more than 20 pips. As the program takes profits at 20 pips there is an oppurtunity lost. Does anyone know if you can set a trailing stop above 20 pips (locking in those 20 pip profits) taking advantage of...