Download MetaTrader 5

MQL4 and MetaTrader 4 - page 547

To post a new topic, please log in or register
I am having the greatest trouble in finding an indicator/template/script/Ea to put on my MT4 platform for CONSTANT RANGE/RENKO bars (I think they are the same).  I have looked on the online library on 2 MT4 platforms - no joy. Both of these platform helplines don't want to know either. The many...
Hi:  Question about maximum objects for an indicator.   Are the maximum objects limited by the buffers which I read is 8?  I have an indicator that uses a variation depending on the equation - it can range from 4 to 15.   I see that the Zup indicator can output 20-40 objects so I am not sure I fully...
Hello community! I am an absolute rooky in "programming" indicators or expert adisors. I am not a programmer, but I will do my very best for understanding the code, before combining it with code from other indicators. So I am not programmer, but rather a "combiner". :-) But now I have a problem I...
hello traders , i need your help to create simple EA for 5 digit broker if i drag EA to chart : appear input box : order : 0 for buy , 1 for sell TP : i can set the pips value Hedging : i can set the pips value for hedging  ( if i order buy , so this EA will make pending order sell which pipstep...
hi coders, can u provide me bbands stop EA code  thanks 
Hello MT4 Community I have been trading on this platform for a short while now, I trade each time time with fixed parameters for the TP and SL set at 10pips either way. The MT4 platform with aplari allows you to take a snapshot of your trading terminal, but i would like to know how it might be...
Hi hope someone might help me with this query. Instead of having a horizontal line across my entire chart at calculated price levels, I wish to: control the length of the horizontal line; and reference the line's  horizontal position relative to the chart window (not time); andhave the lines...
can we send ask() ,bid(),through sendmail() function??????
Hi, I have created an ea with an OrderModify to add a Stop Loss to an open order, but every time it is executed, I receive a 141 error (too many requests). I don't know why. Can you help me, please? Thank you
  MT4 alerts (2)
Is it possible to receive an alert if the MT4 platform is not open?
Hi all,  This is my first post and I was just wanting to introduce myself. I am an MQL4 programmer since 2008 (trader since 2005), and if there are any traders that want programming done (Expert Advisor or Indicator), you may contact me at: XXXXXX or visit my website a tXXXXXX I would then get back...
Hello, dear friends! There is a lamp for use with MATLAB, for all timeframes with a choice of a long story, which keeps it in OHLCV, and also overwrites it with the new bar. Forgive MACD help with the implementation of this type with a choice of lengths and periods, and if possible even to do so in...
Dear All, I am looking for a EA that works with all currency pairs and is always or at least most of the time LOSING. Please contact me if you are able to help and we will discuss further. Thanks....
  Range bar (3)
how to write if (high-low for current bar)<(high-low for previous bar) ( alert ) how to write it or make it indicator please
Is it possible for anyone to point me in the direction of an indicator that will still stay on my chart and show me the open/high/low/close of the previous bar?
  missing label (3)
Hello Forum Just tried putting together an indicator to show Bid Ask Spread All seems to work nicely EXCEPT, I don't know why my 2nd label is not appearing I'll include a picture, but basically, the 1st Label works nicely and the Word "Ask sits above the shaded spread box But the 2nd label is no...
  My indicator (5)
Anyone help me to identify problem with my indicator. As in the picture, the left red circle is false signal happen when begin new bar. After I refresh the indicator back to normal as in the right red circle.
Greetings, Something doesn't match between the formula result to the graphical plot view. I run an EA routine that notes me when there is a cross event at each of my indicators. The problem is that sometimes (not always), I get the crossing signal from the EA's formula but looking at the graph,...
  Placing several orders (11   1 2)
I am placing 4 orders with spaced TP. Question is which is best  - Place order,  modify order  4 times  or  - Place all orders first  - Then modify them
I greet it really put the indicators into an expert, I will not fail over to (iCustom (NULL, 0, "EXIT.SIGNAL" 0,30,9.0,0,0)) the problem is probably in (int = l_ind_counted_0 IndicatorCounted ();) nieve but how do I replace or how to get data from it to signal to buy and sell I do not know where the...
  4105 OrderModify Error (15   1 2)
Purpose: Add a set stop loss and take profit to all open trades (regardless of currency pair) Problem: This script generates error 4105 when placed on a chart. Invalid ticket for OrderModify function. My demo account currently has an open trade with no stops or limits attached. What causes the...
To back test my strategy is really hard, since its discretionary it is hard to this manually as there are always different ways of seeing things. In order to find the best way to make the system follow rules instead of my thoughts, I would need to play around with rules and create entries in back...
Hi,   I have decided to begin with a simpler approach while I get this programming thing done. I'm a really sloppy trader and automation is a definite goal.  1.  I am wondering if I can improve certain aspects of my manual system while I figure this all out. I am looking to be able to enter an order...
I'm using MT4 Build 445 I have connected to a signal and MT4 has placed the trades, but for some reason its not entering the s/l data on the trade screen it just shows 0.000. Yet if I check the journal it has collected the s/l data with the trade also shows the correct data in account history too....
what is wrong here with this code if(High[0] - Low[0] < High[1] - Low[1]) && if iVolume (0.0.0)>ivolume(0.0.1) alert ("alert") my idea here if range current bar < range previous bar and volume current bar >volume previous bar alert
Hello friends ... I am a novice programmer ... Now after a year I can take on more complex things ... I'm working hard to learn more ... now I'm stuck on something that is not too complicated ... but not out of here ... EA need to have in a list of results (profit) from last 30 operations already...
Hi, I am wondering where I can go to get some strategies in MT4 that are reliable. I have a bunch of indicators preloaded in mt4, since they are preprogrammed why do they not show up in my expert advisor? All I have is MACD sample and a MA EA. I'm not looking for anything  complex that does not...
hello all, just wanna know how to identify start of new candle in mq4 ..seen itime but can't understand it what value it returns.
Hello,   Im trying to fix my EA for 12 hours until now, Every thing going smooth and my orders open as I want to, But I cant get them close if my pair change direction...   Here is it :...