Expert Advisors and Automated Trading - page 122

To post a new topic, please log in or register
Is it possible to over-ride the MT4 signal settings so that I trade higher amounts than the default conversions? My Trading account is 1:100 leverage but signals are 1:500. I need to trade bigger lots so I can match the performance of the signals.
Hi all, I have 2 real account under same broker and i would like to use one of the real account to subscript a signal, and another real account to trade with EA. I plan to use the vps to run the MT4 platform to run it. Will it works? i found that when i login to the account which subscript signal...
Hi, i'm trying to recreate a EA to delete pending order when it hit the price i input. But kept having error. tried to google up on the exact word that i should use" (???=My_Price_Target), but not able to. Or maybe the code i do is wrong? anyone could help please? thanksint start(){if (Ask=...
Hi So I purchased EA here and it has 5 activations, but I understand it is per computer. So does that mean that if I download the EAs on different MT4 accounts and with Virtual Hosting accounts in each of them but installing from the same PC, it will not affect my activation at all?  Unlike VPS, if...
Hello, I am bactesting a range breakout expert advisor using pending SL orders on an equity index CFD that trades only from 08:00 to 22:00 european time Whenever a breakout occurs overnight Order gets executed by tester at 08:00 the following morning but at trigger level instead of market open...
Hello in the ea market on mql5 can you find out how many copies of an ea have benn sold/ subscribed ? Thanks
Hi, I have a few questions, hope someone can help me! 1) How to add max spread to the EA? 2) How to lock the EA into one trading account number, and can use only for that account? Regards and thanks for the help!
anyone good in coding? i need add on some feature. This is profitable EA if manage to use if wisely
Hello guys, I am new to MQL4 and trying to self learn it. The purpose of the code below would be to insert an order at a specific Hour and Minute of the day if certain conditions are met (Price above or below a certain level). The order details would vary in its S/L or T/P or entry price...
I got a book about programing EA. In the examples most of the created classes are prefixed with a C. CTrade, CTimer etc. I thought that this is a convention the author of the book decided to use for his book, but when I browsed the Include folder I see that most of the classes are names with a C....
Hello everyone! I'm building a training data for my genetic neural networks. What do i do is, go throught entire history data with CopyOpen .. CopyLow then I normalize the change between open[i] - open[i - 1]; I'm also using iCostom and other indicator functions. Now here's what I want to do: For...
Hello guys Has anyone of you found EAs opening 1 trade per instrument at a time that remain profitable without intervention. From what I have seen the EAs that appear to achieve that ,they do so temporarily as they would employ one of the following usually - Grid/Martingale that will die at...
While checking the Documentation of the Symbol Properties I noticed the formulas for margin and profit calculation. SYMBOL_CALC_MODE_FOREXMargin:  Lots*Contract_Size/LeverageProfit:   (close_price-open_price)*Contract_Size*LotsSYMBOL_CALC_MODE_FUTURESMargin: Lots...
Hi,   ı want change to TakeProfit in MT4 but not to StopLoss when ı use OrderModify function Stoploss  be 00000. how can ı solve this?   OrderSelect(ticket,SELECT_BY_POS,MODE_TRADES); OrderModify(ticket,OrderOpenPrice(),OrderStopLoss(),take_profit,0,clrAzure);  Thanks for help.
Hi all, Everyone knows that many EAs currently sold on mql5 market are either scams or only works on demo accounts. May be it's time that MetaQuotes requires for each EA (being sold on the market) a live verifiable account, before publishing it on the mql5 market. I'm not even sure if...
hi, the MT5 ea doesnt open more than ONE buy at a time, why is this? i thought it was just buy and sell it couldnt open? thanks
Yes No I don't know "What difference does it make" Hillary Clinton.
Hi, I am trying to update a CSV file with live rates. For this I am using CopyRates function. I came across this problem while using this function. In brief, the error is CopyRates function's datetime and the rates does not match when the market is closed. For an example let's say now GMT time is...
Yes, it's a good idea No, I want customer to pay before they can give testimonial
I'm sure theres any code out there that set the SL and TP so I dont need to enter numbers all the time ? also that works for pending orders its the same we see on Auto SL and TP Maker dont need to be sophiticated , only set numbers.
Hello my friends, Ive got a little problem with a part of my ea. if (a=0) {OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-(StopLoss*Point),Bid+(TakeProfit*Point),NULL,Blue); printf ("buy");} if (a=1) {OrderSend(Symbol(),OP_SELL,Lots,Bid,3,Ask+(StopLoss*Point),Bid-(TakeProfit*Point),NULL,Red);...
What is mt4 genetic algorithm? Here it is, incase someone is confused https://www.mql5.com/en/articles/1409
Hello everyone, sorry for subject. I couldn't explain it enough. My fx broker does not support metatrader 5 but I want to do some backtest with their symbols like dow jones but mt5 demo account does not have dowjones symbol. Of course I can do it with mt4 but mt4 can not use parallel processing...
Hi My EA is now working on H4 timeframe, everything work fine but sometime I got an error like this "order buy 0.5 EURJPY opening at market sl: 122.232 tp: 125.028 failed [Market is closed]" also cannot close position with this error "order sell 0.5 EURNZD closing at 0.00000 failed [Market is...
Hi, I just learned mql4 (3 days) and was surprised! Very cool system. I never did anything like this with a program/script. So, I just have to try, was my thought. I don't have enough data to say anything exactly. But it looks good (in the strategy tester! ;-) )! Perhaps, I need some advice...
Greetings, I'm writing an EA which will trade according to user's risk percentage. Let's say it opens an Long position during daylight and Short position during night, a simple/stupid EA. EA's input value is the risk percentage, let's say 15 for 15% of available money. Whenever opens a position...
Can someone please explain the logic behind this, I just began learning mql and I cant seem to understand why is this found in almost all the codes I have read so far. //---- check for possible errors if(counted_bars<1) return(-1);//---- last counted bar will be recounted if(counted_bars>0)...