MQL4 and MetaTrader 4 - page 1211

To post a new topic, please log in or register
Can someone suggest what they think might be the best books, articles, websites to read in order to get started in trading? I'm new to forex and understand the very basics, but the terminology has got me lost. I feel like I need to know more before I can effectively start testing and understanding...
I use several indicators and would like to create my own custom indicator that reads variables from the others to send me alerts/sounds when conditions are right to buy or sell. Is there a way to access variables between indicators without having to combine all their code into one? I haven't seen...
Is there anyway to write to a file outside of the MT4 directory using MQL4? The docs indicate FileOpen is restricted to the MT4 folder (actually to a folder within MT4). I need to have an EA write to a file which is served up via HTTP. Thanks in advance for assistance. Bill
Hi, My EA places pending orders (it's channel breakout system). However, once the pending order gets filled and is stopped out, the EA will open another pending order. Can anyone help me to add a function so that the EA only open one pending order during one trading session? On the demo, it works...
  Markettinfo (1)
¿Que me indica el marketinfo? ¿Cómo funciona? (¿what is the marketinfo? ¿How work?
Hi everyone, I would like to be able to re-open the "ALERT" pop-up window anytime after I close it so that, when needed, I can check back the message originally displayed in there. Is this possible and, if so, how can I do it? Thanks a lot!
Hi, Let say on 1 hour chart, Can someone do an alert when closed price >= X value .
Hello, I'm writing one EA that uses one indicator but 3 diferents timeframes. Is is OK to use backtesting with a EA that uses indicators with diferent timeframes ? Thanks, SB
Hi. I'm using MetaTrader4 with Demo Account. I'm writing an EA, and it seems that i can't strategy test with dates older than 2 weeks ago... why? :) Regards Mats, Oslo, Norway
Commodities pairs in Forex - Article by Fernando Botti. Correlation does not imply in chance. Aplace-common one that it was forgotten in times fast-results, is a powerful tool against fallacies in all the areas, mainly in sciencesand finances. Benjamin Disraeli a time affirmed: “It has three types...
Hi, is there an indicator that returns, for instance, the value of the Stochastic Indicator the last time that the RSI Indicator was > 70 ? Something else the “Valuewhen” function in Metastock. Thank you
Often people ask questions how to establish the adviser or the indicator in MT4. But also after installation at many happens, that the adviser does not work. In this roller, just is told and shows, how all this to do. How to setup an Expert Advisor in your MT4
Hi, I've got a simple questions: can I use account information functions in custom indicator ? I mean functions such as: accountbalance(), accountfreemargin() or accountprofit() ? How about such functions as: OrderStopLoss, OrderTakeProfit ? Although they are trading functions but they do not...
SimonTrader
Hi guy. I am a very enthusiastic newby developer. I have a few month mql4 programming experience but lots of year of basic and pascal programming. However I am able to manage pending o istant orders in complex cycles through signals from a large amount of interrelated moving averages and indicators...
I download Getright program from internet. And i download claender article and time.mqh in the right directory. and when i start to add calender article to my meta trader 4, the system download calender to experts/files directory. but it cant show them in chart. And also i configure it that get...
New article Using MetaTrader 4 for a Time Based Pattern Analysis is published. Time based pattern analysis can be used inthe currency market to determine a better time to enter a trade or timein which trading should be avoided at all. Here we use MetaTrader 4 to analyze history market data and...
Hello Every one. Please how do I write the code that will determine if an account is real or demo.
How do you two symbol in any expert. sample OrderSend("EURUSD",OP_BUY,LotSayisi,Ask,Slippage,0,0,"",MAGIC); OrderSend("USDCHF",OP_BUY,LotSize(),Ask,Slippage,0,0,"",MAGIC);
The following code inserts two label objects onto the chart, each containing a commonidentified string, e.g. "_tbeg". When the EA is removed from the chart,I desire to remove all objects created by the EA. So, I'm using StringFind to locatethe text string within the object name. However, when I...
hi guys. Can you please tell me how can I close a opened order after 3 bars have happened? I want to stables a time based close for my orders. thanks
Hi dear friends What was the result of test of forexautopilot robot? I want to buy it.
Is there someone out there willing to help me write an EA? I have a proven strategy but I need assistance writing a trade EA. Thanks.
How can I turn the instant_trendline_filter indicator to an expert advisor? Is it even possible?
HELLO! I would like to know, whitch one is the best (profitable) expert asvisor in www.codebase.mql4.com, for all pairs (M1,M5,M15,...), or for only one pair. What do you think? Please, answer because I realy need help. Thanks and have a nice day!
I want to place stop buy ans sell orders which are 18 pips higher and lower of theprevious day high and low. with 100 pips profit target and 100 pips stop loss order as well as 50 pips trailingstop. Can any one weck this togrther for me, please?
At registration I select which chart and time frame will my EA be running on. Doesit mean that I can select only one currency pair to trade during the championship?If it's not the case can I use my custom indicator to calculate its value fromdata not on the selected chart? Ie. I select the EURUSD...
Hi, can anyone tell me how MACD Sample works on the metatrader platform? What are the results like, good bad? and what kind of currency charts can they be used on?
Hi. I need some help, again, sorry. How must I change the following code lines in order to obtain that the line starts every 30 minutes?: for(i = limit - 1; i >= 0; i--) { if( TimeHour(Time[i]) != TimeHour(Time[i+1]) ) { int t = i ; } opn[i] = iOpen(NULL,0,t); } I...
Ive never seen this problem before.. But sometimes I will get ticks on a chart, and my EA is never triggered.. Ive written tons of ea's and never seen this problem before.. Has anyone else?
hi. i made an indicator that draws price lines. is it possible to make it limited to a certain period only? like from last 2 days until yesterday?