Download MetaTrader 5

MQL4 and MetaTrader 4 - page 667

To post a new topic, please log in or register
I have spent quite a bit of time on this to get it to work. Tried other Trade Order formats and that didn't work either. I have never done any programming before when more than one currency pair is used in the code. Am still new at the code also but doing ok. This thing has got the best of me...
  Server Down? (2)
So, will it be that way every week-end?
Hi all. I'm new to mql4 but I do my best to learn coding. I have created my first EA using custom indicator which I post below. Indicator //+------------------------------------------------------------------+ //| DT-ZigZag-ATR.mq4 |...
I have this for the True Strength index: Parameters Raw (Raw = 25 ) Smooth (Smooth = 13 ) Indicator programming NetChg = MOMENTUM [ 1 ] Value1 = EXPONENTIALAVERAGE [Smooth]( EXPONENTIALAVERAGE [Raw](NetChg)) Value2 = EXPONENTIALAVERAGE [Smooth]( EXPONENTIALAVERAGE [Raw]( ABS (NetChg))) IF...
Hi, Given the current weakness of both EUR and USD, and the subsequent volatility of the market, it would seem to me that backtesting & optimizing an M15 timeframe-based EA on any more that the most recent 12 months of Historic Data would be a complete waste of time. I would like to know what...
Hello Forum, does a triggered buy_stop order get a new order with a different MagicNumber? If so, how can i get an association between this two orders? Thank you in advance
why on strategy tester it work well, but on simulating trade, it won't work. ticket= OrderSend(Symbol(),OP_SELL,Lots,Bid,30,HighestPrice+200*Point,0,"",0,0,Red);
I have 2 questions if I may. I'll start with the easy one 1st: 1. Is there a way to specify how a level in an indicator looks? I know though properties but I want it to be set when the indicator is added to the chart. I'm talking about the horizontal levels for the window indicator not on-chart...
Hi I want to display 3 indicators in separate window but show those and a 4th value in data window. Everything works except that the scale of the 4th value causes the display of the first 3 values to be crammed together. How do I prevent the 4th value from affecting the vertical scale of the display...
Is there anyone interested in meeting in Canberra and chatting about MQL4/Forex? If there is please PM me. If there is a lot of interest maybe I could look into getting a venue so we could all meet and talk...
Is it appropriate to post Wanted Ads Here? If not, where on the forums. I am looking for MT4 Indicator Launch assitance. Jim
Hi I'm looking for antriple crossover macd indicator or advisor for MT4.The trading idea is whenmacd cross to the same time on the 4hour 1hour 15 and 4 min chart to thedownside or the upside we can expect a very strong move to the down or upsideand trade with a minimum on risk and a big and log move...
Does anyone know how to copy / paste a price from 'live' update to excel, say price at 10:00am without losing it when time goes to 10:01am? Thanks
Is there some way to have vertical lines across a chart to automatically mark designated time periods? For instance, I would like to be able to have my M1, M5, M15, M30, and H1, charts divided into clearly discernable 4-hour time units. Upon seeing the Cycle Lines in the Insert list, I thought I...
Bonjour, je veux simplement ouvrir un topic pour ceux et celles qui veulent poser leurs question en francais et veulent des réponses en francais. Pas toujours évident de traduire les termes de trader, programmeur, et le jargon MQL alors je crois que si nous nous réunissons sous un même topic, nous...
My optimizations can't do all the results, do you know why?? I have some backtests under 200 optimizations working fine, but i have problems with more than 200 optimizations... I get a lot of "No result" boxes. reply
Ergent !!! S.O.S Hi, I need to write an Indicator that display 3 elemnts in it, its should show stochastic & parabolic & moving avarage only the moving avarage and the parabolic should have as a datasource based on the stocastic, the stochastic have 2 returnd parameters fast and slow. the qustion...
I have a couple of custom indicators and I want to develop an EA that uses them. Is it possible to do this with MQL4? If so, how does one get the custom indicators into the EA and how does one access their data inside the EA?
Patrik Polak
Hi guys, i need help with set of stoploss in my EA. I need code for this: if the current price is 20 pips greater than the opening price of current trade, set stoploss to the opening price of current trade. Thank you
  EMA? (9)
I'm having a heck of a time writing a 20 period exponential moving average to plot across this histogram. Any help would be greatly appreciated. //+------------------------------------------------------------------+//|                                                       zscore.mq4...
Hi, I wanted to use my EA for EURUSD and also buy an position in this EA from GBPUSD. But I am getting the OrderSend error 4106. Can't I open a position from another symbol??
Hello Everyone, I want to change object name. Is it possible ? Or I need to create new object with the same parameters and delete old object ? Edward
The file in my log folder is just an old experts file.
Hi, This might have been asked before. If so please kindly point me to the particular thread as forum search did not turn up any relevant result. I would like to add a code to my ea so that the ea will stop trading after reaching a certain number of target pips (e.g. 50 pips) for one trading day;...
2 accounts 1 demo 1 real VPS same broker. It looks to me like my EA in my real account is not being initialized. I have a comment in my Init() section that displays The magic number on the chart, I only see that in the demo chart. The EA is should send an email telling me that its loaded and ready...
  help please (1)
Hello people, i am looking for someone to either, show me how i can get the live data from the charts off and put into excel format csv or comma, so i can use this for a another charting prog i have, or someone program for me to be able to do this. Of course i am happy to pay something towards your...
Dear Guru's; I have a simple EA that calls up iStochastic for the previous bar. The %K line is exactly right when checked via the subsequent print statement. However the %D line is way off and does not correspond to any nearby bars. I have tried using both "MODE_SIGNAL" as well as "1" in the mode...
i'm trying to create a chart for a pair that doesn't exist (of course in the company i'm working with), so i took the "period_converter" indicator & made some modification (file attached) i got in the expert tab zero divide & doesn't working what can be the problem thanks for your help
Hi, can I do a stategy test from my ea, which uses file-functions? The ea reads the different ordersettings from the txt-files. Thank you!
I have a general question for those who have already developped and tried their own EAs and have some experience with automated trading... Do you find zig-zag approach useful for automated / semiautomated trading? Are zig-zag based EAs performing well (if done by professionals)? Is zig-zag worth...
1...660661662663664665666667668669670671672673674...1244