Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1137

To post a new topic, please log in or register
1. Is it possible to change the clock ruller to the local time? or at least to another trading center time (such as London time)? If so Please show how. 2. Is there a way to draw just a line? or alternatively to limit the length of a trend line?
Could anyone help? how to get price value from Andrews pitchfork? manually or indicator drawn? objectget will not work.
Hi,How do you make an oscillator that simply plots the difference between a moving average of a certain period and the price? The code should be easy to write but.. this is not it. What am I doing wrong here??? //+------------------------------------------------------------------+ //|...
The original problem is how to determine if a 2-decimal double number (such as .67 or 2.51) has an even or odd last digit and thereby make it even by subtracting .01 (which is the broker's lot step amount). One recommendation was to use MathMod and/or NormalizeDouble. I don't see how those are...
The MetaTrader menu has a File > Save as Picture > Active Chart (as is) command that manually saves a snapshot of the current chart to a specified directory. How can that be done with MQL4 code?
  dll crash (1)
Hi, I have developed a dll in c++. I then wrote 3indicators which use this dll. For each indicator there was a functionin this dll. when a atach an indicator to a chart, metatrader sometimeschrashes. first the indicator is shon correctly and when I scrolleverything works fine. If I scroll a bit more...
My lotsize calculation on a mini account might result in an 2-decimal double odd number such as .67 or 2.51. How would I determine if the number is odd and change it down to the nearest even number (such as .66 and 2.50)?
Hi We are looking for traders/developers with potential to join a development team building a winning EA. Some may have more experience of actual trading but with some technical development of EA's/indicators; whilst others will be stronger on the technical development. Feel free to email me...
I have been used to draw gann fan in other technical anaylysis software but I dont know how to use it in MT4, those lines look really incorrect when I set a beginning point and ending point, is there any matter with the value? r u guys okay wif gann fan????? Help plz!
Can anybody help me with this. Have developed a strategy which produces profit but it is being killed because a lot of trades are not taken. Maybe someone can explain why I am getting this error and possible ways round it. Thanks all.
I am new to this code writing stuff. But the EMA Cross.mq4. only use the EMA as is its trend. How can I add or change the trend to the LSMA? This trend indicator seems to be more reliable than the EMA or the others that are offer in the MQ4 language. Where does one find the code for this LSMA and...
Hi! I have two strategy in two EA, but I can't inegrated in one EA, because I can't use the correct OrderSelect(). If i have 2 opened trade (1-1 strategy open 1-1 trade) I don't close 2 tarde. Only one and i have error. Invaild ticket. I use "for" and select all opened trade and use magic number,...
i need source code mt4, you can help me! i want coding mt4 for me
troubles using Alpari client terminal download. now it crashes on startup many days and forsure always ask for update but no download done cuz on 218 already. when had MetaQuotes Software Corp sourced download and always just work nice. can i install MetaQuotes download and on server tab of options...
Hey all, All of a sudden yesterday, most of the available symbols disappeared. I only have 5 symbols to display charts of. I went to Market Watch window and right clicked and selected Show All, but nothing happened. The only symbols I have to choose from are EURUSD, AUDUSD, USDJPY, GOLD and...
The following code draws a short horizontal trendline from the top (Close) of the last candle towards the left for about 5 bars. Is there any way to extend the trendline towards the right a few bars beyond the last bar (just a few bars, not into infinity)? objName = "TESTTrendLine"; if...
On the website of the Automated Trading Championship 2008,an article Registration is Coming to Its End has been published. The 19th of September 2008 is the closing date of registration for participation in the third annual Automated trading Championship. Stanislav Starikov, the Jury member from...
  iMA function (1)
Does anyone know what is the maximum number the variable "shift" can take? (i.e. what is the maximum number of moving average history can i call?) double iMA(string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift) Thanks.
Is there an editor feature to do this?
I know that 'Go with theflow 1 & 2' are based on luck strategy, more like gambling, but now 'Gowith the flow 3' is more serious one, I promise. check this out, you all arewelcome to give comment and idea, more brain are better than one! Use the attachedindicator and change the colour, above blue and...
Quick question for an expert advisor. I don't meant to get too untechnical, but I want a trade to open when the RED signal line in the MACD chart goes be.ow the level of the current bar. In my code, in the section for opening a long position, if i write: MacdCurrent>SignalCurrent and...
  Send Error 0 (6)
Can anyone tell me why Send Error 0 is sometimes produced? The Error Codes section of Help indicate it means no error, so why does it show up? Thanks, Deane
Starting from today on the MQL4 Community web site we have launched RSS channelsfor quick and easy notification of its users for the updates and changes on thesite. What is RSS? RSS – is а information delivery service, where YOU can read news in chronological order from YOUR selectedweb sites. One...
Hi, does it mean after today, no more moderator checking?
Hi, i have a problem with my EA: the ea have to open all day at 8:00 and 9:00 orders. The problem is that the ea want to open 2 or 3 or more orders at the same time: in the jornal he writes: TradeDispatcher: trade context is busy. Thank you for Help
Hello, Could the Expert Advisor perceive a keyboard pressing? So could the Expert Advisor get some data during it's operation from the keyboard? Thanks for your help.
Hi if there is no tick in the moderator check box, does it mean there is problem in the EA submission ? How to figure what are the problems? Thanks for advice.
Hello, I have an expert that has string variables that I am generating at runtime and would like to parse these and evaluate it as an expression? How am I able to do this? For example: string strIForce = "iForce(\"GBPJPY\", 0, 13, MODE_SMA, PRICE_CLOSE, 0)"; double iForceDbl = 0; iForceDbl=...
I use iCustom to call an indicator in my EA, when testing it is two slow(more than 20 minutes). I use the Heiken Ashi indicator. Anyone know why it is so slow? When I use an indicator which I create myself, it is very slow too when testing. Thanks.
Hi everybody, I need help on this, if someone know how to fix the problem, please tell me. I´m making a script to open several orders with the same SL and diferent TP, the problem it´s that sometimes it works well and opens all the order and sometimes not given a return error 129 (Invalid price)...