MQL4 and MetaTrader 4 - page 432

To post a new topic, please log in or register
Amongst all the functions listed the OrderSelect is the most confusing. Answers range from time of sending to alphabetical order. I would like to know it from someone who knows it for sure how it works. Here is the scenario. EA has opened 10 pending orders across 5 charts(2 pending orders per...
Hi Support There is a function to insert directly from code an Alert, just like the image here in the bottom? Thanks for reply
Hello, my english isnt the best. I try to generate different EAs to test them on a Backtest. So i want to automate this process. What i nedd is a way to start a Backtest from cmd. You have any ideas for me how to do? Thanks!!
Hi, I would like to submit a request for a very simple EA based on CCI. Please pardon me if my request seems to be very unreasonable or stupid. I would be grateful if anyone can write the EA for me as I have no experience or technical expertise for the same. Requirement: CCI based EA just to open...
I'm getting this warning on this line of code: intCount[intArrayElement++]; Now, I know this gives me the desired affect; it worked in prior builds of MT4. I'm just using an array to count the number of instances of patterns. It's just a warning, but an odd one. Why?
how do I get meta trader to sychronize with ny eastern time zone. I use candle sticks and I would like my daily close to be 5pm.
Hello Everyone, Today I find myself in a quite confusion situation. I use Axitrader and for a long time I use data given by the broker for analysis and backtesting. I got the data by keep pressing HOME button until chart no longer move. I work with H4 of GU. I can get back to 2003. Let call it...
How to differentiate an Open Market Order and a Pending Order? Here I have tried a test code. I'm placing orders using code and checking some parameters. Please tell me which parameter should be checked whether the order is open or pending. //////////Placing a Pending...
hello, i'm trying to code an indicator to give me signals when the bar range is the highest of a specified period. ihighest[iatr ...] doesn't seem to work and i don't know where to start looking. any idea? thanks
Hi I am backtesting a EA on Silver vs USD. So I downloaded the history data in the menu Tools -> history center and download XAGUSD M1 data. Then i start strategy tester, i set the symbol to Silver and start the test, However, MT4 always says : No History data Silver1. What i did wrong here ? Thank...
Hi, i downloaded indicator from market mql4, and i dont arrive to attach indicator in strategy tester, the demo button is not clickable if anyone can help me please thx
I want to get this to work what I wanted to do is, first off I want it to calculate how many bars whent the opposite side on previous ones, it should be incrementing the past bars and checking the way they took to increment me a number (multiplier) to add to my ea. the rest of the ea goes like a...
hi guys :), I'm looking for something like this <Link removed by Moderator> I trade Spreads like 1 Dax long vs 3 Eurostoxx short, just need a tool to manage order entry and P/L Bye Simon ;)
I have loaded and am testing an EA on 26 pair charts in a MT4 account. Whenever i edit the preset file, and save it, i am copying the preset file to all the 26 charts which becomes very time consuming and cumbersome. Is there a simpler way to do this? I want the edited and saved preset file to...
when running an EA you see the orders and tp lines There could be a right click filter feature - where you limit the visual lines shown to orders generated by that ChartID So you could choose to turn this on or off for each chart. i.e. if you have one chart trading long only and another trading...
Hi, I just have started an optimization with: Expert properties -Testing Tab: Optimized Parameter: Custom & Genetic algorithm, and in the EA I wrote: double iniAcct;int init(){        ...        iniAcct = AccountBalance();        ...}double OnTester(){        return( (AccountBalance()-iniAcct) ); //...
I swear the other day I saw a time and sales box pop up (something I did accidentally) in my MT4 platform was I hallucinating it or does something exist?
After the message is shown, I then can log in but all of my chart setting will be gone. I have Mt4 on my iPhone either but it never has this problem. Can anyone help please? Thanks
I need to know the time when my EA started. I looked at the sleep function but is there any way?
  Great EA (2)
Hey, I try to combine two great EAs but I dont understand why the EA actually reduce or rise the StopLoss to Loss. Thanks for help! #define MAGIC 20130704extern string TOOLS = ".............................................................................................................";extern...
I want to draw an ellipse on the chart to the fixed coordinates x1=250 y1=70, x2=250 y2=120 (in pixel). This is the code: ObjectCreate("Insegna", OBJ_ELLIPSE,0,0,0); int x = 250, y1 = 70, y2 = 120, sub_window; datetime time; double price1, price2; ChartXYToTimePrice(0, x, y1, sub_window, time,...
Hi, I have a MT4 demo with pepperstone. And from this afternoon, MT4 hasnt been working for me. It says "Invalid Account" and so I create another account and get the same message.. I downloaded FXCM's MT4 and get the same issue. Just wondered if anyone else was suffering the same, and if not, what...
The problem is that as we don't have H2 H3 custom time frames so am using Period converter to build charts in offline mode its working like a charm but the problem is that when I disconnect the terminal the connection gets broken and I get a lost data gap it is not refreshing or building the right...
Hello there, Since the new build when passing a string to my c# dll I get buggy results. My mql4 code: #property indicator_chart_window#import "ClassLibrary1.dll"   string scanner(string pattern);#import //+------------------------------------------------------------------+int init(){...
There seems to be a problem with reloading of old EAs (compiled with build <= 509) on build 610 of MT4 when the timeframe of a chart is changed. [Also submitted to Service Desk.] In the following example code, the glbLastServer variable is corrupted if an EA is reloaded by changing the chart...
Hi All, Have created simple EA for automated trading but it seems that not easy to achieve consistent profit. Please advise is there any EA in the market that can achieve consistent profit? Manual trading really takes up lots of time of having to sit infront of the PC watching the price movement....
Hello, How can i make backtests with 100% modeling quality ...? Kind regards, Wouter vermeersch
Good afternoon, I've down loaded the new version 600 trader, and i've copied an EA across to it, opened it in the new editor, made the changes it has requested, compiled it, and finally got it into the new Trader. When I try to run it, or drag it into the trading window, it, says that "is not expert...
First of all, I love MT4 and I appreciate the function for using signals to profit from other traders. This is a great system if it works as decribed in the documentation. Please fix these 2 topics: 1. Lotsize percentage can not be < 1% In my journal I see the lotsize value conversion percentage is...
1) actually I am optimizing on b614 and I found a bit a weird thing. The Optimzation-Results-Tab shows the 'old' columns: Pass, Profit, ..., Drawdown $, Drawdown %, Param.-1, Param.-2, ... But if I (mouse-menue) copy-all (Alt-A) and paste it into my excel-sheet I have an additional column between DD...