What is the code for MQL4 to know if the order was closed by SL, TP or manually? I am reviewing the documentation but I cannot find how to do it. I hope you can help me
I want my indicator to open and write to 2 files but the indicator opens and writes only to the first file. I use the names and handles like this to write and open the file. First I define variables in the global scope: int handle1= 0 ; int handle2= 10 ; string name1=ABC; string name2= XYZ; then I
Hello I am trying to draw Arrows Based on another indicator's signal from higher timeframe, but the problem i am facing is that it draws the arrow on multiple candles For example : If I check the arrow visibility on W1 timeframe and have the my indicator draw the arrow on D1 timeframe it will draw 5
i get 3 error i dont have the font necessary to run the scrpt on my computer, so i had to trabslate it from russian, i didnt write the code, nor do i know how to write mlq, it is far too comlpicated for me, when i looked into the help folder to try to get an undertsnading, i realized it would be
Hello, I wa looking at some EA builders and I can't figure one thing out. When using a Moving Average , there is a MA Shift cell and a Shift cell. I understand what MA Shift is but not what Shift is. I've seen it in another editor as "Back Shift". Any ideas
I didn't find any ChartGetInteger() function showing if the crosshair is enabled. Are there other possibilites?
hi i am a poor customer but looking for A class coder to code my demand /supply base EA with the help of Demand supply indicator.. plus i also need to add alert in the indicator project is very complicated but i cannot afford more than 60 $ ..project may require 100 $ .. but i cannot afford more
Hi, I this thread I plan to represent some interesting EAs with Casino Games Strategies (Roulette for example). In the 1st version I don't use any technical analysis. The main feature is Money Management for the Roulette. Try to optimize inputs for best performance. Very important parameter is...
Alphabetic Index of MQL4 Functions - MQL4 forum (2009.12.18 08:55) updated for Build 600+ AccountBalanceFileFindFirstIsExpertEnabledSendFTPAccountCompanyFileFindNextIsLibrariesAllowedSendMailAccountCreditFileFlushIsOptimizationSendNotificationAccountCurrencyFileGetIntegerIsStoppedSetIndexArrowAc...
Hi friends, Hope you are doing well. my full question is: How to detect last tick of week for my broker to protect margin against next week possible "Market Gap". In other words by detecting this tick, my EA would be able to put TP/SL or Pending orders when current candle has no more tick to reverse
Technical Support, I have not gotten any response on this issue and I have been battling with it for months now. . I had successfully created and uploaded 2 signal indicators with a custom indicator say for instance custom A indicator and loaded them on Mt4 and it appeared on charts. The first one
Hi, I recently opened a demo account on MT4 (android), and recently installed the PC version. However, I cannot login to my account via the metaquotes-demo server on the desktop version? Any help would be greatly appreciated. Many thanks
Hello moderator/support I have been having some challenges with loading new custom indicators i created for myself onto charts. I found out that ill have to reload and overwrite chosen indicator into the custom indicator build software to enable me create a new custom indicator and load onto MT4. as
Hi Mr Tools, This might not be the right place to post this thread. But since I don't know where else to post it, I posted it here anyway. Would you please be so kind to look into an EA I created ? KST is an indicator I downloaded from this forum. In my opinion, KST has not got the attention it...
hi. I downloaded Demo-MT4 on iPhone successfully and login without problem however i am having login issue on windows desktop . tried many times and believe type correctly the login number and password.. still error 'invalid ' i have no clue what went wrong. thank you for help
Hello, I use an indicator with arrow signals. No, I can't use the icustom function, because it's arrow objects and has no buffer values. I am writing an EA, but how to find out, if the signal is a BUY or a SELL. Thank for helping
I have been having series of issues with my MT4 application. I downloaded platform from the broker and loaded indicators into them and other files/templates. But as time went on it started to slow my PC resulting into sometimes freezing my PC when there tends to be a little volatility in the market
I have this EA program that I purchased. Have been running a test on it since about 5/26/09, so far it looks good, My Stats report, do you think there is enough testing on this to accept it as usable in live trading or should I run it longer before I got live?
Hi, In MT4 Backtest there is always different type of drawdown and i always get confuse which one to notice. Can anyone explain what the difference and which is main drawdown. 1. Absolute drawdown 2. Relative drawdown 3. Maximal drawdown 4. Peak drawdown
#property indicator_chart_window extern string a= "1111" ; string b; int init() { //--- 3 lines --- if (b== "" ) b=a; Print (b); //------------------- return ( 0 ); } ..... I bring down my actual problem to the above simple experiment, and variable b always keeps empty value. It's
Hi, I am trying to use the mtf_ma.ex4 indicator to work in an expert advisor, but it does nothing. The expert advisor works when I have normal iMA moving averages and I tried the hull moving average indicator with iCustom and that works also. The iCustom for mtf ma looks like this: double h20=
Hi Coders, I want to get value of ex4 indicator from iCustom. I am not new to coding and i have used iCustom a lot. But needed to change string input variable in iCustom brfore today. I have attached the Indicator. And this is the code I am using
Why does my EA in MT4 sometimes does not close sell and buy correctly at CCI with value lower then -100 close buy and sell correctly at CCI with value higher then 100 ? The CCI shown in the picture is just the standard CCI in MT4 that I saved as a template to use in a backtest. The CCI used in the
Hello, I believe I am fairly competent in coding expert advisors but coding technical indicators seem to be a whole another challenge. I have attached my code below, if anyone could point me in the right direction I would be grateful. Why isn't my custom indicator showing when I apply it to the
hi below code is export data from mt4 to txt or csv , (1) i want to have all number in 5 digit , now when last number is 0 its donot write it exmpale it write 1.22320 --> 1.2232 ? And also (2) how to make to get 200000 candle info or more candle? and one more quastion (3) right now when the file is
Hi everybody, I wrote the following code to get the indexes from the LSMA indicator on the current bar: index0=iCustom(NULL,0,"LSMA in Color",34,1500,0,0); index1=iCustom(NULL,0,"LSMA in Color",34,1500,1,0); index2=iCustom(NULL,0,"LSMA in Color",34,1500,2,0); but it always give me the same value for...
[Deleted]
hello everybody im looking for a method to save chart data : date; time; open price; close price; and also indicators data Does anyone here know if it's possible to export indicator data from MT4 to a text or CSV file thx a lot ;)
I am getting this message from my broker, because I am using EA robot on my mt4 Dear Trader, You are receiving this email as your MT4 account with login number 1400056682 has exceeded 25,000 server messages and has been blocked due to hyperactivity. We kindly ask you to check the settings of your EA
Hello everybody, I'm trying to find a GUI library that has the following prerequisites: most of the GUI objects in standard library , tab panels, checkbox button I'm asking this because the standard library has a few problems with checkbox click events (desynchronization between click on checkbox
Hi, I'm trying to add the "ary-aind-indicator" to my expert using the iCustom function double Val= iCustom ( Symbol (), 0 , "ary-aind-indicator" , 27 , 0 , 1 ); The indicator is very simple : green bars appears when there is a bullish momentum , and red for bearish momentum. And th indicator
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.