[Deleted]
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
[Deleted]
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
[Deleted]
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?
[Deleted]
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...
[Deleted]
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,...
[Deleted]
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...
[Deleted]
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 + " -DI: " + ADX5_DI_Minus_1hr, "\n" +
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...
[Deleted]
Simple question. I have been working on a virtual account with MetaTrading4 (Alpari DC Charts and Conditions) for over half a year now . I work sometimes when I remember. I make bets on hourly and half-hourly charts. I use different indicators, build lines etc. Daily on Virtual account with an
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...
[Deleted]
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:"...
[Deleted]
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. =)...
[Deleted]
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...
[Deleted]
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.
Hello, after optimiser.ini is copied to the tester folder, what shall I do to run the tester from an external program? just run terminal.exe ? Does terminal.exe take input variables like "terminal.exe param1, param2 ..." ? thanks
[Deleted]
I've been dabbling in FX for a few years.... sometimes a lot more active than others. I've gotten back into it again and am currently coding a mini MQL4 emulator in VC++ to help me with logic bugs that always creep into my EA's that take forever for me to find in MT4. Instead of doing something...
[Deleted]
It appears that when I call a custom indicator from an EA in the tester using iCustom -- everything works perfectly -- but When I drag and drop the custom indicator into the tester "session" -- (the currently executing test) - the indicator does not recognize that it is in fact in testing mode - the...
[Deleted]
The system is listed below which utilizes 5 second timeframe. It works but you can go crazy watching the market this close. I was wondering if someone could figure out a way to make an mt4 indicator for it. i think it would be pretty dificult but someone says that they already have done it but wont...
Hi, I am a newbie to MetaTrader. I simply checked out a few indicators for building an Expert Advisor in order to start my introduction to the MQL4 language. I found the juice indicator, which produces a grren/red histogram. You can find the indicator here: http://www.extrafast.onpw...
I'm calling this function from the EA's deInit, But none of the objects are deleted... Any idea why ? //---------------- DeleteInfoBackground -------------------------void DeleteInfoBackground() {//Objects created has names like: RecW11, RecW12, RecW13, etc..//But for some reason they won't be...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.