MQL4 and MetaTrader 4 - page 295

Hi all! I need to put comments on the chart my EA is running on. The idea is to place them in the lower right corner, so that I can visualize them better. How do I put them there? Is it essential to create a text object to do it? Or can it be done with a comment
Hi, Is there a way to know when the stop button pressed in the tester for an indicator? I've found details how to do so in an EA but I can't seem to find the right search parameters/details in the manual to find out how to do so with an indicator. I just need to run a function when stop is
In my EA I open 2 orders at once.  Order #1 : set TakeProfit value ( TakeProfit value calculated based on ATR of the time of order placed ) Order #2 : do not set TakeProfit value at the opening Later on I want to run trailing stop for the "Order #2" and I need to pass the TakeProfit value I used in...
Hi All, I like to use MQL4 to shutdown metatrader at specific time. ( for example: shutdown MT4 at UTC 10 pm or 10 pm brokers time) I dont like to kill the MT4 process (via windows batch), in order to ensure, that all terminal closing procedures will be processed correctly. Can somebody please give
  Advanced links/threads/tools  (30   1 2 3)
One more average and variations - key thread for MT4 One more average and variations for MT5 -  the indicators for MT5 are inside this MT5 thread  The following indicators can be found on the above mentioned threads: One more average - very advanced indicators with speed changing, with smooth...
[Deleted]
Hello everyone, I know this topic was discussed many times. But all articles I found on that topic were unfortunately too complicated or produce error message because they are too old. Therefore I wasn't able to create a script that does a simple POST/GET request. So, I simply want to send POST and
I have an Indicator that displays some information panes on the Chart window and one of them is at the right top side of the chart. The problem is that when someone will attach an expert to this Chart, the Expert name and its smiley are appearing right there. So, I need one of this two options: 1....
Hi everyone, I ran into quite a perplexing problem today. There are many symbols that I cannot select or get information from in my EA. In fact, it seems as if there's a bug within MQL4 itself. The following EA provides different results when ran in the debugger vs a strategy tester (both using the
Why the balance number of activation got reduced from 6 to 5 when i updated to 9.18? Its on Same MT Terminal, Same User, Same PC. Any response from Moderators on this Technical issue? <Deleted>
Currently I am planning to Manual Trade With this Indicator Rules, but I have some problems to be solved.. I need Help from this Forum. I hope This Indicator also helping The others to trade. Rules - Arrows and Alert Showing When The Price Crossing The Gold band IF possible, The Arrows and Alert
Hi All, I am facing issue while installing MT4 platform. The downloading is not going forward from 0%. Something is blocking the download. I only have Windows Firewall and did never faced such issues before. I am using an Antivirus software, which I don't think will interfere with the downloading...
Hi, I am having a trouble to use iCustom to get signal from an indicator. The indicator is "called2candles 1 pilot331"   and it is MQL4 file. You can download from here. https://forex-station.com/download/file.php?id=3324510 I want to get arrow up /down signal from the indicator by using iCustom and...
Good day, Please assist with fixing the abovementioned error. This includes both the up and down arrows, check and stop sign as well.. Print screen below. Your assistance with resolving this will be greatly appreciated
Can I have/make a custom indicator in a separate window that displays text only? I've read the manual and seen many examples of indicators, and it seems there is no such option. Is that correct? TIA
Hi there, i'm looking for something that will auto mark every quarter of a cent on a chart e.g. click a button on a script to auto mark e.g. eurusd at 1.18, 1.1825, 1.1850, 1.18750 and so forth for a 200 pip range of current price (100pips up and 100pips down) e.g if current price is 1.18 i would be
[Deleted]
  Fibonacci colours  (14   1 2)
hi how can i put different colours on different fibonacci %?
Hi, can any one help. i keep getting error codes and can't find the solution. compiles fine, just won't open the trades. idea is to run the EA on a single chart and open all trades at a set time of day. Thanks in advance. extern string TradeComment = "D1Long" ; extern int MagicNumber = 200 ;
[Deleted]
I want to calculate the slope of a moving average of 200 periods. I want to use the values of periods -12 and -2 (periodes couting from actual period) for calculate this slope. Can I acess historical values of a moving average
  Edit an EA  (1)
Hello, I want to change my EA. I want the take profit to be expressed as a percentage of the index used (Dax30 / Nasdaq100 / Cac40). For example, if the cac40 is at 5000, I want the ea to open a position with a take profit of 1% = 5050. If the cac is at 10000, I want the take profit to be 1% = 10100
Hello, I am writing an EA but I am beginner in MQL4. Please suggest me how could I identify a DOWN TREND or an UP TREND of moving average in my EA programmatically? Please advise me as I have not so familiar with MQL4
Hi, I am new to forex trading and MT4 and was trying to write a python script using oandapyV20. I executed the trades and they showed up on the journal tab but the orders do not show up in the trade tab and the balance never changes in the trade tab or when accessing it via python. However
#property strict void OnStart () { int Ticket = 0 ; int Opposite = 0 ; for ( int i = OrdersTotal () - 1 ; i> = 0 ; i--) { // --- select item / order with index "i" if ( OrderSelect (i, SELECT_BY_POS , MODE_TRADES ) == true ) { // --- select an open position
Hi, Are there any skillful hands and brain that would like to help me build an EA from old scripts and apply a new strategy to it. I have the idea but my knowledge of coding is quite basic so far. The Good Thing: It is quite Easy. The Bad Thing: I have started but apparently the base code has many
Is it possible to run 2 or more sessions of MT4 (with different EA's) on the same account at the same time?
How to send alert signal from metatrader4 to telegram channel See file attach please Help me please
Hello, I have problem with part of code - sending order. Perhaps anyone has an any idea or suggestion. Assumptation: 10 instruments, every instrument open from a specific function. If I use in the loop OrdersTotal() SELECT_BY_POS and negation !="abc" there isn't open any order. If I use =="abc"
HI,, I have an EA that works great.. I added a Button to Close all trades, but I want to add a messagebox that confirms the entry.. EG.. Are you sure Yes/No/Cancel. But I can get the message box to come up, but when I hit Cancel it still closes the open orders. I have searched the documentation, but
Hi all, I'm searching for the Adjustable Fractal indicator. <Deleted> Thank you
I have updated and compiled in Meta Editor an indicator then saved it to the data folder though I can see it in the navigator drop down list it will not drag across and open into a chart and will not convert from a mq4 file to a ex4 file, any ideas thanks
Hello everybody! I'm looking for a best option to program my strategies and indicators. The Metatrader editor it's so poor if you compare with other languages (or others IDE's). Is there any way to debug our code..or at least, program our codes more easily? I found a Eclipse pulguin in internet, but...