MQL4 and MetaTrader 4 - page 1552

[Deleted]
In the Documentation it tells me that datetime represents the number of seconds past since 1970. That's exactly what I want. BUT when I attempt to put the seconds past since 1970 into a variable it gives me an error. int _TheSeconds; _TheSeconds = datetime; That gives me an error. All I want is the...
[Deleted]
i'd want know it's possible convert metrader zig and zag indicator in tradestation omega code. 'ZigAndZag' thank you best regards
. How to stop trading after profit made for the current day? Hi. I have a problem. I will code an EA. When a Profit of 20 PIP of the day is taken so the EA should not open any order until the next day. Please help me. Thanks tordi.
I have downloaded the progam but have no direct contact address for support could anybody give me the support address?
I use TimeCurrent()>=StrToTime("11:45") to see whether current time is after 11:45am, but it return different types in comparision. It got the same result when I use TimeCurrent()-StrToTime("11:45")>=0 Thanks for your help.
Anyone familiar with InternetOpenUrlA? It's a function in wininet.dll. I gets the error all the time.
Which indicator is good in showing when to take profit / when the trend is over? Hope for help.
[Deleted]
Hello I'm crating a new EA but i have some questions, first is that everithing betweeen int start{ "PROGRAM" return(0)} will run all the program every Meta tarder Update? so when in metatrader its a 1 pip chane the program automatically run? - Another question is that if every time that program run...
[Deleted]
Hello, I am trying to find a way to modify an existing trade (started by an EA) that can be carried on, or modified by another EA apart from the EA that originated the trade. As it is not yet possible to modify the magic number, is there a work around that I can use to tag a give trade so that a...
5 hours, doubled account, in a 65 pip range. . Blue and Orange lines: the closed (blue) and floating (orange) profit and loss for the trades made on the charted pair. .
This EA never places any trades, can anyone help please ?
[Deleted]
Can someone help me here? Ever since I have been using a new Expert Advisor and modified indicator I havehad several crashes. I do not know how to read a crash report and was hoping someone could tell me ifit is indeed this new Expert Advisor/indicator that is causing the problem. Any help you...
[Deleted]
I am trying to work out a time half way between two times say t1 and t2 using the calculation t1 + (t2 - t1)*0.5. This works fine except when the two times are separated by the weekend (eg t1 is on a Friday and t2 is on a Monday) because the market is closed on the weekend. Is there a way to get...
[Deleted]
Im tring to program a very simple indicator to draw a line and draw a up/down arrow on a candle. I cant figure out how to use those style, index, draw etc. I have a very simple if statement inside Start(), so what else do I need to add before Start(), and within Start()'s if, to draw a line, and...
Who can tell me,How to get the investor password(read only password) of the participant of Championship 2008 ?
[Deleted]
i not remember much... need help. 4 me dict search = feeble example - i abs 'know' is millisecond can get but never think GetTickCount(), i think millisecond. why not 'dictionary search' on help TEXT also? is "millisecond" in text. search not find and it freeze also. must switch tabs. mind me of...
I would like to share my ideas and thoughts related to different stages of developing a profitable and reliable expert advisor. It's available here.
Can somebody help me to write a code based on the following rules: iAC is Green and Stochastic & stochastic signal is above iAC =0 line Thanks in advance Fabio
[Deleted]
Hi Everyone, I have an EA that is based on simple indicators, and it is working perfectly, but i want to improve its performance by adding ZigZag custom indicator to it, but i don't know how to do that. So i need the help of anyone that could do it. Kindly contact me on my e-mail -...
i've just started with metatrader and have a dozen or so freebie EAs, but so far have only gotten one of them to work. The others give me blank graphs and reports. The report will indicate something like 35,345 bars tested, 335 mismatched chart errors, and 0 trades. The date range is about 2 years
  OrderDelete  (2)
Hi when you call the OrderDelete function how do you tell it to delete the arrow the prevoious call to OrderSend has created on the chart. I have an EA that adjusts orders on the start of each new bar and I am getting left with dozens of unfilled order arrows on the chart .... Right now I just call...
In examining problems with an expert I designed, I activated the expert in multiple charts. Within the expert I established a line of code that alerted me to some variables within the expert. I evalutated the results I obtained from a custom indicator with results I was getting from the printed...
New article is published Idleness is the Stimulus to Progress. Semiautomatic Marking a Template: Among the dozens of examples of how to work with charts, there is amethod of manual marking a template. Trend lines, channels,support/resistance levels, etc. are imposed in a chart. Surely, thereare...
[Deleted]
I need help with writing a script to auto trade a strategy I have developed. Please somebody help me. Thanks, dgib1038 dgib1038@yahoo.com
[Deleted]
Can anyone help please. I need EA to stop trading if a trade makes a profit for that month. It should stop trading for that month only, then when the next month arrives, it will start to trade again. I have used timeMonth etc but to no success. It seems to just stop trading all together, not just...
Hello, I use an EA to place orders on multiple accounts and sometimes I get Error #130 Invalid Stops on market orders that have no SL set (SL = 0). How can MT throw a StopLoss error when there is no stop loss set? It doesn't happen on every trade, and not on every platform/account. Any help or...
Can anybody help me to write the indicator like this? How can I see in a separate window indicator with information how much time was to publish information about the currency? With breakdown: 1 /. Left time for the publication of important information: HIGH 2 /. Left time for the publication...
[Deleted]
I NEED ASSISTANCE ON THE CODE LANGUAGE FOR CREATING STOPLOSS. I WAIT PATIENTLY
I would like to implement my EA so that I need to get only one winning trade for the day, and then just wait for tomorrow. Or, to put it otherway; EA should stop trading, if sum of all winning trades for the day is bigger than sum of all losing trades for that day, i.e. we are about one trade's...