MQL4 and MetaTrader 4 - page 314

To post a new topic, please log in or register
Hello fellow traders, I have here a drawing that I've made for myself to more easily understand how I am to create manual coded Take Profits and Stop Losses. The green X's represent an open order and is called a Point from now on. I have no problem with the actual coding. I find it really easy. But...
all profiles on my meta 4 platform have a mini price terminal and I want to remove them. Please help!!!!!
MY source can't compile an Eorror : Invalid array access   my source string split_line(string& output_array[] , string bufferline , string delimiter)  {     int s = ArraySize ( output_array );     int l = StringLen( bufferline);     int i,c,m,n;     for(i =1 ; i<=s ; i++) { output_array[i-1]="";...
Just wondering if I could pick anyone's brain with regards to prints across ones algorithm?  How would I turn all prints on and off with the "flick" of a button?  Any thoughts, ideas or shove in the right direction would be nice :) 
I want to draw, on a chart, a series of arrows, that will show me the relationship between price and the Ichimoku cloud, for each time frame ( 5m, 15m, 1h, 4h, 1d, 1w, 1m ). That way no matter what chart / timeframe that I'm on, I can see the relationship of the others.    Problem is, depending...
Hello, I looking for good broker for trading with low spread and good broker support live chat and more... and for broker with option to create credit card for clients and withdrawal the profit for the broker credit card. yes i hear have brokers that create credit card for client. Please i want...
Foreword: I am quite new to THIS programming language.  I have the impression that, for most indicators, what I seeon the graph is not what I am getting in the code. So, before I might move tocomplex logic, I went back to the simple cases as I’d need to understand the basis with simple examples I...
  Please Help on Fractals (28   1 2 3)
Please I need your help in coding Fractals. I want the values of four consecutive Fractals: Last but one upper Fractal, Last but one lower Fractal, Last upper Fractal, Last lower Fractal. Thanks.
Hello everybody, I am writing a simple script to do action at some given time, it reads the current time and sleep for some minutes till the event time happens. The problem which I am facing is that after the sleep finishes, when I want to read the current bar details (iHigh) it gives me the detail...
Hello everyone. I wrote my first semi-ea. Meaning that it is discretional in that but i need to be advised whenever the conditions are met.    My problem right now is that the EA keeps sending me signals every hour, even if IT HAS ALREADY SENT THE SAME SIGNAL. THis is what i would really like to...
Hi I wonder if I can create an price alert from IOS devices. So no need to get push msg from desktop
Hi guys,  I am messing about with MQL4 and only recently learned to code. As a project for myself I have decided to create numerous indicators I always wanted starting with an MA angle indicator. The code I have created is as such however it is not working an the MA angle constantly returns 0. Could...
traderdeluxe
Theres no chance to get the Metaquotes ID on my S5mini. I got it on my Nexus Tab, but there is no "menu" button or something on S5 mini. Please help Thx
Hi  I am totally new to MQL4, but I am learning. What I want to achieve is to execute a Python script when a certain event occur.  I got the event and everything done, but I can't seem to get the MQL4 implementation working, so I can in fact execute it. This is the last piece in my puzzle. So I've...
I'm trying to follow this article about forecasting. But when I ran my indicator in a chart it was supposed to plot a trend line and n periods of prediction, but nothing shows up.  The code is originally made for MQL5, but when I compile it in MQL4, no error messages are shown, so I thought...
This is the one that i created, which does not work properly.  The thing is, it has to open 2 positions sell and buy at the same time, after every hour (no matter what) (every new H1 bar). In case if you need it anyway : TP is 100 SL is 50. Any replay and advice will be accepted and appreciated! You...
Does anyone have any suggestions on how i obtain a mq id so i can post a job for a ea. I dont use a mobile device but only mt4 desktop, can anybody help?
Is that possible? Im talking about the same object. Greetings.
The documentation for print (https://docs.mql4.com/common/print) says: "It enters a message in the Expert Advisor log." Where can I find this log?
Hello, I want to create OrderCollection class, which represents list of Order instances and which I can iterate. I have this code: class OrderCollection {     public:         Order orders[];         int pointer;         int size;                 void OrderCollection()         {...
Guys, how can I avoid open orders with ffcal newsfilter on "All Day" high news like below? Is this happen when <forecast/><previous/> have empty values (see below) f. ex.if(MinToNews<=MinsBeforeNews &&  ImpactToNews>=MinimumImpact && forecast==NULL && previous==NULL)<event><title>Eurogroup...
Hi, I am new in the forum. I have problem to bring Pivot Point indicator to MT4. When saving the Pivot point on my computer, the file type for source is not given me the correct format. I am trading using ETX CAPITAL MT4. I need your help. Placide
any help is appreciated when I click download and it opens in metaeditor, a box comes up "application not found". I took a screenshot of how it looks in metaeditor.....a few red coded figures with a black number 4 in the middle. (I've already tried to copy paste into file) http://gyazo...
Hi guys, I just downloaded the attached News Trading EA , but it would not trade , probably due to some errors and warnings that i get when it was compiled  . Any help will be appreciated.  Thanks. 
Hello I acquired a free-to-download indicator for MT4 with no src code and no instructions on how to work with it in mql4 and I want to work with its output values in my EA.  Although I can see the extern value types from the input tab when I drag it onto a chart, I do not know what the indicator...
To the moderators, Can you reduce the number of fixed topics please. The web-page 1 of the forum shows 30 topics and 25 of them are fixed topics?? The oldest started 2007.
I have written an EA that I run on many different currency pairs. At the moment I must change the MagicNumber for every different instrument so that it will open new trades when there are already open trades on other pairs. I have started to write a bit of code to do this but it does not work,...
I'm looking for a kind programmer who could help me creating a round number bars MT4 indicator. An exact example can be seen here for NT: Trading Psychological Numbers - Free NinjaTrader Bar Type One bar represents a certain amount of pip movement (eg 100 pips) from round number to round number,...
Hello,   I'll explain better my question with an example.   When I open a trade, it asks for the exact level of SL or TP, for example "Set TP at 1.0542", which I find more tedious that setting the tp just "50 pips ahead"   Is this possible on MT? Thanks 
Supposed I were to make a program which would open countless small trades, not at the same time, through the day, sometimes over a thousand, would a broker be able to keep up? I'm asking because in demo trading it looks fun and all but I reckon some of you do have the experience with simmilar...