vgoklani14
vgoklani14
Friends

Add friends via their profile or user search and you will be able to see if they are online

vgoklani14
Added topic How does one change the spread used in the Strategy Tester?
It appears that the strategy tester uses the last official spread for each particular currency, and keeps that value constant for the entire duration of the backtesting period. How does one change this value? Does anyone log these spreads
vgoklani14
Added topic How do I simultaneously look at other sectors (instruments) in MT4?
Is it possible to look at other sectors/instruments on m EA in MT4? For example, I would like to monitor the S&P 500 while I trade EURUSD? Thanks! Vishal
vgoklani14
Added topic Is it possible to default the "All History" setting in the "Account history" tab of the terminal?
Hi, I use the OrderHistoryTotal() function in my scripts to output my trade data into a CSV file, but it appears that only recent trade data is processed unless I click the "All History" button in the "Account History" tab. I need
vgoklani14
Added topic Dynamically sized arrays?
Hi, How do you create a dynamically sized array in mql4? Is there a *new* construct? I can't even use a variable to define the array size: int totalEvents = 7; datetime events[totalEvents]; :(
vgoklani14
Added topic How do you modify the order size of a pending order?
Is it possible to modify the order size of a pending order ? If not, any other suggestions? Is there a way of doing an order replacement
vgoklani14
Added topic Check Server Connection
My brokers test server went down this morning, and I didn't notice until much later. How would I create a function to notify me when the server is down? The EA loop is only triggered when there is an incoming tick, but there are no ticks when the
vgoklani14
Added topic STOP orders vs LIMIT orders, when to use which?
Hi, I'm curious, when (or rather how) do you choose to open a Pending STOP order vs a Pending LIMIT order
vgoklani14
Added topic Does "late-binding" require more CPU usage?
Presumably yes, but my cpu meter (i.e. task-manager) is running a lot higher than expected when I make the swtich from static binding (i.e. #include -> #import). Is this the case for everyone else too? Any recommendations on dealing with this
vgoklani14
Added topic Automatically converting pending orders after an open order has closed
Hi, Is it possible to create a pending order that gets converted to a market order only after a pre-existing open order has been closed? That is, I want to create pending orders when my criteria is satisfied, but I only want them converted to market
vgoklani14
Added topic How do I get Volume[0] ?
How do I get the instantaneous volume of the current minute bar? I tried Volume[0], but it appears that the values are being sampled discretely
vgoklani14
Added topic Script to download 1M currency data ?
Does anyone know of a more efficient way to grab 1M currency data via an EA script? This is what I am currently doing, but I was looking for something more clever... int outputCurrencyData( int handle1, string currencyPair, int days=1) {
vgoklani14
Added topic Measuring volatility, and adapting your EA
Hi, I was just curious, how do you most of you measure volatility in Forex? Do your EAs adapt in real-time as the volatility changes
vgoklani14
Added topic very basic #define question
stupid question, how do I do the following in MQL4? #define f(x) x^2 if I can't do this, can I create a function pointer? It seems that function calls are very expensive with the MQL4 compiler
vgoklani14
Added topic launching MT4 with EAs and currencies from the command-line
Hi, I run several (50+) sessions of MT4 simultaneously, and I find the process of individually opening each MT4 with 3+ EAs to be quite tedious. Is there any way to specify which currencies and EAs would run in each session of MT4 from the
vgoklani14
Added topic DLL Imports + MT4 = ?
Hi, I noticed that it's possible to incorporate Windows DLLs into MT4 (I saw the checkbox in the options menu). Just curious, what are people doing with this feature? I would like to have a second window outside the MT4 sandbox showing various
vgoklani14
Registered at MQL5.community