Download MetaTrader 5

MQL4 and MetaTrader 4 - page 502

To post a new topic, please log in or register
Can anyone tell me whether it's possible to have MQL4 calculate a moving average of an indicator such as the RSI?  It can be done in MT4 but I don't know whether it can be programmed in MQL4.  Thanks in advance.
Hi there. I guess the subject explains my question. Are there some way to change at the same time, with one click, the Zoom or the Timeframes of all open charts in MT4? Some script or tool... I am talking about to change all the open charts, for example from 1 hour to 15 minutes or other timeframe,...
1. Can I increase font size on chart? 2. Can I set times to my local time zone? 3. Is there a way to see past bars open, high, low, close without having to put the cursor directly on that bar's close? Can I make a data box or something that gives me the ohlc info w/o needing to strain my eyes and...
I have an EA that opens orders based on trendlines I can drag around the chart. I'd like to quickly reset this EA by applying it to a new chart leaving the lines in place. I've writen a simple script to delete certain components, leaving the lines. However, the dupliate MagicNumber (extern...
Hi guys, i tried to get the value of a custom indicator but it failed. I attached the indicator but sometimes it doesn't deliver any values. double Value = iCustom(NULL,0,"HMA_v07",Cross_Fast_Period,0,0);
1. code: ObjectCreate("text_object0", OBJ_TEXT, 2,0,0,0); when it was executed, it is complainde that "unknown subwindow number 2 for ObjectCreate function". I don';t know how to resolve this problem, and why it is; according to my memory, the max number of subwindows is 8. 2. code:...
void start(){                       string _trade_ticker=Symbol();if(_orders>0){               i=0;               double _stop_loss;               for(i=OrdersTotal()-1;i>=0;i--){                  if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES)==false){ continue;}                  if(OrderSymbol()...
Hi again I have a problem with a custom indicator. When attached to a chart it displays inherently a wrong value - it needs to be compiled up to three times to get the correct one (see below: 0,265 vs. 8,50), would be pleased for some help......
Hi  New to coding but not new to FX or EAs !!  I am wanting to try an ea that works like discribed - I feel my logic is right, but its not taking the right trades - basically it ignores the SMA indicator, and every bar is printing in the journal that their is a buy and a sell signal  Which should be...
Hi, I'm trying to create an indicator to label significant highs and lows . I'm stuck on two bits: 1) I think the code below should calculate how many bars to the previous high, but it doesn't appear to be working. This is just a test indicator in a separate window to check my code is working. 2)...
  MT6 (2)
Any idea when MT6 will come out since MT5 does not seem to adopted by many users or Metaquotes will just keep updatin MT4 until it has all the features of MT5 with out the FIFO rules.  if you visit a popular forums like forex-tsd   MT4 has 1300 threads MT5 has 31 threads and half are about 2 years...
  0.06lot... (1)
Hello! I subscribed a signal, and it is take a 0.06 lots, but my mt4 account is no, i dont understand, what is the problem. Can you help me?
Preliminary Announcement of the New MetaTrader 4 Build 480 New MetaTrader 4 client terminal is being prepared for release. Terminal: Added one click trading panel. To show/hide one click trading panel, use the icon in the upper left corner, a context menu command or Alt+T...
Hi Fellas seems as if i have written some bad code... I would like to measure the slope of a linear regression curve in dependence of the relative shift to the current bar, the function actually works but only for i=0, for every other value of i the function returns 2147483647.00 (empty value). What...
  IsDllsAllowed (2)
Hi   I am trying to test if external dll's are allowed in my EA IsDllsAllowed() is always returning false even if I tick the option in preferences - but only on some brokers. I have tried it with Alpari and SVSX but both return false I have tried it with Instaforex and it works fine. All are demo...
#property library void f(int *j)  {    *j = 100;  } I save the above code in a  test.mqh  file. After pressing F5in MetaEditor. The compiler reports two errors: 1) *- comma expected. 2) j- variable not defined.  Can someone tell me what is the problem? and how should i correct this issue? Thanks a...
Good day to everyone, I'm having some trouble in determining the bar where a stop loss or take profit is taken for an order. The strategy that I'm trying to implement states that a new order can only be placed if no older orders were opened or closed (through stop loss/take profit) on the same bar....
ma14 = iMA(NULL,0,14,0,MODE_EMA,PRICE_CLOSE,0); if i want add indicator  Iichimoku or IADX how i can add  Extreme_Spike and MA_Crossover_Histogram how i can find
Before developing Neural Network systems for Metatrader we experimented with Volume Spread Analysis(VSA). What we've done with this trade assistant is taken the VSA trade setups that signal the largest movements in the market, simplified them for the non-VSA expert, and modified the VSA concepts...
Hello Everyone, Is this possible, that client should not Back-test of EA. If any one know, Plz! share this info. Thnx! in adv. 
I've been working on EA's for 5ish Months now, and i finally have one I feel quite happy with (Still not done, I'll never be 100% done untill I achieved the "grail" lol) but i've come to a dilema, now its come down to me being scared to let my baby loose into the real world. I'm not to scared to...
Hello MQL4 community, While browsing the MQL5 market, I found an indicator representing majorities of buy to sell order ratio. I understand in MQL4, volume represents the amount of ticks per bar and not a buy to sell order ratio. I believe this might be a practical method to place order sends/closes...
http://www.metatrader4.com/traders User guide listed there does not work. Guide opens but there's no info. Just says:  Navigation to the webpage was canceled Is there another spot for the user guide?
Please explain me any body How can I start my business? I have a real account and some credit. How can i add my forum account at real account. Thank you.
What 'Volume' (/bar) that is shown at the bottom of the MT4 charts does this actually refer to? 1 - Ticks/bar 2 - Trade volume? If so what type of 'volume'? a - # Lots? b - # Trades? c - Monetary value?  If so, what is used for the 'valuation' of this? OR ???
Hello,   How can I get signals from demo account to my real account? Appreciate for your help.    
Hi there, I m having problems figuring out how to set stoploss and take profit. I have found a few answers online but cant seem to find a solution that works with my problem, and running out of ideas. I can set vaules manually, im using Alpari UK demo account.  I think the minimum SL TK is 30 pips....
Hi, I need help ! I'd test my EA in two computer who have metatrader 4. The problem unexpected are the results: they're différents. I ask why this is the case, because one of the post may be not normal. Thanks
New article MQL5 Cookbook: Getting Position Properties is published at mql5.com: In this article, we will create a script that gets all position properties and displays them to the user in a dialog box. Upon running the script, you will be able to select out of two modes available in the drop-down...
Does anyone know of an indicator like this? Apparently used by hedge funds. It is a standard deviation channel that automatically draws the channel in from the most recent extreme high/low to the most recent extreme low/high over the last (x)...