Download MetaTrader 5

MQL4 and MetaTrader 4 - page 896

To post a new topic, please log in or register
Hello. Can someone help me to add a levels tab to the SlopeDirectionLine indicator. I want to build a channel around it. I noticed that the standard moving avarages indicators, not the custom one, has this function. I have tried adding the following, but nothing... #property indicator_level1 50...
Anyone know if migrating to 64bit Vista/Win7 will negate the "not enough memory" issue with MT4 when handling large hst files? HistoryBase: not enough memory 'GBPJPY1' [4438779 bars] I've got M1 data for a number of currency pairs going back to circa 1998 and if I try and do much of anything with...
xxxxxxx yyyyy
Hello, recently i'm facing a problem, i found that eventhough i have stopped the EA, but it will still sending signal like normal..... i'm place my EA in VPS. what is the cause of this problem?
I need to use SendMessage with a whole array of messages; some of them have the normal use of lparam ; but in other cases I want lparam to be a pointer to a string that has to be sent to target window. That means that sometimes I need int SendMessageA(int hWnd,int Msg,int wParam,int lParam); and...
Hello, I am looking for the VPIC- Volume Price Confirmation Indicator or EA for MT4. If anyone could forward some info it would be greatly appreciated. Thank you!
Hi, I am writing the indicator which makes an alert when ma crosses the price. But during the compilation there are two errors - "unexpected token" in the two lines - I underlined these two lines. Could you tell me what should I add to the code that it works? //---- indicator settings #property...
I have an EA that stops out, TS or TP but then it jumps right back in again in stead of waiting for the next reversal . What coding do I need to wait for the next signal . Ray
I'm trying to do a Custom Indicator which I'm told should be quite simple but I'm finding it impossible as I've got no knowledge of programming at all. I want it to sound an alarm if there is a pattern of bullish/bearish/bullish/bearish candles. I think I need something like...
How do i store the the current value of a variable in array element location 0 and the previous bar's value of the same variable in element location 1 of the array? thks.
Hi code experts, My problem is when i made my EA it's work fine but when i add a flag of American session time (to open positions at American market time only but it may close it at anytime) the EA stop working and didn't open any positions. Really I tried to find where is the problem in the code,...
Hi All, I am testing my EA with Broker demo account. The Ea (mistake) have sent 800 email message in less than 1 minute and now (yesterday and today) the client terminal say me "Mail: not enough space for". Now I have corret the sendmail error and I want normalize situation. Is there a method to...
I am creating offline charts. When I open an offline chart, I recieve an error "xxx Database Errrors", in the log file. The offline chart displays correctly, except there are missing bars in the chart, randomly. No pattern to the missing bars. I have accounted for all errors from no history .. and...
How can I query a chart and get the time interval that it is using ?
Can one of you skilled programmers clue me in on a good way to keep arunning total of the loosing trades over a trading session? I would like my EA to count the loosing trades from my trade historybased on magic number and date. I can then have the EA stop trading forthe remainder of the session...
I've been using reserved and designated words and terms in EAs as variables. For instance: I am just using the term 'spread' as a designated varaible within the code as opposed to making it something like 'Spread' or 'SpreadMax'. Good idea or bad?
Добрый день! Прошу подправить индикатор, чтобы можно было менять толщину линий. Исходник прикладываю.
Anyone can advice how we able to set for the fibo instead of solid line to dash line in the chart? Someone have wrote the indicator for the fibo, as per link https://www.mql5.com/ru/code/7985, but i wanted the solid line to change to dash. Any advice how to do it? I tried adding object set as the...
Is there any way to display arrows or other symbols slightly above or below the bars? It seems that I'm being limited to using the high and/or low to get the symbol away from the body of the bar. There's got to be a way to adjust this with code.
Is there any way to set a price bar's color based on some set of conditions. Thanks Gary
Hello I am writing my first indicator and I want to show buy and sell signals with arrows. But somehow it doesn't work, is there anybody who can help me? In this part of code I make a average of the Buffer0. When the direction of the Indicator changes, I want it to give a signal, but it doesn't work...
IGTFX technical analysis USD PLN and AUD NZD The USD dropped for a second day versus the EUR as the most trades increased their bets that the Federal Reserve will keep its target interest rate near zero to sustain a recovery in the world`s biggest economy. IGTFX indoor The EUR rose to 1.3645....
I'm working on creating a free service for traders in which I can write proven manual systems into an automatic EA for people. I have all the experience I need to write an EA just about as complicated as you could ask, however I am missing the knowledge to actually finish this project. I have a...
hi For set one exact Stoploss /TrailingStop /Or TakeProfit / which of the following method is better : - ATR Indicator - Fractal Indicator - SAR Indicator -Other please explain about use selected method and if you have any exact reference send for me . by
Hello everybody,a month ago i find a very useful indicator - Fibonacci Calculator .I still have a good profit whit him.Also i wonder could i change this indicator to become expert advisor.Unfortunately i haven't any experience with MQL4 coding.Could anybody help me to make this advisor?
Hello everybody?                                                                                             I need  EMA indy with angle view....
What DLL file should I import in order to use this function properly on MT4 build 225 (and newer) I would like hear Ask price if trend line will be broken. For example: SpeechText("Price " + DoubleToStr(Ask)); But it can not be compiled under my Meta Trader platform. But why ?
  Gnu R stats (1)
Has anybody here managed to call the R stats engine as an external dll from mql code before? From what I can find it should be fairly straight forward to call from the COM objects but I was just wondering if anyone had done it already. cheers, Aaron.
Hi, In the past few days my excel spreadsheets have been returning errors for all JPY instruments. I am getting N/A for =MT4|BID!AUDJPY. For the others eg =MT4|BID!USDJPY, I get #REF! I cannot figure out why this has suddenly started happening (I have run this sheet everyday for months). Yesterday,...
I was wondering if it is possible to use the size of the MT4 chart as an indicator. Is there some way to grab the chart size in mql4? Thanks in advance!
I have a simple code, which I know isn't technically correct, but still I would like to know why exactly this happens... Below i've used the Bid price. Basically the error is that it doesn't open Long positions, probably because it tries to get it at the wrong price (Should use Ask instead) But! As...
1...889890891892893894895896897898899900901902903...1245