MQL4 and MetaTrader 4 - page 229

  market newbies  (1)
how do I download free indicators? No market pace on my terminal.
I am testing a simple EA that uses three MA, with the iMA api. When testing it, the chart shows the MA lines.  I would like to color or hide these MA lines. Is this possible?
hej, i would like to 1. create 2. check 3. changeValue 4. delete a Global Variable The Variable shall have the Name of the Symbol and which the ea runs and LOL....example"EUR_USD LOL" how could i archieve this
Hello guys, I cant figure out... After i compiler my coding, it works accordingly but there is 2 warning sign showed and i cant find out what is the problem with it. Hope expert out there can help me out with this problem  if(wt!=Time[0]) {  if(TotalOrder(0)<Max_order && TotalOrder(1)==0 &&...
I want to write an EA that joins the highest points of each candle using a trend line (after the first six hours of a day). I saw the the documentation for the trend line (https://docs.mql4.com/constants/objectconstants/enum_object/obj_trend). This is what I've done: ObjectCreate(chart_ID,name...
I have no coding experience but i will be so grateful if you or anyone out there can help me to code an indicator in form of two horizontal lines base on this info.. 1)  previous bar high-previous bar low=X next bar open price  +  X plot horizontal line at the calculated value high 2) previous bar...
  Error when Enabling DLL  (18   1 2)
Hi, I purchased an MT4 indicator, and I've been told I installed everything correctly... I installed the DLL file in MQL4\Libraries, the EX4 in MQL4\Indicators. Tools/Options\Expert Advisors... Allow DLL Imports, and on the Common Tab of the indicator, I checked off both Allow DLL imports & Allow...
Hi friends, a small issue that maybe is really simple but i don't find the correct loop to achieve it : I need the function to calculate from a pool of orders Buy with same MagicIndex the maximum Lot Size. Example :  Trade 1 : 0.01 Trade 2 : 0.02 Trade 3 : 1.00 Run the function and the result is 1...
Attached: "sdk pivots" indicator for MT4 This indicator plots daily floor-pivots, including pivot-range. It also plots daily camarilla pivots. It also allows for time shifts, and to ignore Sunday hours. So, very useful indeed.  What would make it even more useful would be to have the option/ability...
I have a live account and a Demo account linked for Monitoring , and today i checked and both are displaying this message ( Signal is disconnected from monitoring and unavailable for subscription, please guide me , as i am not that good of a MQL5 user , and had linked my accounts just to have my...
Hello, I tried to write to support department but it seem he/she  doesn't have any idea about the website he/she is working for. I don't know why this employer still work for MQL5 since doesn't have knowledge about services this website is offering. The agent sent me to write about my problem on...
I am trying to use my variable switch_action which is computed in the zmq code (InterpretZmqMessage) and use it in my second function (secondfunction) #property strict#include <stdlib.mqh>#include <stderror.mqh>#include <WinUser32.mqh>datetime LastActiontime;#import "shell32.dll"int...
  Arrow inside button?  (14   1 2)
Never succeeded and tried everything (at least I think so), to create some kind of arrows for up and down instead of texts, inside of a button. I have other text in, in separate button it would not be problem. Is it possible in same button with other text? Here image speaks more ... about the wish....
  newbie
how to trade and use the MT4?
Hy, i am working for a year on my first ea...its a complete virtual trailing stop....there is a problem: the ea shall stalk each order separate and nor cumulated... lets say we buy at broken Hjgh[1] and with new candle we buy again at broken High[1]....Now we got two open Buys with different prices....
MetaTrader 4 update will be released on November 9, 2018 in beta mode. The update fixes errors and improves the platform stability. All traders are invited to join the new version test. To receive the update, connect to the MetaQuotes-Demo server located at demo.metaquotes.net:443. The update will
I use 3rd party tool; if i desable it, tester is not running; there is 35000 bars recorded for m1 please, any help?
can anyone tell me what is wrong in my trailing function it works with Buy only !!!!! //+------------------------------------------------------------------+//| (My)Trailing Stop...
Hello Everyone! I'm quite new here and in the world of metatrader, but I have some questions that I am looking for answer. So, my question or problem is that, is it somehow possible to make separate code/script/bot or whatever other thing that takes some parameters like Price Pair, Trade Value, MA,...
It looks like my static ip address has been blocked from mql5 community. For the last few days I can't log in on mt4 to the community. There is also a red cross on my mql5 account security page next to the box i have ticked which contains my static ip address (Next to the box with the tick in it
#property version   "1.00"#property strict// Required: MQL-ZMQ from https://github.com/dingmaotu/mql-zmq#include <Zmq/Zmq.mqh>extern string PROJECT_NAME = "DWX_ZeroMQ_Example";extern string ZEROMQ_PROTOCOL = "tcp";extern string HOSTNAME = "*";extern int REP_PORT = 5555;extern int PUSH_PORT =...
Good evening all, In order to improve the quality of my alerts I need to calculate the Highest High and the Lowest Low on every day starting from Midnight to any bar on any day, so that would be [i]. I found this thread where Whroeder explains how something like this should be done: https://www.mql5...
I: - turned off anti-virus - reinstalled mt4 - downloaded mt4 from another broker no one started mt4 editor in other way, mt5 editor openned normally( #2018.11.19 17:04 EN reply now, i tried execute as manager, nothhing(
hello i want to check url existence. but even though url exist it return error. i really can't figure out what wrong with it..i think it correct code. but still return error. anyone guide me much appreciate thanks! string cookie= NULL ,headers; char post[],result[]; int res; string
Hi, MT4 loses login info and market login and market apps after Windows restart. After next restart I have to put password to login then put second password to login to Market. Bought apps from Market don't work, so I have to delete them, install them again and assign hot keys to them again.  How...
Hello everyone, I am a little confused why iOBV doesn't return any data with icustom at the moment. When I don't use icustom the iOBV works fine. I am not sure if this #define is correct ( #define OBV_ "OBV.ex4" ) Please advise void statistics()  {   shift=0;pos=0;...
[Deleted]
Hello, I have find a good indicator, but it have a problem 'Low' - constant variable cannot be passed as reference That is the global code : //+------------------------------------------------------------------+//|                                            sp market profile.mq4...
Hello all! I'm trying to make a custom indicator that's able to plot RSI and OBV on the same window so I don't have to load those indicators again and again but I'm having trouble to normalize the value of OBV to fit the range of RSI or ignoring the range of the RSI and just show it relative to its...
Hi All, i would need an help in the program i'm developing. I have an ea that open a position, buy, with a specified magic index (example id:111) After some pips if it is triggered the strategy, it opens a new position always buy and always id:111... and so on anytime the strategy is triggered....
Hi all,I am a beginner at coding and trying to write an percentage SL indicator of MA at mql4. The percentage (double) and MA period (int) will be changable. I take the percentage But i couldnt make it act as SL. Could anyone help me? I want it act as picture.  Thanx P.S: computer is not with me so...