MQL4 and MetaTrader 4 - page 745

To post a new topic, please log in or register
Hello, This EA is designed to place a number of buy and sell pending limit trades, using the TradesAboveBelow parameter. When the EA loads, it gets the current Bid price and places the specified number of trades above and below that Bid price, all spaced according to other variables. This part...
Is it possible to build an app. which remotely monitors MT4 installations? Here are the features I'd like: ---------------------------------------- MT4 Monitor Service Monitors MT4 installation to ensure up and operational 24/7 Features Runs as service or application either on different machine or...
  MT4 to MT4 (4)
Is there a way to send trades from my terminal(MT4) to another MT4 platform?
How would one modify the daily chart to be based off the London open?
Dear Sirs I am facing a problem with my EA which is, Take Profit is not being activated when hit by the bar as shown on the attached snapshot yellow circle. Can anybody advise what is the reason behind this occurrence and how to resolve this issue. Regards Greenblue
  ordersend() coding help... (35   1 2 3 4)
Hey guys, Really strange but when i run the following code it does nothing. GetLastError() returns 130.    Print("running");   OrderSend(Symbol(),OP_BUY,1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green) But if take the same code and remove the stop & target info it spits out orders just...
Hello Friends Can somebody help me code Stoploss in this good EA Thanks in advance
Hello again fellow coders. I have finished reading this very very impressive article: https://www.mql5.com/en/articles/1572 (titled: Protect Yourself, Developers!) That was an excellent article Sergey, thank you. I was successful at implementing all of those ideas without need for support, it was...
Can someone help me understand why my ea took the following trade? Sell on July 1 @ 17:17 for 1.44657 My EA is telling it NOT to sell if the Stoch is going up. Did I miss something? I have looked at this every way I can... going cross eyed. This is on the 4 hour chart. I don't know how to...
Hey, I am new to MQL (thats why my EA is so simple) and I'm getting this error but I have no idea why... The solution is probably very simple, but I just don't see it. I think the best would be just to post my EA code, thanks for your help! extern int MATimeframe = PERIOD_H4; extern int...
  open order after TP or SL (19   1 2)
Hello, I have tried without success to get an order opened after my current trade stop loss or take profit has been hit. Here are my requirements. I currently enter a trade where my ea sets the stop loss and take profit. I wait for the market to hit either my stop loss or my take profit and when...
  CCI indicator (6)
Does anyone have a CCI indicator that is in a bar format as opposed to a line?
I am trading my strategy for a couple of months now and it is giving me good rewards. Now I tried to code the strategy myselfe (read many books and tutorials) but just cant get it done. I am ready to share the strategy of course with the one who will help me out and code it.
Hello ; the indicator that I create is to indicate if line 1 > line 2 or line 2 > line 1 for all time frame : as you can see on the picture I would like to know if black line crosses over the red one (the indicator on down ) or not : and I calculate the difference : so I must call this indicator...
Hi guys, I just have a simple question. I am trying to use a custom indicator in an EA. What the custom indicator basically does is it adds 2 MAs from two variables that use iMA(), and sends that to a buffer. I then use iMAonArray() on that buffer to get another indicator as a crossover. This is...
Hi! It's me again. I recently opened a thread concerning the problems I had with my version of GetRatesItemValue. But now there is some new strange trouble. (I open this thread because no one wrote a comment in the old one.) At the moment I'm trying to code functions in the dll which have access to...
Hello ; I don't know if you understand my problem but sometimes I have the similar problem . I have 8 buffers ExtMapBuffer but the code need to use another array (2 arrays) here tableau1 and tableau2 here i the code (simple) double tableau1[];double tableau2[];int...
I use this tool to draw angled trendlines and the default value for the line isa ray. I then deselect the ray option to obtain a shorter line. However when Iuse that same tool again for a new line it automatically defaults back to a rayline. Is there a way to toggle that option so that when I use...
I have been working with iCustom and have tested a number of iterations of the parameters of this function and now understand how this function works. In other words, I have tied out the chart results with the EA called results. I though cannot explain why the following indicator does not give me...
Greetings Forex Friends! After spending about half a week on the drawing board, I've found something that seems to work in Excel. Gonna try my hand at coding this sometime today. I manually charted sixteen trades on USDCAD H1 chart between the end of June and the end of August 2011. Results were $6...
Please can someone tell me whats if anything is wrong with my thinking assuning the prices for each pair are correct: Values for 1 Lot: EURUSD 10,000 x (eurusd price) 1.3895 = $13895 GBPUSD 10000 x (gbpusd price) 1.5958 = $15958 EURJPY 10000 x (eurjpy price) 105.79/(usdjpy price)76.135 = $13895...
If i was using candlestick chart type to view the chart then i can't see the line chart on current window is their any script/indicator that can show me the line chart on candlestick chart ( wanted to see both chart type candlestick & line chart on same window ) ?
Is it possible to use multiple time frames within an EA and if so then could you link me to some documentation on it. I want my EA to do this: if 15 minute chart indicator x is giving a buy signal then if 5 minute indicator z is giving a buy signal then open order I am new to expert advisors, any...
Hello ; firstly I would like to represent my indicator like that : it's a great indicator that I found here :https://www.mql5.com/en/code/9402 but my problem is I would like to do the same but instead of moving average, I 'm basing on my own indicator that I call histogramtrend (it' s similar to...
Hi, Has anybody got ObjectGet("objectname", Objprop_Angle) to work? Draw a simple trend line between 2 points and try to get the angle? I don't think this function works but please prove me wrong! thanks
Hello Everyone. I am new to coding, however have been trading a while. I bought and read the "Expert Advisor Programming" book by Andrew Young. I found this very helpful and am currently making a VERY simple EA, however as I said I am new to coding - but want to get into it and give it a go. A...
How can i send/receive messages between MT4 and C++
Hello, I wrote an EA to collect data from MT4 into excel. I need the high, low and the day of the week of an hourly bar.And I use it as backtest . So I set a starting date and an end date. I get all the info in excel. BUT! I get a limit number of lines, only 274 lines of data. Is it possible to get...