Expert Advisors and Automated Trading - page 465

I'm planning on doing an EA that trades based on support and resistance levels. Will this be possible? If not what are some work arounds to get this to work?     
Hello, i use an EA and have a working Sell Order, during the sell order working i also place some Long Order, but when i want to modify my order, i get always an error. Code for Order Modify: void OnTick()  { if(PositionSelect(_Symbol))     {...
Hello, i would like to ask for an EA in the freelance section. which information should i not forget to provide, apart from the strategy itself? just to prevent queries. thank you! ron
Hey guys! 3 questions to coders: 1. Is it possible to code the next kind of EA and how much would you want to get for this job: a. It has to be for mt5 and/or mt4. b. It has to place market orders (not pending orders) when a certain time's candle made a certain move. c. It has to place SL,...
How to avoid such spikes in spreads? In my new EA i added blockade on all stop losses if spread exceeds the av spread by 4x. Guess it is my only idea for now on how to modify the Expert Advisor. Here on the screenshot it was 20 times the average and killed my signal: (on Roboforex acount) at 23...
Hello People Today I was running some intensive calculation with my EA. The calculation uses lots of arrays and loops and therefore the calculation uses up quite a lot of memory. I understand this. However, the odd thing but interesting thing is this: I have 8 GB of Physical memory plus virtual...
I want to subscribe to a signal from a live account to my demo account, but it looks like mql5 disabled that ability. Is there any other way to subscribe to a signal? So I could see the trades on the mql5 website and copy them manually?
Hello, have a DLL with a function returning string (wchar_t*), so unicode. The DLL was not changed since long time and work 2 weeks ago with MT5. But with new build, this DLL newly return garbage. The DLL has log, where i log the value returned right before returning and at this state, the string...
I'm looking for a STABLE signal that gives me 10% MINIMUM a month. I'm willing to pay for this signal as long it's a stable growing signal. It also has to have proven itself already. So, please no newly started signals with only a 1-2 month history! Also, no risky stuff that jumps up 50% in a week...
Hi, It may happen that an EA opens multiple chart, on many timeframe when used. Is it possible to close them when not used any more ? If yes, I suppose this may free memory, right ?
Hi all! My EA only takes Buy OR Sell and not both buy AND Sell at the same time. I need it to take at the same time. This is the code for the START order, how do I change it to take both buy and sell? Thanks!! int start() { if(!IsTesting() && AccountNumber() != AccountNum)...
Kindly check buffer and arrays of these two indicators. Are they good for ea programmimg
Helo everyone, I hope everyone are fine. Let's suppose I sent a ten requests few seconds ago to the market for the same symbol. Then, right now I receive an event in the function OnTradeTransaction(trans, request, result). In this moment I don't know what request (order) cause the event...
void ExitConditions()  { for(int i=OrdersTotal()-1; i>=0; i--)     { if(OrderSelect(i,SELECT_BY_POS))        { int ticket=OrderTicket(); if(OrderMagicNumber()==MagicNumber &&...
can u make a EA for me , i think it makes profit . first its open buy/sell order ( trend ) sl - 10/20 tp - 00 pipstep - 10 TF - 15 condition == 1. if first order hits sl then its open opsite order ( if 1st order buy and hits sl then its open sell order , if sell order go ahead then its...
I have been testing the expert advisor Fuzzy Logic in the Strategy Tester and I have noticed that it is much more profitable when using the Open Prices Only (OPO) setting. I think this is because of the EA's take profit setting. Obviously in live trading it uses every single tick, so I was...
I have subscribed to a signal provider in MT4. Every time I close an open position manually, it pops up again after a few seconds, opend at the current price. Can I change options somewhere, so that a manually closed position will not be opened again? And is it possible to subscribe to more than...
I am Nasser from Iran, I got my BA in electrical engineering and my MS in Industrial Engineering, I am newcomer in the field of MQL5 and I am learning it. We use metatrader in Iran Stock exchange. I copied a very simple EA to my metaeditor and compile it and it has no error. But in strategy testing...
Hi, Previous post. The service told me to use init_agent_not_suitable but I can't find any examples on how to use it ? genetic pass (0, 37) tested with error "no memory in OnTick function (cannot get 960 Kb, used 0 Mb)" in 140 ms (PR 137)
[Deleted]
Hello. I'm working to have code to be able to dynamically determine the digit accuracy of the minimum lot size. After getting this number without errors, I will use it with the NormalizeDouble function to determine my correct number of lots for my order. The end pseudo-code will be double Lots...
Hi there ! cf . title. Anyone could help ? double RSI[];RSIHandle=iRSI(symbol,PERIOD_M1,14,PRICE_CLOSE);if(RSIHandle<0)&nbsp;&nbsp;&nbsp;&nbsp; { Print("The creation of iRSI has failed: Runtime error =",GetLastError()); //--- forced program termination...
Hi there. I've created a custom indi in MT5 which I would like to use in my EA via iCustom function. However when I try to backtest my EA, a strange thing happened. I select for instance a test period for entire February and run it...but while looking at the strategy tester window I notice my custom...
Hi i am new to the forum.so I dont know whether this is the correct place to make an inquiry. I recently purchased an EA on the market that is a Moving average crossover. I wanted one that took one BUY trade when the MA 5 crossed above the MA 14 and a SELL trade when the MA crossed below the MA
i have subscribed to a trading signal but i have a problem in that when my signal provider opens a trade, the trade is copied well on to my MT4 terminal but also another false order opens a position on my terminal. i have now seen almost five such cases all of them giving me huge losses. such false
Hi, is there a simple way to specify I want my buy and sell orders only to fire up when price is within Bollinger Bands? I've written logic that successfully fires up orders when Moving Average crosses top or bottom Bands, but once takeprofit or stop loss is reached, the next order fires up before...
Hi there ! I'd like to know if it's possible to load an indicator iMA for only one symbol, from a function, get some results, then unload ? Or does the indicator loading need to be done necessarily in the OnInit() ? If yes, should i use the iMA() method, the indicatorload method, or the class...
I'm looking for 2 scripts to place BUY_STOP and SELL_STOP orders at adjustable price levels with adjustable T/P and S/L settings. Do you have a script that does this? my email is reganbw1@gmail.com Thanks
Can someone help here pls? &nbsp;Im with FXpro and have activated the MQL5 community etc etc and copied signals over BUT no signals tab showing in MT 4....any help gratefully received ! &nbsp;Thanks&nbsp;
As the topic suggests, I want to find out how to "skip" a parameter while calling a function. Being specific, I want to skip the price parameter (thus making the Buy function use default price such as SYMBOL_ASK) m_Trade.Buy(lots,symbol,price,stoploss,takeprofit,comment); So there it is, I want...
Hi there, Why Opened Price of my subscribers is different from my signal? If subscribers don't like to copy orders, which are disadvantage with my signal, what do they do? Thanks Regards Hieu