MQL4 and MetaTrader 4 - page 921

Are there any tools available for helping with setting indentation correctly and allowing an EA writer to see which curly braces are closing which earlier braces (e.g. through using the same colour as in Excel)? I spend a lot of time thinking this through and I'm sure that some of my thinking could
[Deleted]
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 works...
[Deleted]
Can someone help me to find an indicator that can give ma the “moving Average inclination”??? For example, if the moving average is flat it should be around zero… if going up, Positive, if going down, negative. Regards, Fly
i want to look several charts in one windows, after i plate them togeter, the window seems very crowdy, the border frame almost occupy half of the window, that is useless,waste many resouse . how to minimize they or delete them ? thanks
WishfulThinking=iMA(NULL,PERIOD_M1,24,0,MODE_SMA,PRICE_WEIGHTED,-1); pfffff....
HI, Looking for a way to have MT4 draw an arrow on the chart when you exit a trade via the Terminal window. If the exit is via an EA then the ObjectCreate function will achieve this, but what if I want to exit the trade manually ?. Any way to add a marker/arrow at the exit point ? Thanks.
  is this a bug ?  (2)
i use scripts to open orders,and set 20 seconds interval period between two orders,ofter open one .i charge the timeframe, the orders were opened at once, no interval to wait, is it a bug ?
[Deleted]
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...
[Deleted]
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?
[Deleted]
How would one modify the daily chart to be based off the London open?
[Deleted]
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
[Deleted]
  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...
[Deleted]
  CCI indicator  (6)
Does anyone have a CCI indicator that is in a bar format as opposed to a line?
[Deleted]
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.
[Deleted]
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...
[Deleted]
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...
[Deleted]
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 ) ?