Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1002

To post a new topic, please log in or register
I ve got a problem with the graphic Objects, The error Code is" Object name passed to ObjectSet function cannot be an unitiasized or empty string". What does it mean ? Thank you sill3000
  Good idea (6)
(GBPUSD,EURUSD). This expert is realy the best. try it and see the difference This expert don't use any indicator. for more information contact us :gaklb@yahoo.com Params.: Lots=0.1 -->bigprofit=25 Lots=0.2 -->bigprofit=50 ..... Lots=0.5 -->bigprofit=125 The price:Your profit for one month with...
Good day, I'm trying to convert the Alligator Indicator to an EA or at least remove the indicator specific properties. The reason I am doing this is because I need the data that the alligator calculates, but I want to display it using objects to get around the limit of 8 buffers. So far, I have it...
hi! my little script should write the macd indicator and the candles's values. for gbp/usd i can write onto a file 50023 minutes, but eur/usd not. after 2418 minutes the macd + signal are 0. after 29214 minutes all values are 0. my script is  int start() { static int flag; int handle;...
hi guys, i ran an ea and i get this error...the problem is that is has no defined error code, any ideas what could be wrong??? thanx
Hi all, this is my first post, so if I say something stupid, please let me know. I am trying to count the number of UP arrows that is on a certain chart. The only thing that I can find to count arrows, counts all arrows(up and down), but I just want to count only the Up arrows. I am certain that...
i need help to add deviation from 0,25, 0,5, 0,75 and 1.0 line into this indicators, so it will show 4 deviation lines, thank you
I have programmed a pair of nested loops to run through some pairs and some time periods. When I print out the results of loops, I see the pairs and periods are displayed correctly, but when I use 'close' data from the loops, I get invalid data. It seems to repeat the close info from the first pair...
I am looking an EA which should work according according to Fibonacci rule. I explain it as below. say price is moving up and stop at a certain level X and then starts moving down. the EA should execute a pendinding order of buy stop at level X, now the price is moving down. When the price start...
Hello All, Is it possible to get "Print" to print trailing zeros, for example if value = 1.4 print 1.4000 Thank you for yr help
Hi, Is this possible to draw an object in the separate window? Thanks
It appears that there is a problem with the Point variable. I am not registering a valid value for Point. Is anyone else having this problem?
Can not get StrToDouble to work with a string variable as input. Definition for the function is double StrToDouble( string value) so it should work. I put this in to test it out but it always comes back zero. string testString="This - ILTB - time"; Print("The value of StrToDouble is ",...
I'm having trouble with a simple line of code. Say I have 10 orders.... Both "Buys" and "Sells" open (hedge) in a single currency pair. I want to check if I have 2 buys (and 8 sells)... I want to do this to close other limit orders but this line of code is not working.......
Hi - When I'm entering parameters into function, say, iMA, and I get to the MODE and select the MODE, 'PRICE_CLOSE', the help for the function disappears and I can only view the help by returning the cursor to the beginning of the function. Anyone know how to get the help text for a function to...
Learn the Truth About Fap Turbo Subject: Why you shouldn’t invest in FAP Turbo Before we start, let me make this very clear – I hate Forex software. I hate it with a vengeance. Always have, and probably always will. You see, I’m both professional Forex advisor and trader. I make my living, well,...
I have buy fap turbo and after some week with very small trade and very small win,in only one trade hi loose my money. I thought, maybe I made some mistakes, I want to try it on another broker. But when I went into the download section to change broker and have the new key for another broker, I saw...
I have this info being displayed on my main window: Comment("\n", "1 HR Stochastic: " + Stochastic_1hr, "\n" + "1 HR RSI: " + RSI_1hr, "\n" + "1 HR ADX 14 +DI: " + ADX14_DI_Plus_1hr + " -DI: " + ADX14_DI_Minus_1hr, "\n" + "1 HR ADX 5: +DI: " + ADX5_DI_Plus_1hr + "...
Hi everyone, Maybe you guys can help me.. So I assign a global bool variable at the beginning of my script and assign it to false.. But when I run my start function in the tester though, it treats it as if it were 'true'.. I'm probably missing something pretty basic. Would appreciate your help.....
Hi, sometimes I need to compare 2 EA Usually I copy/paste into notepad, save as text and then run some text file compare program. Is this the best way? Thanks
Hi, I'm trying to code an automated alert but my problem is that its triggered only after the candle closed, and is not using actual tick data from an unfinished candle to trigger the alert. the code I tried is like: RefreshRates(); if ( Bid >= Alertlevel) { Alert("Alert"); } I tried the same with...
So it appears that Sleep(), does not work in backtesting. I need to find an alternate, the testing bogs down doing useless calcs. Working on a 4 hr TF I don't need to evaluate my SL on every tick, once a minute is adequate. Any ideas on how I can do that without using the time functions? I can't...
Hi, Is it possible to hide indicators or not display them on a chart? Imagine you want to distribute an EA that assists the trader only signals by displaying arrows. Trader opens and closes positions from EA signals. EA calculates positions from many indicators (so this indics are in mt4 exp/ind...
Hi there! I know I know I know, you've probably heard this one about 1000nd times before, but still, please help me out, it's really driving me nuts I tried opening a new account with leverage 20, but upon checking the account leverage using the function FileWrite(handle,"Leverage:"...
Hi All, Im finishing my thesis on the web and forex, and part of the thesis is a small questionaire, I need as many responses as possible, but to achieve that, I need people who are willing to coorporate :). The questionaire is web based and only takes up to 5 minutes max. Anyway, I am an EA...
Hi All, Ive been trying to figure out what is wrong with my code below. Basically, I want to modify and order's stoploss once it hits a desired price. Please tell me what i'm doing wron.. i've read it over and over a lot of times but still can't get it to work. I'd really appreciate your help. =)...
So I was finally able to get the EA to read GV's from my custom errors thanks to the help of you fine folks :) I'm struggling with some back testing on the strategy tester. I can see that the custom indicator is changing the GV value, so I know it is reporting it to the terminal in the back testing...
I am as well having a problem with scalping the EUR/USD using the 5 & 15 charts. I need a better scalping technique to be able to exit the market with positive income.
1...9959969979989991000100110021003100410051006100710081009...1244