MQL4 and MetaTrader 4 - page 1131

[Deleted]
  CashBonus  (1)
Has anybody traded with Gain Capital/Forex.com? I received this promo in my email for a cash bonus on their MT4 platform. When You Deposit* Cash Bonus$100,000+$5,000$50,000 - $99,999$2,500$20,000 - $49,999$1,000$10,000 - $19,999$500$5,000 - $9,999$250$2,500 - $4,999$100$1,000 - $2,499$50 Any...
  Writing to excel  (1)
Hi guys, I'm on the edge of insanity, my EA Print 3 things: initial_time max_price minimum_price Now, how can i wirte in my excel 3 columns like: Hour max price minimum price 12:31 1.3456 1.3423 etc... I need some advices or a mini-guide, i can't find anything...
https://www.mql5.com/ru/forum/114665 there dont seem to be much talk about FSB in here, as they do in Russian/china counterpart forums but is there anyone here who have tried this software? thx in advance.
[Deleted]
Hi, I loaded the ROC indicator from the lib and it's works fine so far. The only thing which is a bit annoying that this ROC does not update automatically. Does anybody have an idea how to fix this. Thanks Bimbes
[Deleted]
Hey guys, I went through the forums looking for help to see why I wasn't able to send email or text alerts from MetaTrader. I didn't find much but what I found on my own was that most ISPs or online email sites require that the "My Server Requires Authentication" box be checked . MetaTrader doesn't
How is it possible to trade wrong prices in MT4, and how can it be avoided? Does anyone have experience with this that can elaborate on: - How this is possible - How to avoid it - What are consequences of trading wrong prices continually?
[Deleted]
I have a 2-dimension array: double Data[5][2000]; The first dimension identifies 1 of 5 timeframes (0 = 1 minute, 1 = 5 minute, 2 = 15 minute, 3 = 30 minute, 4 = 60 minutes). For each timeframe, the array holds up to 2000 data points. I want to call the function iMAOnArray, using one of the 5 sets...
[Deleted]
Is there any way send TWS Interactive Broker account's trade signals to MT4 account?
Hi guys, I was reading the forum and manuals but nothing... This is my code: for (int Count = 0; Count < OrdersHistoryTotal(); Count ++) { OrderSelect(Count, SELECT_BY_POS, MODE_HISTORY); if (OrderSymbol() == Symbol()) { double price_ini = OrderOpenPrice();...
[Deleted]
Hope someone can explain this. I'm stumped. Look at this small example of the problem: int start() { string tt, tt_now; tt_now = "" + Hour() + ":" + Minute(); Comment("Current Server Time is: ", tt_now, " IsTesting: ", IsTesting(), "\n"); tt = StringConcatenate("Now: ",...
[Deleted]
Hi Everyone, Does nayone know / understand the difference between ERR_INVALID_PRICE (129) and ERR_INVALID_PRICE_PARAM (4105)? I got the second one (4107) as a result of using OrderSend() to submit an OP_BUYSTOP order. Thanks, dennisne
[Deleted]
Hello People, we are working on an automated trading system like the most in here i would say ;) The following is crazy.. We have a code structure, which should order a "buy", then do some things, an if some events are happening, it should execute a function which include the ordersend function. e.g...
sir how to use atomatice trading
[Deleted]
Hi all. I need decrease lots after (every) loss to 0.1 lots. And after (every) win increase lots to 1.0 lots. How do it? Ty.
int start(){//----int action = 0;double loty = 1/100;int course = Bid ;int lastOpenTime = 0, Ticket = 0 ;double point = MarketInfo(Symbol(),MODE_POINT);double diference = 50*point;bool result;double price, Oprice;int cmd, error;lem //1------------------------------------------------for ( int i =...
  EA to read email  (7)
Is it possible to have an EA that will read emails? I have read that someone isdoing this but don't know how ? HELP... thanks in advance.. d
Hi, I am using 2 instances of MT4: one for a real account, and the other for a demo account (trials and such). Of course, the 2 instances reside in 2 different folders in \program files (x86). [win 7 64] The "real" MT4 is build 406, updated at install time. The "demo" MT4 is build 226, update failed...
[Deleted]
//|-----------Global Variableint Magic;int init(){string chartTF=Period();switch (chartTF){                case PERIOD_M1:         Magic=8; break;                case PERIOD_M5:         Magic=9; break;                case PERIOD_M15:        Magic=1; break;                case PERIOD_M30...
[Deleted]
//Code to Delete complete OCO       if( (OCOset == true)&&(OrdersTotal() > 0) )       {         OrderSelect(OTicket1, SELECT_BY_TICKET);                   if(OrderCloseTime() == 0 && OrderType() == OP_BUY)          {           bool Deleted = OrderDelete(OTicket1, Green...
[Deleted]
Hello I'm looking for a EA programer. I'll send details after we discussed all terms of our cooperation. Thank you very much in advance to all who respond with serious interest.
hi, Anyone knows if this is possible: to import an dll function which uses as argument a: variable-argument lists e.g. http://www.cplusplus.com/reference/clibrary/cstdio/vprintf/ int vprintf ( const char * format, va_list arg );if so how would one do it?ThanksMJ
Hi, I'm looking for a non-repainting version of the zig zag indicator (it doesn't draw the last leg: that's why it does not "repaint") calculated only on the close, not the high and low (like the standard version).
Hi all ! Please Help or advice ! Currently i'm using the code at above to open/close a trade and it working fine. But problem happen when i trade more than one pair currency ! (Same EA loaded into different pair currency chart). Thanks in advance.
[Deleted]
HI traders, I have quite a good EA, but I think it would work even better when I add a filter to it. Firstly, I will describe, how it works now: It is based on MA - when a candle crosses MA, it opens a trade by the beginning of the next candle (in the same direction as it crosse the candle). The...
I found a website that searches this website with great detail. It does have ads but I just ignore them. http://glm.net/forex Thanks kalkaska
I have a problem in my EA, strategy tester reports invalid index buffer number error repeatedly throughout the test so I created a simple test EA/Indicator combination to try and find the cause but I still get the same results in tester, I cant see what is wrong with these test programs can anyone...
[Deleted]
I wanted a code to find the previous/nearest highest price bar such that the high price of the next bar and the high price of the previous bar is less than this bar. Any ideas????
int start(){//----int action = 0;double loty = 1/100;int course = Bid;int lastOpenTime = 0, needleTicket = 0 ;double point = Point;double diference = 50*point;bool result;double price, Oprice;int cmd, error;for ( int i =   OrdersTotal () - 1   ; i >= 0 ; i -- ) {if (OrderSelect ( i, SELECT_BY_POS,...
  OrderSend Issue  (1)
This seems way to simple but I'm missing something and its only changed recently This used to work a couple of weeks ago: OrderSend(Symbol(),OP_BUY,1,Ask,5,Ask-25*Point,Ask+35*Point); Now it doesnt but if I change it to 0 stoploss and 0 take profit it does work: OrderSend(Symbol(),OP_BUY,1...