MQL4 and MetaTrader 4 - page 1288

To post a new topic, please log in or register
Does file created with csv2fxt.mq4 file still works for tesing ?? I created fxt file with this 'simple csv2fxt' script but every time i run test with tick data option selected, test module ofMT4 replace my original file (yes i have recalculate option unticked). I am not sure what is going wrong....
I want to run optimization of my EA where some parameters vary between Start andStop value and one parameter does not vary. However, I want this one parameterto be different from the default value specified in the code ("extern ...").In my example this as the useable account margin - in my source...
Hello, How can i view the history of a tick by tick chart
Has anyone developed an ea for this system?
  File Problem (4)
In a script I: Open a binary file [ fHandle = FileOpen( FileName, FILE_BIN | FILE_WRITE ) ], write several strings [ FileWriteString( fHandle, string ), several times ] and close the file [ FileClose( fHandle ) ]. I get a message "handle 1 does not exist in FileClose". The file hasbeen written...
  Waddah Attar Explosion Indicator (166   1 2 3 4 5 ... 16 17)
NOTE If you are new to this indicator, Ihave started the strategy thread here. I do however also encourage reading this thread for some back ground. Thank you. I found this very interesting indicator created by Waddar Attar on the Codebase site. His take on the use is "Indicator...
Could someone please explain why there is 2 types of history files: .hst files inthe \history folder and .fxt files in the \expert\history folder? Do they contain the same data (same ticks), only different formats? It does notlook so, the number and names of these files (Symbol+Period) do not...
Today, we have launched a beta version of the new function “Similar Topics” intended for quick search of similarmessages. This allows to find answers to frequently asked questions within a short time. Every message can be accompanied with a link to “similar messages”. If you click on that link, a...
  SWAPTYPE = 3 (1)
FXDD server MarketInfo(symbol,MODE_SWAPTYPE) returns 3. What is swaptype=3, it doesn't seem to be documented?
Yesterday, I start a EA with Demo Account, In EA, OrderSend with BuyStop and SellStop for pending orders, two OK, When one of this two pending Orders arrived Open, Ea will delete another. But No any order display at trade windows after one pending order arrived Open. I checked Account history...
Any possibility of adding 10 min bars to MetaTrader 4? Karan
Hi, I am demo trading a system that I believe will work as an EA, I just need someoneto make it for me.  If there is anyone out there who would have a go at makingit for me I would appreciate it.  many thanks, mark
Hi, I'm not a good programmer. Please help me for this indicator. 1) Highest high of N period - N2 2)Lowest low of N period + N2 so inputs are two values: N for the highest high and the other N (N2) many many thanks in advance
I have been trying to find a way of having certain entry conditions happen in aspecific sequence. i.e have the ea enter long1 or short1 then look for long2 or short2 then look long3or short3 dependent on weather but all entries should star with condition1 either long or short. I have attached the...
Is there a way to make MT4 to use 8 hr charts? 8 hrs is a pretty standard period,I was actually quite surprised that MT4 didn't have it by default when I saw theplatform for the first time... If it is not possible at present - is MQ considering adding this period for thenext version? When is the...
hi Rosh, recently I asked someone to code another indicator for me, and I was thinkingof using it to make a trading system, however I noticed a minor problem with thisindicator, I was hoping if you can fix it. It's called the Trail Stop Level indicator,i found it helpful to keep you in the trend, it...
  2d surface? (21   1 2 3)
I have a question. I wrote an EA, so I am testing its performance. I did a littletest with the "2d surface" feature. I've added a dummy variable thatdoesn't change the output in any way. When I select the dummy variable for X andsome other variable for Y every row should be the same color, because...
I want the EA to wake up and react when the chart has moved to a new bar. No reason to run all of this code in circles for ever waiting for a bar close andthen run the logic to make EA type of decisions.
Hi, this is my first contribution to this forum. I back test this EA using pair G/U in TF 4H and the model is Control Points (baseon the nearest.....). The Result from 10.000 become 301.000. I Real test since 2 days ago, I think the back is different from real. my question is how to make this...
hello, I have a problem with order to open by the EMA_CROSS Script from Coders Guru. I often get the message: "Error opening SELL order error 130" of GetLastError()function back. I do not point why, here the code, some changes has I made in the code :...
Hi MetaTrader4 developers, There are several trading strategies that use 10 min bars (see the ones from theTrading Instutute as an example) Granted that you have 1, 5, 15,30 min bars but you do not have 10 minute bars. I am sure it would be a trivial change for you to support this. Can you...
Hi, I found this EA on the Metaquote website. I backtested it with EURUSD data and it seams to make steady profit. I have, as an aditional test of the robustness of the EA, also tried to (over) optimise the EA by putting in an exel sheet, what should happen if the EA was optimised in one month and...
It seems like the pending orders does not always expire at the preset time in abacktest
I have an EA that enters trades based on the Bid / Ask and calculates TakeProfitrelative to fib levels. Sometimes the bid/ask is the same as the TakeProfit. Ina backtest MT4 accepts the trade. Shouldn't MT4 give an error in such a situation?
  Q about MQL 4 (11   1 2)
When using Point in a math function such as *Point or /Point what is being referenced by the use of Point? Thanks Greg
Hello, I am trying to write a indicator that shows the movement of the price in spreads(i.e 1 point of the histogram is one spread) . I have this problem. start() is not called upon scroll of the window. I do somethinglike this: double lowest=Close[iLowest(Symbol(),Period(),MODE_CLOSE...
Hi, h-c is the bearish power c-l is the bullish power I would like an indicator that shows the moving averages of h-c and c-l....In the setting window we will choose the average that works best I use it in some softwares but I don't know meta lanuguage MANY THANKS IN ADVANCE
not the worst bug in the world but still a bug is a bug :) Consider a function like this, residing in the mq4 file of a library: #property library // #include <CommonLib.mqh> string PeriodToStr( int iPeriod ){ switch( iPeriod ) { case PERIOD_M1: return ("1 minute"); case...
  AlexmanConcursExpert (12   1 2)
I wonder if anyone has tried this EA. I found it on the competition site. Most of the associated writing is in Russian or Chinese, so I'm having difficulty working out how to set it up. I have found out that it's for GBPUSD, H1, but there's a library file with it, that I don't know what to do with....
Hey, a question for somebody from MetaQUotes Soft about the bug tracking web pageyou have: I have reported several bugs there but never gotten a reply, not even an auto reply.There is no bug number that is assigned to your bug report, you can't see yourreport later, so you can't really "track" the...