Download MetaTrader 5

MQL4 and MetaTrader 4 - page 909

To post a new topic, please log in or register
Hi, It is my first post and happy day. I would like hide some selected error (error 0 & error 1) for displaying some other errors only, for example: error 3, 130 and 131. Anyone has a function for this ? Tx for help.
I'm trading using 3 Moving Averages (5, 13, and 50). The 50 Moving Average is my trend line and the 5 and 13 are my crosses. When the 5 Moving Average crosses over the 13 Moving Average (or vise versa) I'd like to enter the trade in the direction of the 5 Moving Average. My issue is that when the...
/////////////////////////////////////////////////////////////////////////////////////////////// void TIME_DEL() { for(int i=OrdersTotal()-1;i>=0;i--) { if(!OrderSelect(i,SELECT_BY_POS,MODE_TRADES)) continue; RefreshRates(); if((OrderType()==OP_BUYSTOP)...
Is there any way to back up those setting i have set for my hotkey for the script. For those indicator, script and EA, i just copy and do a back up, whereas for hotkey, any way to do it? Thanks
Hi, I would like to know is it possible to run EA forever until press the "stop" button ? It is found that : when I run the EA, it just run up to current moment. What I expect is .... as the time goes ..... it would continue to run .... until I press the "stop" button ..... is it possible ? how ?
When I use this way of closing opposite orders in my EA, and the value of two orders does not match, then a new order will be placed by the broker with the difference of values of previous two orders. Eg. Order1 - Short, 2 lotsOrder2 - Long, 3 lots OrderCloseBy(Order1, Order2); // https://docs.mql4...
I want to create an indicator trendline based on two point (one - the highest price of tomorrow and another the last price of tomorrow). Any indicador similar to suggest ? tks.
I tried searching for this but couldn't find it here. So I thought I'll try asking. Is there an EA for managing open positions to reduce risks? Something that does conditional stop adjustments. Like a smart trailing stop. Thanks!
I have downloaded the attached indicator and like to have some suggestions on how to create a signal out of it to program an EA? On the chart you can see that the indicator draws an arrow on a cross of the signal line. It is this signal that I need. Any ideas? Thanks in advance.
Forex trading is very risky business, most of the traders have been losing money at the first start. That is why experience always advised new comers to trade only if they have excess cash or portion of their savings. But there is a way you could Secure your capital, How? The answer is : your must...
I am looking for an EA that will monitor my open orders and automatically place an order for the exact opposite of each trade that is placed. I am using an EA with good results and I want to test some additional strategy. Any assistance is greatly appreciated.
Be careful they are not all trustworthy...watch your $$
Hi all, I wondering if there is a MT4 indicator that shows western bars over Japanese candlesticks or vice versa at the same time, something that overlays each other? Thank you, Pete
Trading manually works well for me, however in trying to automate I am running into an issue. If I use the simple Bands indicator and convert the MA calc to MovingBuffer[i]=iMA(NULL,15,BandsPeriod,BandsShift,MODE_SMA,PRICE_CLOSE,i); I can not seem to get similar numbers if I attach it to a 5...
Hi everyone, I am getting this error with MT4 when i want to set limit for examples below price sell limit or above price buy limit. I tried +100pips +10, 20pips above/below and it did not work. Why? Cheers.
The indicator line "hpvcum" is not showing up. Why? I know it is not doing much right now. I'll make it do something after I see it.
I have in mind a script to drag onto a chart with indicators that will simply toggle the visibility of those same indicator(s). It is easy enough to get a WindowsTotal() count, and then for each window, check "WindowIsVisible(idx)". However, AFAIK, there is no "WindowSetVisible(idx,...
It's the first time ever I wrote a Code lol, I failed big time. It doesn't even start. It's supposed to only open long for now. I tried to do some kind of Fibonacci MM in it.... Oh I feel like such a noob now haaha at least I try tho...
Hi guys, I'm quite new to this format of coding, but would obviously like to learn more. I've started with a simple EA, using the ZigZag indicator, but I'm struggling to make sense of the whole thing . . . The only thing that I'm after, is to report back the last 4 turn signals of the ZigZag...
I need to draw a small chart in a Chart. Anyone was some code to share? Or some indicador for me to look at? thanks.
i have been trading on demo now for 6 months and tried to read anything and everything i can get my hands on about trading forex.i have downloaded and read and understand how dozens of indicators and eas work.my problem is that even if i was trading on pure guesswork i would at least win something...
For example with martingale kinda system if SLR = 0 "open trade (lotsize 0,1) " if SLR = 1 "open trade (lotsize 0,1) " if SLR = 2 "open trade (lotsize 0,3) " if SLR = 3 "open trade (lotsize 0,8) " if SLR = 4 "open trade (lotsize 0,12) " If hit stoploss, set SLR to +1 Do you guys get what I mean?
  Basic News EA (2)
Does anyone know of a basic News EA (or something similar that could be modified) that will allow me to input the following trading system criteria? Maybe I have been looking in all the wrong spots, but I've been totally unable to find anything. Currency PairLeverage: % of account valueOpen Order...
compliment dear, am Micheal my name please i'm new in this forum, and i really need help, i have spend much money in forex trading please be my guardian please
Has anyone found out, what it is that's slowing down the strategy tester? On the one hand I have rather complex EAs that I can backtest in around 10 sec / month. Some other EAs really slow down the strategy tester exponentially and take >1 min/month. I haven't yet ofund out what it is: RAM usage...
New article Applying One Indicator to Another is publicshed at mql5.com: Do you want to improve an indicator for its correctapplication to the other indicator's data? In this article we'll reviewall the steps required for such modification. Author: MetaQuotes
My EA trace resistance line but i'm looking to specfify how much a resistance is strong by counting all the touch made on this line on a ceratin period. ( like Resistance at 0.87800 on AUDUSD -> see image ) How to achieve this ? Thks Resistance Line
I am having troublewith sequential calls to a function that opens a file, reads from thefile, closes the file, and returns the retrieved data. The first function call works, no problem. However, the secondfunction call causes the system to freeze. I have to force close MT4and restart it. Each line...
Hello, I have a EA and can trade your account with it, but just live account with minimum deposit 1000 dollar and i want 30% share of the wins, have you interest contact me, tomorrow we have monday and I normaly just start on monday cooperation with new partner and trade just for one partner. email:...
Can anyone tell me how to update a new PC with the old Mt4/history data from the old PC. I've copied the old history files to the new PC Meta4/history folder but I still need to hit HOME several 100 times for the 1m charts to get back data. Why?? or what must I do to to reuse the old 1m file,...
1...902903904905906907908909910911912913914915916...1249