Hi, I have seen a cople of threads and have asked myself for the possibility to use an offset local time instead of a server time. This is important when designing indicators that rely on the end of day pricing in particular markets. Having a server End-of-day as GMT-1h gives false results for...
Is there a special reason why the minimum trailing stop is 15 pips? Like a stop, a trailing stop is not garanteed.. so why limit the minimum?
Some of my trading strategies use rather small trailing stops (4 pips!) so the ability to set it to this would be welcome. Certain currencies move very very...
I have code that implements the following two statements from the example code supplied:
If TotalTrades < 1 then (no outstanding positions or orders)
for cnt=1 to TotalTrades (should drop in here if there are any open orders or positions)
However, I'm never seeing 'TotalTrades' getting a...
I have a piece of good news everyone. Oanda recently changed the policy about their API. The change will benifit us with: Free API usage for the first two months. That is GREAT! I can spend that time to port the API for FXFisherman. Sample codes and documents about their API are now opened to...
Has someone developed an external program, expert advisor or script to trade a 'grid' or 'net' trading system?
If so, I would be interested in the code and helping to develop it further.
Thanks for any leads,
Great work on Metatrader BTW.
I'd like to see Metatrader with a multi-level 'Undo' feature.
As has happened in the past, I've set up long term trendlines and the like and have forgotten to unclick them, for one reason or another. Selecting another to delete essentially blows them all...
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...