dream3r / Publications
Forum
How to know indicators using by EA
Hello, is there a way to know if an EA is using indicators ? How can we know the indicators used by? Thank you in advance. Dream3r
Harmonic patterns in an EA
Hello, I would like to know if there is an Harmonic Pattern indicator that can be used in an EA. I have sawn several indicators and none of them can be used in an EA. Do you know one that can be? Thank you in advance! Regards
How to know the last 2 orders in market?
Hello, I would like to know the 2 lasts orders to know if have the same type. How can I do it? The first think to my mind is get the last orderTicket (LastTicket) and get the last order ticket again but only if the order ticket != LastTicket. After that, get the type of each one. This method is
Attach orders per candle
Hello, I realize that the pending orders don't return the initial OrderOpenTime() and it returns the time when it opens the position (OP_BUY or OP_SELL). I am doing a code that in each bar open an order (Sell or Buy) and in the max/min of the same candle put a pending order. I would like attach this
Force to write a file MQL4
Hello everybody, I am looking for a solution of my problem. I am trying to write a file in MQL4. There is no problem, but the problem appears when I try to force to do it constantly. I mean, with an expert advisor I am writing the file with the follow code
OP_BUYSTOP/OP_SELLSTOP OrderSend with SL=0 and TP=0 return me error 130 (invalid stops!)
Hello everyone, I am trying to solve the issue with setorder in my code and I don't know whre can be the error! The code: int ticket = OrderSend ( Symbol (), type, lot, price, 0 , 0 , 0 , CustomComment, Magic, 0 , col); Print ( "PUT ORDER: " + IntegerToString (type), ", price=" , DoubleToStr(price
Issue with stoploss and take profit (130 error on ordermodify)
Hello everyone, I get an error 130 when I am doing an OrderModify. The code is: void SetSLTP(){ double sl, tp; for ( int i = OrdersTotal () - 1 ; i >= 0 ; i--) if ( OrderSelect (i, SELECT_BY_POS, MODE_TRADES)) if (OrderSymbol() == Symbol () && OrderMagicNumber() == Magic &&
Developing in Eclipse IDE
Hello, I'm so familiar with IDE Eclipse but I don't find any module to develop mq4 files. Anyone can develop with this IDE? Thank you in advance! Dream3r
How to get the best settings in an indicator?
Hello people! I'm wondering how to get the best settings for an indicator. I don't know how to get it. I was trying creating an EA just using this indicator and getting the bests results. The EA was only created to get the best settings for this indicator. After that, I realized that it wasn't a
Multiple account acces from EA
Hello, I would like know if there is some possibility to get data from different accounts on the same EA. Thank you in advance