Keeps removing itself upon attaching to live chart in all terminals
Below is code for a news EA. Buy and sell stops are placed at a given time before news release manually. When one in entered the other is closed. I am trying to add functionality to allow the stop loss to follow the take profit by X pips. Say, if profit is 10 pips then stop loss would move to 0 and
Hello, Is it possible to change the color of the bar where a trade entry and exit has happened? Thank you
Hello Guys, Can some one add alerts in this indicator, when market touches the SnR levels. Thanks
[Deleted]
Hello, I was read last topic about DDE and I try on my excel.When I type "MT4|BID! USDCHF " on excel but not work.Anybody please teach me how to setup. Thank you, Rizal
Hi everyone, I'm using a fib-tool that draws trend lines with labels at the right side, something I find very convenient, so I want my trend line to have a label on the right side too. I've added a label in the code, and the compile is without errors, but the label does not show up. Can anyone...
Hello, am new to mql4, i need some help with this code to trade opposite the ea place pending order and modify the pending order until it takes a trade.. so i double paste the order code for it to trade opposite but still no opposite trade int z=0; for(i=0; i<OrdersTotal(); i++) {
Under the MetaEditor4 Debug menu there is an option "Start on History Data", however it is disabled. Reading through the help file indicates that I need to set Debug options to use specific settings which I have done (see attachment), however the menu item is still disabled (greyed out) with no
I've been trying to figure out a way to create an indicator that would be a separate_window at the bottom of chart that would simply display numbers on various bars. I don't see a way to to do it with buffers and the only object that I can find that might work is the OBJ_TEXT. The problem is that
Hi, I am learning to code, wrote a simple counter as practice. it is just supposed to Print 1,2,3,4,5,etc but the count is coming out as 6363,6364,6365 etc. Can someone tell me what I have done wrong. Thank you in advance. //+------------------------------------------------------------------+//|
Hello everyone, i start this topic as i'm an absolute newbie in Metatrader and his language; i'm converting several EA from mq4 to C# and debugging the expert advisors i've been able to convert almonst everything but i have some doubts about the array Low[] and High[]: i took the definition of Low
Hi, I am a new user. After installing mt5tester, I am getting "cloud disconnected". Not sure what is the problem. I would like to know any guidance or some trick to make it work. Thanks
I need some small modification to this indi but I am not a coder so I would really appreciates if someone can help I need to add Candle Closing Remaining time for the chart and the candle Text size, text color , text corner position Thank you
[Deleted]
hello every body... i see in the https://book.mql4.com/samples/shared, to pass the indicator parameter to ea using like this: double iCustom(string symbol, int timeframe, string name, ..., int mode, int shift) example: name indicator: rocse.mq4 have parameter : extern int History =5000; //...
Hi everyone, I'm quite new to the EA trading but I want to learn and improve so I started an EA by myself and learned a bit of MQL4 coding... So my first EA is about to start "working" but there starts the first problems, I encountered some trouble while trying to use functions to place and close my
I have this extremely annoying problem - if someone can PLEASE help me. I have written a Hull moving average, but it only appears on my chart when I run the debugger. If I attach it normally it doesn't run. If I exit the debugger, and then compile, it disappears again. Please I need some help. Must
Boys, good evening, I found a list on the net and modified it for my needs but only recognizes me the pins - bullish bars I can not understand where the error, someone can help me, this is the code: int start(){ int NeedBarsCounted, LastBars = 0,CountBars=0; double NoseLength, NoseBody
Hi,Is ist possible to Tell your EA to Stop Trading after two Looses in one Day? What whould be the best way
Hi All I'm running the below on EURNZD. While on this pair, I'm trying to get the bid price for another currency pair; GBPNZD (string newcurrency in my EA) The 1st Print shows me I'm successfully generating GBPNZD, but when I plug this into MarketInfo to get the Bid price of GBPNZD, it is only
i just dont know how to do maybe someone can help me i be very thankful maybe someone has the same issue
Good day everyone does anyone have an idea how to hide the Moving average input parameter extern double S1 = 63 ; extern double S2 = MODE_SMA ; extern double S3 = 21 ; extern double S4 = MODE_SMA ; double first = iMA ( NULL , PERIOD_CURRENT ,S1, 0 ,S2, PRICE_CLOSE ,current); double second = iMA
Hi, I have been waiting about 2 weeks for a response to my message from the moderators of this website. However my documents have not been verified despite me sending them 2 weeks ago. Should I just make a new account and start the process again so that it goes to the accounts team? I am not sure
It is right to say, Sign up for personal profile is easy but the same time if you want to register as Company Profile it's really difficult task. Because, there is no option to register as Forex Broker only option is for Seller account registration. That's why I want to know what are the rules for
Hi! Can you tell me if Hourly CSV files exported from MT4 are BID OR ASK prices
Hi all. I am trying to develop an EA that opens different orders at different prices with the same TP but for some reason it doesn't seem to work (I am a newbie in programming). When I test it, the error resides in the price and the take profit for the ordersend(). I understand that they have to be
Good evening, I'm coding an EA on mql4. I need to sum 2 iADX. Could you tell me if is this code correct? (iADX(NULL,PERIOD_D1,14,PRICE_CLOSE,MODE_MAIN,1)+iADX(NULL,PERIOD_D1,14,PRICE_CLOSE,MODE_MAIN,2)) Thanks a lot
Dear all, To start I would like to say that I have tested the strategy in a Live Demo account and the stop positioning was correct. I have started automatic trading with MT4 and XTB a month ago. I only trade Dax CFD. I have just checked my "first" 85 trades and I am confused. Theres is big
Please explain to me, while coding, if and when i would use "Digits"? and if and why I may use _Digits instead