Hey, this is more directed to scorpion but i guess its to answer questions other people might have? Is this forum for the bot, where it connects to the forum and posts it? I'm wondering if since it makes so many trades will it make one thread pr day and then post every trade one by one? Thanks in...
I see there are three API's available for download. Are any of these targeted for the client side or are all of them server side? I am not even sure if I am asking the right question here. I am interested in the client side API and developing my own stand-alone programs. Also, I know MQ does not...
Can anyone tell me how to get the current time? CurTime is pretty worthless as the server time is not updated consistantly. Not knocking anything here, but I need to know EXACTLY what time a price tick comes in.
Thanks in advance,
I'm requesting two new functions usable in MQL4:
1) a function to return the margin required for a given number of lots. A lot of experts testing for tradeability based on remaining margin, have to assume the amount of margin that is needed. It would be nice not to have to assume the amount....
How do I limit only one trade per cross when using an expert.
I want to be able to trade the same expert on different crosses on different charts .
So if I am long usd/chf and the gbp/usd gives a sell signal I want it to sell it. Then if Eur gives buy signal for expert to buy that aswell. So i...
How does MT4 Calculate Williams Percent R?
I have tried to dupicate it by using this formula
HC = Highest High [in %R Periods] - Close [today]
HL = Highest High [in %R Periods] - Lowest Low [in %R Periods]
%R = HC / HL * -100
But If MT4 is using a different formula then I would like to know...
I have a question about arrays, specifically when referencing bar arrays.
int h1 = High;
int h100 = High;
returns two values in the series. The first returns the LATEST bar, i.e, today's bar while h100 returns 100 bars ago. So an array of bars counts BACKWARDS from today to...
I have just started using Metatrade, and find it to be a very nice programme. My compliments to the designers. Can I ask what effect does selecting "Draw object as background" have, in Line Properties, for example? I select this option, but can see no difference between this and leaving it in...
There are many trading platforms which haave charts and all have different Time Zones, some GMT, some European, some US EST, and an odd one gives the trader the right to have local times. Is it possible to allow the trader to set as a default the Time Zone that suite the individual.
I need to access daily data from an indicator that is intended to be used in a smaller period.
i.e, How can I get the HIGH price for the day of the current bar, supposing I'm running the indicator in the 5 minute chart?
Another one that I wrote up while developing the Thomas DeMark Pivots
//| DialyPivot.mq4 |
//| These are the days hiest high and lowest low |
Is it possible to provide a vertical Indicator window to the left or right of the price window? This will have a y-axis of price, the same as the price window (scaling the same way) and have a user definable x-axis.
The x-axis can then be used for an indicator related to price. I have a need...
Is there a way to reference bar data (open/high/low/close) from other symbols (charts) within MetaQuotes. For example, let's say I'm working on an algorithm to trade USDJPY and I want to reference the last close price for EURJPY.
Likewise, is it possible to do so with current spread data...
Sorry to post about this again but my newbie-coding brain is having difficulty in figuring out the code structure. What I'm trying to do is to build an array (only) that I'm able to reference from my trading expert, presumably from within a custom indicator. I don't need any display, just...
This morning (May 12, 2005) my automated trading system wants to close USDCHF buy order 1.2149 at server time 15:30:39 and close EURUSD sell order at 1.2716 at 15:30:40. But the system only closes the USDCHF order for me. I have 2 trading systems and apply to the corresponding chart like USDCHF...
I am facing problems in the DDE with MT4. The update of data seems to stop after 4-5 minutes for no reason. The MT3 version works OK however.
Do MT3 and MT4 support COM? this could be helpful for using the RTD command in Excel.