MQL4 and MetaTrader 4 - page 1280

[Deleted]
I was wondering if this can be made. for a trailing stop EA. What I want this EA to do is for example I have a open order and I set my trailing stop at 20 here is the interesting part. Lets say the order hit’s the trailing stop above 20 and the starts heading the opposite direction, I want the EA to...
Hey Guys, Wondering if someone can help me on this: In my code i try to generagte a random number and store it as a variable like this: rannum=MathRand(); Print ("A: ", rannum); <I then have lots of other code > Later on i try to print that exact same number in another print statement... Print ("B:...
[Deleted]
Hey guys, I'm looking for people to help me develop widgets for my website. If anyone is willing to help, please email me at jeffrey.lever at gmail.com My website is www.ForexBallot.com, and it is meant to guage investor sentiments about how currency pairs will move in the market over specific time...
[Deleted]
double sMACDi = GlobalVariableGet(sMA); if (sMACDi == 1) //If Signal Line Crosses MACD Line, Buy { Opn_B=true; Cls_S=true; } if (sMACDi == -1) //If Signal Line Exits MACD Line, Sell...
hi how i can determine one bar(candle) in what day of week open or close ? Please Help Me
[Deleted]
Hi there, I am new here and I have come across a problem I can't seem to solve in my script. I am trying to open and close a file and add information to it. Now the documentation of this procedure seems fairly simple but it just won't work. filehandle=FileOpen(filename...
hi, please i need someone to tell me how to write the word "or" in mq4 language. for example, i know that "&&" represents "and", but i don't know what represents the word "or". so that i can write,if (ema1>ema2 or macd1 >0) so that the ea will take action if anyone of the 2 conditions is met. any
[Deleted]
hello, i know there are several program that save file, e.g. .csv .txt .prn. can anyone kindly create a .mq4 program that change year format, for example, year 2009 to 1999? year is only thing i concern. i want date and time not changed at all. THANK YOU.
[Deleted]
This is an Idea that can hardly be original, however long and committed searches and web discussions have turned up to/with naught. The assistance of the community or individual programmers is being sought there either to share or develop this utility. It’s value is immediately clear, however I...
[Deleted]
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...
[Deleted]
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;...
[Deleted]
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
[Deleted]
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...
[Deleted]
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
[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