MQL4 and MetaTrader 4 - page 933

[Deleted]
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...
[Deleted]
  Value of iCustom  (2)
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);
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()...
[Deleted]
  We should write an advisor.  (66   1 2 3 4 5 6 7)
Need to raelise an advisor, free of charge)). Anyone willing to cooperate? It is very necessary. Write here, or better in ICQ 371364205
[Deleted]
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......
[Deleted]
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...
[Deleted]
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)...
[Deleted]
  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...
[Deleted]
  need some help  (5)
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
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...
  fx market depth  (8)
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...
[Deleted]
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?
[Deleted]
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...
[Deleted]
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)...
Hi, how can i make all the multiple charts i have open automatically evenly fill the main window, even if adding or removing charts it adjusts and re sizes the window so they all evenly fill the main window? thanks a lot
Hi, When I use RefreshRates in asynchronous mode on my EA, function returns False and I receive an error 4054 (incorrect series array using). What could be the cause and how to fix this? Can anyone help?
hi all, need a little help the code is: basically its a scalping EA. timeframe 5/15/30 min. the algo is like if certain conds are satisfied enter into trade and exit after a few pips say 10 pips. the EA should compare 10+entry price. i am having trouble getting the price at which i entered into the...
[Deleted]
  what's wrong?  (15   1 2)
for(i=OrdersTotal()-1; i >=0 ; i--)                        {                        if(OrderSelect(i, SELECT_BY_POS,MODE_TRADES)==true)                                                 {if ((OrderType() == ((OP_BUYSTOP)...