MQL4 and MetaTrader 4 - page 238

To post a new topic, please log in or register
I have no button on shorting, just buy and sell.
I use this line in my ea to open a tradeOrderSend (pair,action,volume(),MarketInfo(pair,MODE_ASK),3,stopLose1,takeProfit1,"",0,0,Green) I recive error: Error unknown symbol name eurusd; for OrderSend function  I test this line in an ea which contains only this OrderSend line it works without any...
When I compail these code i get error missed parameters  OrderSend (pair,action,volume(),MarketInfo(pair,MODE_ASK),3,stopLose1,takeProfit1,,,0,Green); OrderModify(OrderToModify(),,stopLose1,takeProfit1,0,Green); For both i recive this error:  ',' - syntax error, parameter missed But for this one:...
I uploaded the .ex4 indicator to mql4>indicator folder but on the platform the icon of the indicator is grey and I can't apply it in to the chart anyone know how to fix it?  
If you want to fit a parabola (y=ax^2+bx+c) to e.g. the last 3 values of a buffer, you need to solve a system of 3 linear equations. In software like Matlab or R that is really easy to do, but how would you do it in mql4? I guess there is no function for this?
  6th Degree Poly Help! (54   1 2 3 4 5 6)
Let me introduce myself. I'm a database architect (as opposed to a mathematician) with very strong programming skills in all things database (sql, t-SQL, PL/SQL) and have enough skill in non-database languages (C,C++,C#, VB/VBA) to make do. I worked within the confines of the Financial Services...
Hi guys, is possible move chart without using DLL? By use user32.dll functions SendMessageA(..) or PostMessageA(..) I can move chart, virtual key PgUp, PgDw, key F12 etc. But does exist solution with use pure mql4? Thank you.
Hi, i would like to set the webpage on ea while it opens every time. please suggest me to do if possible in mql4? Your support is appreciated.
I've noticed for the past several builds (since 765) that there will be times where the terminal gui will freeze, but the terminal seems to continue placing orders.  In other words, I cannot click on anything on the terminal (it is unresponsive).  But when the terminal becomes responsive again, you...
Hi All,  I wanted to create an EA that would open a trade at specific date and time. I also wanted to add Trailing Stop to it. I made a research on this forum and did not find ready solution. So I tried to mix some EAs. Som efeuterues added correctly. However I have a problem with Trailing Stop that...
Hello everyone, I hope someone can help me with my problem. Now I want to plot a Fibonacci Extention in my EA based on upper and lower Bollinger Bands. The problem is that Fibonacci is following only one band (one price). The secound price remains the same. This is the code which causes the problem...
I have some open trades in meta trader, how do I list all their tickets? All I found in mql documents is about how to get the ticket of a "selected" order before  I have some orders which no one is selected, I need a list of oreders tickets, then I select one of them by first ticket then do some...
Hello. I want to share my 3rd party program which allows to create mql4 advisors with embedded blocks. The main goal of program is to give ability to create advisor with templates and embedded functionality. Main screen of program  Based on added blocks, for example time of play Hours, day of week,...
Hi.  In researching this I see this was once not possible pre. build 600.  My question is whether it is now possible post build 600?  structures and classes ?   My objective is to pass the array values populated in one function into another function with a global declared array?    For example:...
The correlation matrix table and charts are showed together in same page...look like very metcy.how to ignore the chart???? I want show matrix table only...any idea?
DEAR SIR I NEED HISTORICAL DATA FOR ALL FOREX PAIRS , USING DOWNLOAD I HAD DOWNLOADED ONLY FOR 2 MONTHS, SIR I NEED DATA FOR FOREX ALL PAIRS FOR  1 YEAR IN SIMPLE HOW TO DOWNLOAD 1 YEAR FOREX ( ALL PAIRS ) 1 MIN HISTORICAL DATA USING DOWNLODER IN MT4 PLEASE EXPLAIN THE PROCEDURE TO DOWNLOAD
  SymbolSelect() (24   1 2 3)
How do i exactly use symbolselect function?I used it this way it doesn't work String pair="EURUSD"; SymbolSelect(Pair,true); Alert (symbol());  i use alert to see if the symbol is selected but i see it always alerts usdchf by default, Please me with,  write the exactly code which select EURUSD...
Hi there,   This is my first post, so I hope its gonna make any sense :)    How can I have a reversed Array (like a timeseries), and prepend a new element into the Array and throw the last one out (if over max-length).  So Array[0] is the newest value and Array[49] is the last value.. I tried like...
Hi, I am new to this forum and looking for help to load my orders from excel file with the following schemas: Type, size symbol, price and T/P. Any help to guide me to any help to the previous need. Is there any established application for this need available in the market? Thanks and looking for...
Hi.... I use IndicatorCounted () Function  (mql4) . but it return (-1) (counted_bars<0)  every time.....what is wrong? where is problem?
Iflexion company offers high-quality web development services for enterprise and small business.  The company uses only advanced IT technology in development: .NET, PHP, JAVA, RUBY ON RAILS and others. For more information visit Iflexion's website. 
Your support is appreciated..
Hi, I make an EA run from 1 chart. This EA want to get the exact price of all current tradable symbol of that time. 1) I open file symbol.raw to get all available symbol and use function MarketInfo(sym,MODE_TRADEALLOWED); to check if it is tradable. Some symbol that function return 1 but the symbol...
Hi mt4.  I`ve been trading this demo account for almost a year now. It is doing good, and considering the amount of work ive put into it, id like to keep it. But something i did on my machine messed up my terminal. Now everything is reset - all indicators, templates. Good news my accounts are there...
Hi, Is it possible to attach/run an EA while opening a certain chart programmatically? Thanks...
  Search Function (14   1 2)
Have I done something and messed up my settings? I no longer see a search function here. I'm still using Windows XP 
I was wondering if anyone can explain why I would use Time[ ] over iTime, or Open[ ] over iOpen. They seem like they do the same thing, just in a different way.  Sorry if there are already topics on this.
Hello, I have an .ex4 indicator along with .dll. The owner of it says I can only test it in backtesting and is not giving me an option of forward testing without paying upfront (it expires tonight and trades are usually in the morning). Now the results shown in backtest is great and I ran it in...
Hello All, Do we handle redirect process in Webrequest function.   Thanks In Advance Abhishek