Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1266

To post a new topic, please log in or register
is there any way to clear old Comment(); function that appear on the chart? every time i remove this function the comment still stand annoying me any help pls
Hi, I am using the simple moving average EA. What I would like to find out is how tostop the EA from not trading anymore on the current candle once it has closed position.For example, the moving average i am using is 50 ema and I am using the 1 hourtime interval. When I run the EA and the price...
I completed the LiveUpdate from build 195 to build 196 and closed the platform. When I re-opened the platform, I still had build 195 and I had to update again,and again, and again every time I close and open the platform.  Thisproblem seems to happen with InterbankFX, but not with MIG. Doesanyone...
I'm so happy that the XP_EMAs has played a good game in the first week in September contest! In this thread I am going to reply any questions about this EA like how it works and the best settings/pairs to play with! Let's give it first the chance to pass the September contest then discuss it...
If I have several open positions and my equity drops below 80% of the margin. MTcloses out all my positions at once. This is costing me a large loss in money.MT should only close one position at a time until the margin level is alright.Often closing only one or two positions will fill the margin...
Comment(....) ; Comment(....) ; Only last Comment(....) desplay its string on chart. How Add more than one Comment(....) to Chart?
take a look pls .. it did not expand itself when i maximize the page like it usedto ~>_<~
I have a very simple trade strategy. But I do not konow why it can not run in expert mode. But my indicator work well. Is it possible to " trigger Open Trade and Close Trade " from "indicator"? I only need Open and Close order in indicator. only have a little trade signals in a long time, we...
I want to iMAOnArray(.........) in Expert. but not like in indicator, Arrary typeVariable can not used in Expert, Why? and how to ..... code in bellow: double Buf_1[]; double Buf_2[]; int Start(){ for(i=0; i<=Bars; i++) { Buf_1[i] = iMA(....); //if I Print Buf_1[i], it is 0 always...
I use a signal service but the problem I have is i cant be at my computer 24/7.Is there a way i can take my signals sent to me via email, sms, or website andhave MT execute them? Do i need a special program or can it be done through a script? Any info wouldbe very helpful.
Is there a way to access the "lastlow" and "lasthigh" ZigZagindicator values by using iCustom() ? I use iCustom() to access ZigZag from anEA by this Code. But the value changes tick to tick. The "lastlow" and"lasthigh" values are for the end point of the last drawn line and arefixed values until...
  GRIDMacd With trailling (48   1 2 3 4 5)
Ok, I need some help... I need to ask some coder to add a trailling option to GRIDMacd... is this possible? I know that this is very simple to the masters but for me is very dificult... Hope someone helps!
for(cnt=0;cnt<total;cnt++) compare to (cnt=0;cnt<=total;cnt++)? As I was trying to use CloseAll(), I found that the typical one (first one) providedby CodersGuru didnot manage to close all and one open trade was left unclose. in addition; any different for: OrderSelect(0, SELECT_BY_POS); vs...
I have a few EA written and wish to put it on different for testing, does MetaTrader allowed to do so? I have tried but not sure the outcome is correct. Can anyone tell me? TQ.
HEY DOES ANYBODY KNOW HOW TO CHANGE THE BACKGROUND IN THE INI FILES SO I WOULD BEABLE TO SET SOME NICE PICTURE INSTEADOF THE BORING SOLID COLOR?
Hello I found the file "DDE-Sample.xls" in directory of my n2Trader program. Could you please refere me to relevant documentation or any article about usingthis program as a client or server application? Please also tell me how is this possible to use this program as a Com client orserver....
Can anyone guide me in using EXPERT ADVISORS on METATRADER 4
Whenever I do a strategy tester or do an account history report, the graph is always X'd out. Cannot view for somereason. My computer reads .gifs fine. What could be the problem? Thanks
Hi, if U are good in /currently writing EA from Malaysia, probably we can get intouch to discuss about this language. my e-mail: powellfx@yahoo.com Wish to see U guys!
  Separation Trader (15   1 2)
what is Sleep(1000) means? Thanks.
  GbpJpy Systeme (14   1 2)
Hi, I'm new on this forum and I didn't post before. But I'd like to thank all of you for your great work. I was so happy to discover this elite section with so many good EAs. I didn't try all yet but those I have tried were good! Thank you all! I actually used 2 systems for only gbpjpy. I don't find...
hi anyone have script that forbidden MT4 to execute any trade if the current day isholiday? please kindly share it to me thanks in advance
  Please HELP with EA (16   1 2)
Hello everybody, I am straggling with discrepancies in values between EA and what is shown on achart (when I do a mouse hover). Situation is very weird. I took MACD sample indicatorsupplied with terminal and added Print() line, so that these values will be printedin the Journal. Also, I added...
Hello, I am trying that my EA would calculate automatically the proper lots basedon available margin. ContractSize=NormalizeDouble((((AccountFreeMargin()*AccountLeverage())/Ask)/10000),1); I've placed this line after the start() and before the ordersend. Of course theordersend takes the lot size...
I'd like to start with the following information: There are no questions to twothirds of submitted experts. All experts were tested in the tester on data of differentdata ranges (out of sample). Then the logs were analyzed. 17 experts did not pass the testing with their log analyzing results. In 8...
Hello Guys, Pardon my ignorance, what is profit draw down? In my system my profit is 10 pips and draw is -95. What is -95 draw down means?Thanks for your help
I have this code in AFL: TH =IIf(Ref(C,-1) > H,Ref(C,-1),H); TL=IIf(Ref(C,-1) < L,Ref(C,-1),L); Is It equivalent Ref(C,-1) - yesterday CLOSE in MQ4?
Hi... I think everyone already know about pivot, but this a glance of it R2 = P + (H - L) = P + (R1 - S1) R1 = (P x 2) - L P = (H + L + C) / 3 S1 = (P x 2) - H S2 = P - (H - L) = P - (R1 - S1) Here, "S" represents the support levels, "R" the resistancelevels and "P" the pivot point. High, low...
hi... I have difficulty to write a Expert Advisor so someone please help me to writethis to MT4 code. if yesteday was up (open is lower than close) then today is buy currency when break Resistance 1 and stoploss 30, target is nextresistance (R2) minus 5 pips. if yesterday was down then today...