MQL4 and MetaTrader 4 - page 8

To post a new topic, please log in or register
Hello everyone - sorry my first post is one asking for help! There is an indicator that I would like to add a simple alert to (for trading manually). 2 lines are drawn on the chart, and all I want is an alert when the current price either goes above 1 line, or below the other line. I know very...
  MQL4 (2)
I just have a basic question cause I'm new in programming... Is there any way to arrange lines in mql4 when nested operation is used? for example in MatLab when you press ctrl+i all "if" ,"for" and... that are inside each other would be arranged. 
Is it possible to know if the order was closed by 1. normal tp/sl 2. Manual close 3. closed by **pip 4. closed by profit dollers. etc..... Is it possible to put mark (comments?) when CloseOrder? If it is possible to leave a foot print, I think I can know the order was closed by 1 or 2 or 3. Any good...
hi, can someone help me to insert a rectangle coloured object area on this indicator attached like my image?the condition must be this -The rectangle must be with the same withd of the ma segment line(adapt on each timeframe) -height of rectangle is given by the distance between the two lines...
Hello everybody, I am trying to find out the exact formula allowing to compute the required margin to open a trade, given a certain size (especially for what regards metals). I already looked around the web and forum's topics and I found examples. Unfortunately all of them, in some cases, does not...
Introduction Hello MQL5 Community, I am here to share a small amount of knowledge with anyone who may find it useful. Below, you will find a large list of code snippets that can be used to make your first EA! 90% of this has been sourced from online blogs, here in the forum, or the MQL4...
Hello all With regard to the protocol for communicating to a broker from MT4 - ie the communication side of what happens when you place a trade and close a trade, is this documented anywhere? I am trying to find out if there is any difference between trading manually and trading via an EA - ie...
The live update for the build 1160 do not work. Can you help me.
Sorry, this is a temporary entry that will be deleted just to format the below as code on the web in order to make use of the Google Chrome "Highlight all on dblclick" extension. If you know a better place/way to do so please share.-2down...
Hello. How can I make RSI be calculated for all stocks and then I filter stocks by their RSI?
Hi there,   I don't have a MAC, but want to know if it is at all possible Wininet functions on a MAC?   I have an indicator, that I want to use to check if an account is active/inactive via a URL, but WebRequest() is not available for indicators.   I have the following code running successfully for...
Hello Everyone, While I am doing chart analysis I realized that MA, BB and some other indicators does not show on back history bars (even if I downloaded all History data for years , and Activated chart history bars to maximum) it happens when I am using EMA 500 or above, BB 99 or above any...
Hi guys, is it somehow possible to change the default creation of an OBJ_FIBO with only 38/50/61 levels? I tried to delete one level by using OBJPROP_LEVELS but this value is always zero after creating an OBJ_FIBO. Any ideas? Maybe I can change the original code from Metaquotes in the library...
TheRumpledOne is now coding FREE indicators for MT4 I am having a blast!!
Hi, Whenever I generate StrategyTester reports, the equity curve is invariably truncated on the top-right hand side.  Does anyone know how I can correct this problem?  (image attached). Thanks
Hi i got an indicator (which i don't have access to the code) which goes crazy when i scroll far to the left of the chart to get older data to get loaded & displayed. is there a programatical way to "refresh" the datas so that i got original signals not the crazy ones ? when signals "go crazy" i got...
Which is the best MT4 trade copier for sending signals to clients having different brokers ?
How can i Install Metatrader 4 (especially together with the "metaquotes" Filder & " "terminal") in an external Drive?  Everytime i do this, this Folder automatically migrates Back from (D:) to (C:)  Both of These folders which are foundation in AppData Folder will Teleport themsellves Back to the...
How can I read log information at the MT4 terminal simultaneously? Or how do I know when an information record is logged.
Hi everyone, I would like to install MT4 on AWS EC2 or on some other VPS and possibly not on PC and I have some questions to ask: 1.Can I install MT4 on the base level with 1CPU and 1GB of RAM? 2.After 1 year how much do I spend with AWS EC2? 3.Are VPS better than value for money? 4.What OS do you...
I test me EA on my own broker it works okay. But when I send in for validation I get the following : test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading operations test on GBPUSDcheck,M30 there are no trading operations test on XAUUSDcheck,Daily there are no...
Hi ,I am using expert advisor and when i open mobile mt4 to see the trades i see (robot forex 2014 professional ) what does that mean ? I am using EA called golden profit and the name is different !! Does that effect on EA or no   ? 
how can I make an Awesome oscillator Expert Adviser : The conditions of buying & selling plz & thank you
I need a pamm account , is anyone recommend me to there?  I m using this platform with paypal.
I need help programming an Advisor that will make a buy order in the min price of the last candle. Could someone send me the code? Thanks
Hi guys. I use WebRequest function, did add URL to Expert Advisors, and it works. But, sometime MT4 warning me: "Add the address xxxxxxx in the list of allowed URLs on tab Expert Advisors", alothough I added it. (Watch image attached) Anyone know what happened????? Thank you.
How to make an expert advisor / use with the automated trading feature with ex4 file only and without mq4?
Hello I need a help how to lock my EA/Script based on my login account number ? example: my login number in my broker is 12345 , and I want my EA/Script can run only inthat login number. also how to lock the EA/Script that can run in one broker only ? (example: my EA/Script can run only in...
My goal is threefold. 1) Log into and use MetaTrader MQL4 purely from python. I saw using MT4 from Python mentioned here. I don't know how well it works. It's a standalone python library (https://pypi.python.org/pypi/metatrader/0.0.1)  2) Use Python's ML capabilities within MQL4. I saw that here for...