Download MetaTrader 5

MQL4 and MetaTrader 4 - page 946

To post a new topic, please log in or register
This is a free EA I'm forward testing with some pretty impressive results. Average weekly return (past 3 weeks) 7.3% Drawdown 2.4% www.forexgreenback.com Backtest is a pretty smooth linear curve....
The EA i wrote made 21000+ PIPs, since 10/28/09 My question is: would my EA get the same results in a live account? The EA is trading 23 currency pairs. I had some russians do some analysis, they mentioned that in the demo it is trading sort-of-liquidated pairs, which are not available for trading...
World markets have gone crazy, I'm trading price BreakOutsonly! This indicator is a money making machine! The best investment I ever made as a trader! Membership and EA distribution is capped at 500 tradersbetter be quick. This Expert Advisor program is awesome, trades pricebreakouts only. This...
I've noticed an issue with OrderSelect and OrderHistory Did some tests, and sometimes when I'm writing the data to a file,changing account and writing again, it still writes the data from theprevious account. I guess it's due to MetaTrader's limitations - as I understand it,the history is saved in...
Hi, Does anyone know how I can tell the background color of a window by using MQL4 commands? Thank you.
Hello can some one help me with this EA,, I have not been able to make this EA take any orders
Hi Can some one help me. I have a demo acount with FXCM UK and I can not put any stop loss or take profit in my orders. I tried almost every thing from previous posts but no hope so far. here is my Code: all of these tries failed with error 130 ticket1=OrderSend(Symbol(),OP_BUY,0.1,price,3...
Hi guys, Please assist. I created an alert to alert on first touch of Moving average but it is alerting me on the wrong symbol. I attached it onto AUDJPY but it alerts - EMA touched on AUDCAD DO you know why? Below is the full code:...
Hello how to join two conditions, which the expression? if (l_iclose_28 > l_iopen_4) ????? and if (((l_ihigh_12+l_ilow_20+l_iclose_28)/3) >l_iclose_28) ld_36 = l_ihigh_12 ; thans
Hello, I've used the below formula to display profit (or loss) on an open order. (Obviously the formula is different depending on buy or sell orders) MyProfit = (Bid-MyOpenPrice)*Number_Of_Lots*MarketInfo(Symbol(),MODE_LOTSIZE); This works fine for all orders except for USDJPY and EURJPY when it is...
Hello, I'm looking for an ATR projection indicator that can plot a series of small horizontal lines (bands) for that days period / price action which is a projection of the days trading range at say 50%, 75% and 100% of the range Does such an indicator exist in the publoc domain ? I have a screen...
Hello, I found this great indicator here: https://www.mql5.com/en/code/8641 I often miss trades because it has no alerts when divergence formed. Can anybody help me to edit the code? thank you very much Paulus
When I get this message in the strategy tester what does it mean? Am I doing something wrong because I sure get different results using the same EA parameters as other people, but get totally different results. Here is the message: 2009.11.18 22:54:10 TestGenerator: unmatched data error (volume...
i have a ex4 indicator that generates signals. im wondering if there is a way to scan the curren charts for red or blue arrows drawn by the indicator, and send a 0 and 1 respectively to another EA im writing.
I'm sure this is in the forums ad nauseam, but being new I must ask how does one code the opening or closing of an order assuming it means the condition of an "if statement"? I know about OrderSend() and OrderClose(), but how are they used? How is an order triggered and how is its closing...
Im trying to get my ea to sleep for 1 hour after closing a trade, i use sleep() in live trading but this isnt viable in backtesting so my backtests are not completely accurate. I have opened 2 threads over the past couple of months on this forum about this,and have followed peoples suggestions, but...
hi, i need help in developing an alert as follow price crosses above 20 period EMA (below 20 period EMA) and MACD crosses from negative to positive (from positive to negative). use MACD histogram default setting 12, 26, 9. thanks
Let's say I have GBP/JPY, USD/JPY, and GBP/CHF. I wish to have these currency pairs trade only once so that I would only have three open positions at a time and not have a "free margin error" or margin call. Once a certain currency pair gains profit by closing a position, it will then open another...
How can I put range value in my EA..? example: I want the EA to trigger when Stochastic MODE_MAIN to reach 79 to 80. So the program will trigger EA when the value reach the range value.. Anyone.. please help me with this..
Hello everybody, I am using Rahul Mohindar's indicators and expert advisors in Metastock with great success.Has anyone tried to write the code for these indicators in MEtatrader? Thanks a lot
How can I put the indicator of exponential moving average in a separate window, separate from the candles... Thanks.
Folks, I am trying to make an alarm alert for when a EMA of say 25 crosses over WMA of 160 on a 3 minute chart. The alert would sound 20 seconds before the 3 minutes is finished (if that makes sense) could someone please help me code this. Thanks in advance for your help J
Hi, Is it possible to remove the whitespace between candlesticks? I have been used to using different charts and are only new to MQL4 but would like to set my charts up how I am cumfortable with them. The image shows approx 20% of candlestick width between candlesticks which I want to delete. ie-...
I trade with several proprietary robots and they work pretty well. They tend to get in trouble at news releases (no surprise). I would like to have an EA or Script that would allow me to Enable/disable experts to trade based on the time of day. Maybe 6 different start and end time sets (in hours...
How can I change Font Settings in MetaTrader ? I want change the font size for (Market Watch, Navigator, Toolbox) . for example : Font: Microsoft Sans Serif Font style : Bold Size : 9
hello, was wondering if there would be interest in chat discussions onprogramming. only programmers please as this is not a "how do i dothis" type discussion my thoughts are this, by putting our heads together we might be able tocome up with a good method and talk about methods that has not...
Hallo, please, can enyone help me with my simple EA? I made EA using indicator SnakeBorder, but it don´t work good. I think, I have wrong parametres in iCustom(......), it maybe calculate noncence. I enclose it in appendix. Can anyone please correct my bad EA? Many thanks. Vaclav. email: vaot@seznam...
I want to change the MA indicator color in my EA, the default color is red. How can I do? Thanks a lot..
Pointless as it is, how would I write a program alerting me when the next bar appears? I ask so I can get the values of a moving average when a bar closes and a new one opens. Thanks.
Can someone help me to code an EA with the following rules: 1) price within 20 pips of the daily high/low - that is OPPORTUNITY 2) up/down candle closes 3) up/down candle closes - note the high price of the up/down candle 4) enter long at the up/down candle's high/low price 5) SL and TP options are...