Expert Advisors and Automated Trading - page 204

To post a new topic, please log in or register
hi i m from india this is my first post in this forum i just need a EA for a simple strategy BUY= EMA(CLOSE,5) > SMA (CLOSE,20) AND RSI (CLOSE,21) < 40 EXIT= RSI (CLOSE,21) > 80 SHORT= EMA(CLOSE,5) < SMA (CLOSE,20) AND RSI (CLOSE,21) > 60 EXIT= RSI (CLOSE,21) < 30 So pls if anybody...
Hello guys, probably a stupid question, but I did not find a way to get all the tick information for a specific timeframe. For example I want to get all the highs, lows, open and close of a given time frame say M5 from january 1, 2012 to december 31, 2012. Is that possible, to put it in a array or...
I am placing multiple trend lines on a chart via an EA using OBJ_TREND and I want the lines to have a text lablel. I can get a text label by using the OBJPROP_TEXT but there is no control over where this goes it simply goes to the beginning of the trend line position. I want the text label to...
Hello I just programmed my first Multi-Currency EA. Its working but there are 2 thing I don't know how to use. The first thing is to Inizialize the RSI indicator with a changeable Timeframe: Why cant I use the Array mPeriod[s] instead of PERIOD_H1? It gives me an compiling error "mPeriod'- can't...
Hello. I'm trying to experiment with expert advisers and indicators. One main problem I'm having is not being able to use any technical indicator functions when running my script in real time. When I use TIF ( "Technical Indicator Functions") on strategy tester then it works just fine and I get...
Hello I am trying to get Price_High everytick. I want to output Price High to Control Log. My OnTick() function outputs string, "Hello" everytick. How do i output Price High everytick? Actually my final purpose is to get histgram of price difference, PRICE_OPEN - PRICE_CLOSE, monday to friday....
hello The link http://www.metatrader5.com/en/metaeditor/help/mql5_wizard/wizard_ea_generate shows how to create an EA based on the standard library delivered together with the client terminal. Please, someone could answer the question below! There is some article in MQL5community that teaches how...
SystemMQL
Hello, can somebody help me with a open source code example for a MT5 EA that open a Order in EURUSD and GBPUSD when a simple signal happen? I want to make some Test but i dont get a EA working. So the EA need just to open one Order in that both pairs, let us say at every new candel open and close...
Hello everybody, I need help to understand which is the simplest way to get informations abut the time execution of an order. In my EA, order is placed, and results are collected using this code: bool success=OrderSend(mrequest,mresult); Where mresult is a MqlTradeResult structure. From...
I have Master an Slave EA, and i Need if is possible to change something or add in Slave a place where to select TP, and do not close it until it reach TP. Because it open trades and close it between -0.1 and -0.8. So i Need to be able to set TP on it. Can you help me? Moderator edit: DECOMPILED...
Hi all Can somebody help me answer that or have experience with it? How many EA`s is maximum / optimal to run in MT5 ? ( I currently have 4 )  , How many MT5  platforms is maximum  / optimal to run on VPS server ? ( I currently have 3 )  Thank you 
  need help (2)
hello , i have a problem in the code . for (int Path_Counter = 0 ; ; Path_Counter ++)&nbsp;&nbsp;&nbsp;&nbsp;{ FileSeek(File_Id,End_Line_Char+1,SEEK_SET); string File_Str=FileReadString(File_Id,1000000); int End_Of_Line=StringFind(File_Str,"\n",0); End_Line_Char+=End_Of_Line+1;...
hi guys! im.. a newbie (sigh) i didnt really want to bother anyone.. but i cant find anything like it! so, since im waaaaaay to pre-occupied to learn how to write EA's, and since its just an idea, and not really worth spending so much time just to create it, i was wondering... can anyone direct...
Hi I subscribed to a signal successfully with MT5. But the buy / sell signals only sometimes trigger when the price reaches the target amount. Any Ideas would be appreciated. I have been using Visualize to see the signals on the chart and sometimes I have to make trades manually. Thanks Andrew
Dear MQL5 users! I am working with automated trading since many years. We recently started a new project and would like to call the strategy tester from an external program. For example, an external program should use a specific EA, pass parameters to it (such as stop-loss values or many others),...
In MT5 there is a Visualize option to see the signal on the chart. This is not in MT4. Is there some other way to do it? Thanks Andrew
Hi, I was reading a particular thread (link below) about running sequential tests/optimisation and I understand that a configuration file needs to be written and run in a command line. Very simple question - where do I find this command line in the terminal? I have looked everywhere but everywhere...
someone know a machine learning EA ?
Hey Guys, I got a strange MQL error on execution : Error 4753 for a Position not found issue. This error didn t append on all my order request, sometime execution is fine and sometime this error append. I have already google it and the general solution reported for this issue is to use...
Hello Assuming I have an smaHandle piping in SMA values to my smaVals[] array, I need to find the angle of the trend over a specified number of bars in a zoom-friendly manner. I've seen OBJ_TRENDBYANGLE but it looks like it's geared towards price. Does anyone know if there is a more general...
Hello, I have a very simple question. I have posted entire code at very end. /---- Copy latest MA indicator values into a buffer int copied=CopyBuffer(handle1,0,0,4,SmoothedBuffer1); if(copied>0) copied=CopyBuffer(handle2,0,0,4,SmoothedBuffer2); if(copied>0) I understand that...
Hi everyone, I have a small problem if anyone can help me, i build an EA with MQL5Wizard and i would like display the sum of pattern result of my signal.(Short and LongCondition result exactly) In my Ontick function, i test this, but i have an error (folder0 is unknow): void OnTick()  {   ExtExpert...
Hi, I am new to this site and hoping someone can help me, I am looking for a EA trade runner that moves the SL after every 15 minute bar to a set amount below that bar but only if the bar goes the same way as my trade ( example- a long trade, moves the SL only after a rising long 15 minute bar,...
Being new to Expert advisors, i am really stuck here http://www.metatrader5.com/en/terminal/help/tester/tester_settings This manual is using too much technical words for a newbie like me, for example what is forwards and optimization? and taking half or quarter of a custom period? Is there...
I purchased a custom indicator from the MQL5 Market and developed an EA to utilize the indicator. The EA can work as I expected. However, when I was testing the EA in the strategy tester I got a problem: The test execution speed is very slow. Actually the test's speed is as slow as testing the EA...
my strategy testing does not work, it's stoping when I click start, it stay where it is, no activity, you know why ? Is it because of updates of MQL5 ?
I am not able to change the % of deposit to be used or the deviation/ slippage on MT4 if I subscribed for the signal from back end.
I would like to know how to stop a subscription please?
Hi, I just wanted to start programming my (almost finished) forex trading system. I'm not a total beginner in programming, but I've never used MQL5 yet. I've read some tutorials, but I just can't figure out some "basics" I need to know before I can start and I hope you can help me. The main...
Hello, how to get the last date of testperiod from within strategy with MQL5. Thank you