In my first indicator, I am attempting something very simple which I am having difficulties in getting it to work correctly. I want to draw a Buy Arrow (UP Arrow ) on Chart just below the Candle whenever MACD's Signal Crosses above MACD. Opposite end will be done once I get past this initial...
[Deleted]
Hello Experts ! This is my first post and I am happy to have joined this great forum. Well, I am using Oanda's java-based trading platform , which shows account and trade information just on the left side. I was wondering how we can do the same in MT4 to show the following information: 1. Balance
[Deleted]
Instead of an alert, I would like text to be written to a text file. This code creates an alert: Alert(text); Instead of that, how can I write the text to a file named "output.txt"?
Hi all, does anyone run their Meta Trader 4 on Windows 8? With / without flaws .. ? Any remarks?
Can someone help me and tell me where i am going wrong with this EA https://www.mql5.com/en/code/10689? It worked once but now i have opened the code in Meteditor but why is it nor going any further when i save it as it never shows up in my Expertadvisors?? i know there is a simple solution, either...
I'm having trouble making 2 EA'S work at the same time? In the top corner only shows 1 EA, does this mean that only 1 EA will work at once??
I need a simple Expert Advisor which can realize a "Take Profit" in platform (can be for any orders and positions) is triggered and open a message box ????? I am sure it's very simple EA but as I am beginner I'm very confused how to do it ? It caused a bad problem for me . Could somebody...
Data brought out year by year: http://www.upload.ee/image/2811163/Forex_system.png In this picture every year starts with 100 000€ and profits are not reinvested! Lot sizes are always same. TP and SL are both over 100pip from price. If profits were reinvested(if account balance grow 10% then...
Hey, I was wondering if its possible to draw a line between two dots which starts at coordinate 1 and ends at coordinate 2. The problem with trend lines is, that they always go further than the coordinates til infinity - thats not what I need. Is is possible to draw such a line with...
[Deleted]
#define PipsTP 30void OrderBuy(double Size){ int ticket=0; while (ticket <= 0) { ticket=OrderSend(Symbol(),1,Size,MarketInfo(Symbol(),MODE_ASK),3,0,MarketInfo(Symbol(),MODE_ASK)+MarketInfo(Symbol(),MODE_POINT)*PipsTP,""...
Hello, I'm writing an indicator and have defined a variable 'BarsToProcess'. However, on line 63 and 64, when compiling, I receive the message that this variable 'BarsToProcess' is not defined. I tried to define again, but then I receive message that it is already defined ... I attach the mq4 file...
Hi, I learned coding step by step from this website https://www.mql5.com/en/articles/1456 around two weeks ago, followedexamples given and made an ea. The problem however is that whenever it hits SLor TP, it opens another position in the same direction as the previous if theprice is still below or...
Hi MQLers, when analyzing the results of my code I need to scroll back to history (to the left) and rest there to see what my objects are telling me. However as we all knwo, the window "jumps" right back to the right with the arrival of each new tick. My question is - would I be able to freeze the...
hi : im new here and wanted to ask a question on a problem i just had on my platform. i was customizing the tools at the top of my platform, eliminating some buttons i did not need. when i finished with a box, i went to drag it too where i wanted to place it on the top and when i went too place it...
[Deleted]
Where can I find the source code for the "Volumes" indicator that is included as a standard indicator with MT4?
[Deleted]
Using MQ4 for MT4, is it possible to get an alert of all pairs available to MT4 through the broker? For example, for some brokers I would want the list to look like this: AUDUSD,USDCHF, USDJPY ,EURUSD,USDCAD,EURCHF,EURGBP,EURJPY,EURCAD,EURAUD,GBPCHF,GBPUSD,CHFJPY,AUDCAD For some brokers the list
[Deleted]
Can't seem to figure out why this isn't working, any help would be appreciated. I want to close all orders under that specific symbol with MagicNumber_3 if their total floating profit is greater than DollarTakeProfit_s3. double CurrentPairProfit_s3 = CalculateProfit_s3(); if...
[Deleted]
Hi, I am running MT4 on Windows 7 Home Preminum and am unable to create a file based on the following script: //+------------------------------------------------------------------+ //| SatCustomFunction.mq4 |...
Hello everyone, i just come across MT4 platform with clickable logo on the chart. Can anybody give me a hint how this is actually done? Here is a screenshot for better understanding: http://img824.imageshack.us/img824/2903/buttonsu.jpg Any hint would be much appreciated. Sigma PS: If there is a...
PLease check this code I am using to calculate lot sizes for EURUSD: double Lots=NormalizeDouble(AccountBalance()*Risk/100000/Digits/Trail_Stop/10,2); it seems to work well because my Account Balance is in USD. So in this case, because USD is the terms currency it works well. I use this other code...
Hi All, Is there anything like a trade copier EA??. I want to copy trades from my master platform to several child platforms. How do I get this please help. Regards ckmoied
continue run my not end commender?,or?
[Deleted]
When creating an Expert Adviser using MQ4, is it possible to allow users to select from a drop-down containing pre-defined options? The values to variables can be adjusted by users if they click on the "Inputs" tab of the Expert Adviser. I know how to let them select "true" or "false" and I know...
Hi there, I'm supposed to do something fairly simple, but I'm getting problems. I receive a variable containing the SL level, that I want to use in my OrderSend. Everything works fine if I calculate my sl based on Ask price as in ordersend example in doc, but I get error 130 if I try to directly...
[Deleted]
This is my 1st post. I browsed for the subject on the Forum but I couldn't find any clue regarding my issue. I've developed an EA which is delivering fairly well, however I'm facing this issue which I cannot address. Here's the flow: 1. I launch the EA which runs just ok, opening and closing orders...
hi all, i need a help in coding i want to disallowed trading for a few bar, lets say 10 bar after a trade is closed, how do i do that?
Hi, as far as you know, is there any way to retrieve by code a list of the files (and how many) contained in the \files folder? Thanks Regards Stefano
[Deleted]
Hi, I'm totaly new to MQL 4 but wanted to create an Expert Advisor so I used a programm, it works ok but i'm not fully statisfied, the EA should open orders on the Crossover aof the MA's ( just 2 MA's) long and short. Now the problem is, that the EA can just open ONE order at the same time and thast...
Hi, I am doing an Expert working with range bars, but I want to include the code range bars inside my EA, because I don't want to have to install it separately. Is this possible? Thanks.
[Deleted]
As at today, I m having difficulties closing my trade and even when I want to place new order the platform is not responding, please what is the problem and what should I do help.
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.