MQL4 and MetaTrader 4 - page 414

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...
[Deleted]
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...
[Deleted]
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...
[Deleted]
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...
Just thought I'd post here to let ppl know about a C# API I'm working on for Metatrader. It is in early stage development, and not fully tested, but if anyone is interested, checkout the install/source here: https://github.com/jseparovic/MQL4CSharp/ It is not designed to be a multi-terminal tool,...
Hi - I want to learn , if anyone experienced here tell me about the CCI indicator I have one question , while adding this indicator inside the Meta Trader - there's option called "period" , changing this option leads to different results (the drawn line) anyone explain what is this option and how...
Hi, all. I want my named pipes to be asynchronous. So I need to use _OVERLAPPED structure as a buffer. here is MSDN description of process: https://msdn.microsoft.com/en-us/50f6680f-900e-4411-a849-ec9a911c9e32 My current implementation does not even compile: //-MS Types:#define PVOID int#define...
Hey guys, a picture says more than 1000 words. Please have a look at both charts. The script works when I use 30 rows but when I use 100 the height of the rows is wrong. But I don't see an error in the calculation. Can someone help me with this issue? This is the script:...
  MT4  (1)
Dear Colleagues, Where can I download broker-neutral Meta Trader 4 and use it with several trading accounts from different brokers? Is that even possible? Thank you.