The scenario is pictured above. The blue square to the left had a signal that hit the stoploss. I need to use the same signal for an entry at a later bar (second blue square), if no new Trade Signals have come up. I have been looking at the code from this link to use last trade data, but that is...
[Deleted]
I like the below indicator and want to use it with an EA I am writing. However I'm having a lot of trouble figuring out how to get the price values of the last or current set of lines the indicator draws. Everytime I add the indicator the last set of line names changes because of the amount of bars
Hello there, I am just trying to create my own indicator, Idea for the indicator is I wanted to see Stochastic on my charts instead of separate window. For that I create indicator and attaching the code of it....
[Deleted]
Dear Coders, After fully read and tried to integrate this article Articles -> Examples -> Error 146 ("Trade context busy") and How to Deal with It. to my EA, the solution really works nicely for OrderSend () but not OrderDelete() The full code of this paragraph is below - Please take a look and...
[Deleted]
Hi everyone, I am using an EA which does not seem to have a very good exit strategy. Thus I would like to use my own exit strategy. Is there any way, after the EA has opened a trade to prevent it from monitoring and closing the position ? So the trade is no longer controlled by the EA after it is
Hello, I need some help with this code I wrote using the MathMod function: double remainder; double value = Bid; double value2 = 0.0025; remainder = double MathMod(value, value2); When I complie my EA I get this error message: 'MathMod' - variable expected Thanks to all who can help out !!!
Hi everyone, I am a first-yearstudent which just enter the master school, and my professor ask me to do some researchabout use the “Back Propagation Network” combine some kind technical analysis skill”Channelor others” use on the mt4 program with EUR/USD, but I really no idea howcan I start, if...
I've come across a new system that allows you to set up your own trading rules quickly and easily. Use technical indicators to set up rules. Then back test and optimize. Looks cool. You can get try it out here: http://www.gowebtrade.com/robot/?gwt_ag=fora_01 –– curious to hear if you like it....
[Deleted]
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...
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 =...
as above?
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

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.