MQL4 and MetaTrader 4 - page 435

To post a new topic, please log in or register
looking for daily advanced camarilla indicator which extend to h8 & l8 i only found daily camarilla extend to h5 and l5 but i want h8 and l8
Hi all Please forgive the long SRC code Disregard most of these functions and variables they are not used and just stuff I wrote for learning. My Maclosetrade() function is not closeing trades when using Close[1] condition. However it does close when using other indicator comparisons like MA crosses...
  why -1 and i-- insead of (11   1 2)
for(int i = OrdersTotal()-1; i >= 0 ; i--) IMO it seems to miss the latest order everytime wouldn't it ? If OrdersTotal() were 4 lets say (4-1)=3 so the (i) would be 3 and the selected order would be -1 of the OrdersTotal or even OrdersHistoryTotal(). This confuses me. The documents suggest:...
New article Liquid Chart has been published at mql5.com: Would you like to see an hourly chart with bars opening from the second and the fifth minute of the hour? What does a redrawn chart look like when the opening time of bars is changing every minute? What advantages does trading on such charts...
Hi, i'm try to code an ea and make it work on period converter Offline Chart. I try to hardcode the Symbol but don't work. It's seems that the Ea don't receive the feed from the offline chart. On the contrary the ea work fine in offline chart like Renko or Range. Can someone give me a solution for...
HiCan we change the time format in mql4 from 2013.09.09 13:15 to 30130909 1315 Any help is appreciated and thnx in advance
I created an EA which uses external dlls..But metaquotes is allowing only ex4 files but not any external dlls to place EA in the market. Is there any way so that  I can load external dlls from a server ?
Hello. Every time I open MT4, the one click trading option always reverts back to being disabled and disappears from the top left of my charts. It does remain enabled, but still disappears if I chose to 'save my personal settings and data at start up' and have it auto login for me at launch. But for...
hi.. please help me fix this logic error.. thanks
Please help me - its all about logic error.. i want it have more profit than loss.. Thanks.. : ) //+------------------------------------------------------------------+ //| This MQL is generated by Expert Advisor Builder                  | //|                http://sufx.core.t3-ism...
I would like to add something to an indicator that I wrote but have not been able to work out how to do it. The indicator currently does two things 1. first, it marks bars with a green or red x that form a swing high or swing low. (It uses a while loop so that swings that have equal highs or equal...
Is there anyway of quickly calculating the profit/loss in MT4 instead of having to go to an external source? The kind of calculator I'm looking for is one like the Profit/Loss calculator on http://www.alpari.com/research-tools/calculators . 
The new indicator I downlaod are into the editor, but don't show up in the terminal. Is there a limit to the number of indicator in the terminal ?
I wonder if anyone else has noticed this. Before the latest release the terminals that I run on my vps, would require little of the CPU. They would take up quite a lot of memory on start up but after a couple of hours they would release at least half of that memory. But since the latest update each...
 I have an ea that if a certain prices reach for each trade it will activate trailing stop loss. It is good when it has only a few trades but when trades are 20 or more the ea is not as efficient anymore and im trading for 8 symbols. Do you have any idea to make it more efficient? Thanks...
Hi, Is it possible to give me a very, very simple example of an indicator that gives a green color when it's rising and red when it's going down: let's say on this buffer: ma[i]=iMA(0,0,10,0,2,0,i); I realize it will need at least 3 buffers: 1 for the value, 1 for the rising (that paints green) and...
Hello, is it possible in MT4 to change a code so that a minimum of trades is a requirement? I want to prevent curve fitting. thx and greet
Hello, i dont find quick a answer in the reference, so i ask here: My proplem is, that i want to know the Trend of different timeframes, but in the chart there is just the last Object. How i seperate the M5 Timeframe from the M30 (First 2 if's vs. Second 2 if's)? I just want to ask if (...)...
Hi. I'm using IsTradeAllowed () in a while loop (while (IsTradeAllowed () == false)) but only makes three attempts, after exit the loop. I would like not to go out of the loop until the order is placed. Can anyone help?  Thanks. 
I want to developed custom GUI like below: 1. Windows with Min-Max button with Close button.  How can create a windows like in MQL4      
As the subjects says, can anyone tell me how to find it? (FxPro Demo)
does any one can solve my problem here ,, i got warning 2;116;C:;'(' - function definition unexpected 2;75;C:;'tipe' - variable not defined 2;116;C:\- function definition unexpected  why i got that problems double j(string m,int n, int tipe) double t=0; for(int i=0; i<OrdersTotal(); i++) {...
Hello everyone! I need help here. I am creating a custom indicator for mt4 platform. This will create a text index on the graph screen. So far so good. My problem is that I want to create a variable using the current value of CHART_SCALE. When you change the zoom on the mt4 screen, the text changes...
Hi, i have a ea which has no problem with the german dax but if i try the same ea with the dowjones it shutdown with the first order. In the log there is a notice that the prices cannot be calculated   2014.11.22 12:56:31.694 2012.07.27 15:31  Bulle 52 WS30,M1: open #1 buy 1.00 WS30 at 12960.87000...
Hi, yesterday, I got a strange error. After lot calculation, I normalize and make a AccountFreeMarginCheck.     double LotStep = MarketInfo(Symbol(),MODE_LOTSTEP);    double Lot = 2.13138833; // I get this value from calculations    double myLot = MathRound(Lot/LotStep) * LotStep;    double AFMC =...
How to modify overlay chart from candle stick to line chart? It is quite difficult to see in candlestick? Can i convert the overlay chart to display line chart instead? Thanks //+------------------------------------------------------------------+//|                                       OverLay...
  Fill Area's (1)
Just checking to be sure: MQL does not have Fill Area's? Like in the Ichimoku?
Is there is possibility runing EA  / .EX4 file on Android Phone..? Are other people need this ..? or just me..?             qiqiqiii
Can someone see why this does not work?  I have added MA's before but this time the indicator will not even load and makes MT4 unresponsive.  Any help greatly appreciated. //+------------------------------------------------------------------+//|...