GUYs: By "secondary encapsulated DLL", I mean I build a B.dll, which calls A.dll. I don't know the exactly tech name of that..... But when I call this B.dll, the MT4 doesn't do anything at all, and there's no error msgs in the log file. Here's the codes. I first build a helloworldDLL.dll which...
Hi friends, I want to know how can I use the data of the indicator that I developed it by myself in an EA. Suppose that I've developed an indicator which it creates numerous arrays that are so important to be used in my EA and in other word, the arrays that are created through my indicator are the
Hi. I'm new to Forex and MT4. I've had some success with demo account, but I feel that trading manually is not my way. I'm a software developer. I think I should use my programming skills in trading. My first approach was to learn MQL4 and try to write some advisor. After reading documentation...
New article The checks a trading robot must pass before publication in the Market has been published: Before any product is published in the Market, it must undergo compulsory preliminary checks in order to ensure a uniform quality standard. This article considers the most frequent errors made by...
Hello Im trying to create a .csv and .hst file. Everything seems to run fine, but I can see my files in the directory! Can you please help?
[Deleted]
Hello! I have a wave function I would love to get coded in mql4. It is a parametric equation, x= and y=. how would I code this part? The code should draw this wave on the chart, but I am at a loss. Thanks!
Hey Guys, I have one problem... My EA only works on full hours. Like from 10pm to 11pm and so on. But if I input 10:15 or 10:54 to 11 it doesn't work... The EA should operation so that he can give me the highest and lowest price between a specified timespan. But I don't know why it only works...
Hello, Is there a possibility to subscribe to a newsletter for the http://www.metaquotes.net/en/metatrader4/news page? Thank you very much! Kind regards,
Hello, i have got an error in the line 24 :'SetIndexBuffer' - no one of the overloads can be applied to the function call #property copyright "Copyright 2016, MetaQuotes Software Corp."#property link "https://www.mql5.com"#property version "1.00"#property strict#property...
[Deleted]
I am using these 2 indicators. trendplotter.mq4 http://www.forexfactory.com/showthread.php?t=46668&page=6 TrendLine Alert.mq4 http://www.trade2win.com/boards/trading-software/148012-trendline-alert-indicator-mt4.html There is a slight problem with the combination of these two. When a position is...
I understand that there is a variable called period_current which can be used in a script I have attached the same script to M1 and M5 time frame I have an alert which says "event triggered" however i am not sure if this alert was triggered by M1 or M5 Please assist
Hi this is my 1st code I've complied without errors or warnings, however this EA code doesn't seem to work, any advise? //+------------------------------------------------------------------+//| MA.mq4...
This just started happening the other day and I can not figure out what is causing MT4 to do this. When opening a new chart through Market Watch it does not matter which currency pair I highlight and then select Chart Window, the chart that is opened is always GBPNZDi (my broker is Trader's Way and...
[Deleted]
I provide my custom comment to SendOrder() function, but when an order appears in Account History, it says in Comment "#12345, Placed by Expert". Do I need to change some other settings to make a custom comment to appear in there?
[Deleted]
hello im new at this programming mql4 i want to create a simple script, can someone help me? i need it to see 2nd last candle and open pending order 10 pips above the closing of that candle, with SL -80 pips, TP +60 pips. I have this code and it doesnt do anything #property version "1.00"#property...
Hello, I want to trade with financial news but I need an API to connect the news on real time to Metatrader 4, do yo know a service to do that? It is not a problem if I have to pay for this Beforehand, thank you very much.
GUYS: I try to test dll-calling in MQL4, so I build a test dll as following: #include <stdio.h> #include <stdlib.h> #include < string > #include < string .h> #include <time.h> #include <iostream> using namespace std; extern "C" __declspec(dllexport) void HelloWorld(); void HelloWorld() {
Hi everyone, I am a newbie to MQL. I'm trying a testing EA. I am getting Error#130. Couldn't find the reason. Pls find the code below and copy of the journal below. double Buy_Signal = 0;double Sell_Signal = 0;int i = 0;int Total_Orders = 0;int Magic_Check = 0;double Lot_Check = 1; int...
Hello, to all, how are you, I´m not a coder.... and I have problems when I try to compile, this errors appear; delete name expected expressions are not alowed on a global scope object pointer expected void delete (int type){ if(OrdersTotal()>0){ for(i=OrdersTotal();i>=0;i--){...
Hi, For an object of type OBJ_RECTANGLE, am unable to set the fill and tool tip property ObjectSetInteger( chartID, objName, OBJPROP_FILL, false ); ObjectSetString( chartID, objName, OBJPROP_TOOLTIP, callOut ); Regards Vivek
[Deleted]
hello i want to create an EA that makes a pending order, with stop loss 80 pips and take profit 60 pips. I know it looks simple, but i keep getting the error 301 i think... can someone help me?
int Tip=OrderType(); if (Tip==5){ //SellStop if(OrderStopLoss() == OrderOpenPrice()){ } } <Russian language removed >
Hello, I tried to use the following line, to create a stop at a certain gain level and (at the same time) a takeprofit modification, but I probably made a mistake, since the modification is not executed (the alert-sound is played sometimes): extern int TicketBuy,TicketSell; extern double...
Hello I been trading just 3 month and is intereted to do it, I learning the lenguage mql4 in my way to create a robot, but I just started it, I need some help I have a Adx indicator which draw in histogram bars under the chart, I set the alarm to it, but it sound in every single bar (histogram) and...
[Deleted]
is there any restriction on selecting a volume in mt4? what is the function of volume? suppose if I have 50$ in total money with my broker, what is the ideal volume in this case? at this stage I have .01 volume?
Hello, I have deleted your topic as you uploaded de-compiled code. This against forum rules and if you do it again, you may be banned. Thankyou FMIC for pointing this out.
#property copyright "Copyright 2016, Macdulio" #property link "macdulio.blogspot.co.uk" #property indicator_chart_window #property indicator_buffers 7 #property indicator_color1 Crimson #property indicator_color2 Blue #define NL "\n" extern int Range_n=34; extern int shift = 5; extern...
No problem with code or anything. Just wondering here before I set off on an adventure (that will probably end in a horrific crash. :) ) Is there any hard and fast limitations on how many global variables that can be set?
[Deleted]
I am working on an EA and this is not checking every hour on the open of the candle when the D+ is above the 21 in ADX. Can someone help me out here with this please. In short I want this to alert me at every open candle when the D+ is above 21. bool EnterOpenBar= true ; datetime
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.