MQL4 and MetaTrader 4 - page 294

Please See My Screenshots.... In My Indicator Texts Are Being Shown Using the Comment function ... See my second attached pic... but what i want is show those texts content something like attached pic #1 I mean what i got is Comment function texts properties can't be changed... like font size or
Hello, dear MQL Forum I am trying to remember my trading plans in the following way: hotkey <ctrl+1> a script that save a template... This is what it does #property show_inputs enum TemplateName{ plan_USDCHF= 1 , //USDCHF plan_USDJPY= 2 , //USDJPY plan_AUDCHF= 3 , //AUDCHF ... plan_SOMEOTHER= 26
  Emergency Stop  (2)
Hi there, does anyone know if MT4 has any kind of emergency stop function ? For example, let’s assume that in case there’s a loss over 100$, or if the balance falls below a certain value, the platform would automatically close all trades and stop auto trading
hi, im using metaqouts 4 there is a way to get data from previous tick ? i want to get the rsi value from previous tick (not previos bar)
hi guys i have a script , this script read a txt file (with this function, i create a global array aGLineReadHSprd[9999] ) //+------------------------------------------------------------------+ //+ Read file with global array aGLineReadHSprd[9999] //+
Hi all, I am having an issue making my ea enter trades. I have modified an EA to enter trades when one signal is printed and the given ema crossover occurs. " if(ZZ_1 > ZZ_2 && isCrossed == 2 && OrdersTotal() < 1) " is the statement I have written. The problem is that the crossover happens after the
hi there is a function that tell me before how many bars conditon was true ? for example : bar since rsival>70 = 23 bars and there is a function that tell about cross over ==true ? for example : i want to send order when cci cross the 100 if i code cci > 100 and i close my position it will send a
Can someone please see why this code is not Compiling. Am studying an online course, where we're making a simple 2 Deviation BB Strategy (for educational purposes). Thanks in advance. Mike //+------------------------------------------------------------------+ //|
Hi all, I am trying to teach myself how to code EAs, and I have decided to code a simple Ema cross over strategy with an ATR stoploss to start with. It should be pretty straight forward but at this stage I can't see where I am wrong, the EA won't pass an order
Hi everyone, I try func NormalizeDouble ( value , digits ) in mql4 but it return double with max 4 digits after float point although i set digits larger than 4. Ex: NormalizeDouble(1.1234567,6) return 1.1235 How can i fix this
hi guys if i draw by hand a rectangle is possible by script have a coordinate in chart and dimention ?? anyone have some example thankz
Hi I am in the process of learning MQL4 and would like to seek advice on how and where to define the functions properly in my EA as I am struggling to get it to work. Below is the general sequence of events I am trying to code. 1. On every tick, count the number of open buy/sell orders 2. If the
There was no problem with my EA, everything was going well until I discovered these facts. First I assume it's a technical problem with hardware, signal stability or maybe my broker. but some of these conditions I have dig deeper and found that it is in Metatrader 4. Is it really like that? can any
Hello, I'm populating the previous 5 indexes of a custom buffer every 5 minutes via a function which I am calling like so: #property indicator_buffers 12 #property indicator_chart_window double ExtBuffer1[]; int OnInit ( void ) { SetIndexBuffer ( 0 ,ExtBuffer1); } void updateBuffer( double &buf[]
Here is my script code. It does not return the proper values. //+------------------------------------------------------------------+ //| Test 2.mq4 | //| Copyright 2012, MetaQuotes Software Corp. | //|...
Hi somebody knows where can I find the ichimoku with displacement settings for mt4? the default version has only 3 inputs it's missing the displacement setting, thanks in advance
  Masterpieces of literary creativity  (93   1 2 3 4 5 ... 9 10)
Very strongly written... The spring sunshine and fresh air tired my legs, so I sat down on a bench. I squinted slightly at the sun and smoked a cigarette. A rustling sound behind the bench awoke me from sweet spring exhaustion. I turned around and saw a boy of about six years old, staring intently
I have an EA (Expert Advisor) that does all my strategy, but I would like that whenever he issues an alert, another indicator copies the alert. Because the automated system I use, it only accepts an indicator as a signal and does not accept an EA (Expert Advisor). Does anyone know or have this code
Hi Good people Hope you are doing well I have an issue which hopefully someone could help me. In a computer A I login as an investor in MT4 platform. In computer B an order executed but in computer A where I login as an investor the trade was not show up immediately in the terminal trade tab. There
Attemtping the fastest tick by tick MT4/MT5 backtest possible; what are your recommendations? Thought about building a gaming PC without the graphics card; is this approach OK
How to remove/clear the candlesticks then put only the indicator in main window? I want to only see the indicator in main chart
  MT4 Files Functions Replacement.  (112   1 2 3 4 5 ... 11 12)
Hi folks, A lot of people asked me and metaquotes forum about file handling functions. I think MT4 have a lot of bugs in those functions. 1- They don't work in backtesting 2- They don't write outside "MetaTrader 4\experts\files" path. Today I opened my Visual C++ and wrote a file handling dll for
[Deleted]
Hello! I need help.  I have constructed an indicator which obtains results for every tick based on 2 other indicators which I call by iCustom function. I pass the timeframe and all the necessary arguments but the problem is that it gives me different results on H4 and H1 scales but the arguments are...
Hi, I codding a custom fibo levels but when i set orders i do not take an answer. The code is here: if ( Fibonacci() == 0.78 ) { OrderSend ( Symbol (), OP_BUYLIMIT, lot, Bid, 3 , StopLoss, TakeProfit, NULL , 0 , 0 , Green); } if ( Fibonacci() == 0.618 ) { OrderSend (
Please is they any build in function in mql4 that has the same function of trailing stop loss of the manual trading? If none please anyone has a code to trail stop loss as the normal one
Quick and urgent question if I partially close an order, does the new order have the same Take Profit and Stop loss as the older one
I have added comments texts using the Comment function... see my screenshot... i want to style it eg: make the font size more bigger?? Can i change the background color of those texts as well as text color
Hi, it gives me an error here... why? ObjectCreate("Arrow"+iTime(NULL,0,0), OBJ_ARROW ,0,iTime(NULL,0,0),Low); [MQL4] Thanks
[Deleted]
Hi all. I want to count number Bars up ( down ) in x (number) bars, plze help me write this code. thanks u
Good morning friends, I am writing a simple table, using moving averages , and I am making a mistake that I cannot detect. I leave you an image in which surely you can quickly see what I am doing, and the mq4 code. Thank you very much in advance, I am very grateful if someone helps me with this