MQL4 and MetaTrader 4 - page 1087

To post a new topic, please log in or register
Hello All. I am o.k. with creating a file and writing to it. handle1 = FileOpen ("details.csv", FILE_CSV, ',') ; handle2 = FileWrite ( handle1, ticket, lot); But if I try to write to the same file and add information to it, without deleting what is already there I...
Hi all, Need to detect indicators and their input parameters on a graph by using a script. Anyone has ideas? Is it even possible? Thanks in advance!
I need some suggestion about using the array... i already read some topic that related with array, but still confused... here is what i am up to : ~ i want to use two dimension array with element fills with price that given. i.e : First Dimension for BuyStop Price and Second Dimension for Sellstop....
Hi. It is possible to create a data-history with own's candlesticks, with invented open-close prices, to simulate certain market's conditions in order to verify if a own code work properly (debug), if it do in practice(on MT4) what theorically(strategy) should do? (in example open buy when last MA...
I've created a for loop to run through a predetermined number of bars, and provide me with the difference between bar A & bar B storing it in new array. Here's my code: for(int z = 0; z < BAR_COUNT; z++) DIFF[z] = {BarA[z] - BarB[z]}; THanks for any help
I am new here, and this is my first post here, i have a perfect strategy for 1 hour charts,that is reliable, and i need a coder for it to make an ea for me. if you are interested you can pm me on asiwajuwilly@yahoo.com. thanks
hi im a newbie so sorrry if ur not the correct person to ask, but im looking for a plain martingail system that buys and sells as soon as u put it on and goes up and sells according to a take profit and dubles if ur on a lose of a specifieed amount of pips iv been on the lookput for a month but all...
OK, Library development - its simple right ?... I have a library file in my "include" folder, its not a header with function prototypes, its a proper in-line #include of a source file. Its a self-contained set of code. It goes like this... #property library// Pseudo constantsstring...
Hi all, I have constructed some custom indicators lately and I had a problem that all newest bars are not updated. They stayed flat at zero. Here's my code, can someone please advise? Thank you. if(Bars<=MA_Period) return(0); i=Bars-counted_bars-1; Print("Bar is ", Bars);...
Make profit 250% a weeks IT's Fake Don't buy anything from this hustler
Hi, maybe someone can help me here. I'm trying to convert an EA to trade on 4 pairs. However the EA calls the functions : High[i], Low[i], Open[i] or Close[i]. Since the EA should be attached to 4 charts, how can i make sure the functions High[i].... return values from the pair i need ? Here is one...
I have used a custom indicator on chart which alert me everytime to buy or sell when it is the right time. I want this to be automatically done in EA. I want to write an EA program so that it can detect any alerts arisen so as to place the order. Is there any good way to do it?
Hi, my friend, i understand you are so busy, but I need some help to create a simple EA, I just need that the expert open one trade position when the bar opens and close the position qhen the bar has closed. I thing is simple but can you helpme?
Hi, I found this nice Ea, it enters a trade at the first psar signal. Then it exits at the reverse signal on a second psar. The only problem is that it enters multiple trades on a single candle if the 2 psars are to close. I tried figuring out how to make it only take one trade per candle or give...
Im am trying to write an alert to make a noise when price crosses SMA 100 from below and closes above it and similarly when price crosses SMA 100 from above and closes below it. I am not a programmer but i did some reading and came up with this (see below) but is doesnt work. can any one help me...
Hi,  I have found good historical data to import for backtesting and it's in 1 min timeframe. I can import it just fine. However, I don't have any clue how I test for 15 min, 1hr and 1 day. It should be pretty simple to derive all the other time frames from 1min. What's the correct procedure to do...
Could anyone please help me with this? I'm trying to play a wav file multiple times when an alert is triggered. With the code below I finally got it to play but only once. For some reason the sleep and while loop they're in don't do what I would expect. if ((DoAlarm) && (AlertTrig) &&...
Hello, Do someone has succeed to display a MTF indicator in the tester ?it seems, it doesn't works with indicators calculted in an other timeframe than the current timeframe.Bye Wap
  asian Broker? (1)
ciao guys i am testing some brokers but i have noticed that tha best are ECN brokers. the problem is that there are a few number of these brokers ( MB trading probably the best) i am working on my EA with metatrader for EUR GBP but i dont find a broker with metatrader who can guarantee 2 pips of...
Hi Guys, Anybody can tell me about the DDe tool or point me to some accurate and updated information? Thank you
New Version: MetaTrader 4 Client Terminal Build 224Added new error code 149 ("Hedge is prohibited") that isreturned to a client at the attempt to open an opposite position to anexisting one if hedging is prohibited.Changed descriptions of some functions in MQL4 Help.Fixed operation of the ArrayCopy...
Hi... anyone can help placing sound alert on the signal of this indicator?
The new Release Of DollyEA For more Information Contaact Us:gaklb@yahoo.com
Hello to all A very interesting site, with some much diversity in knowledge. Impressed I am. As you can guess, I am visiting here for my first time today, and I sure that I have not looked in every corner of your site. But could someone point me to the direction where I can build my own system. it...
I told the Strategy Tester to use the date range of 1994.01.01 to present and it always defaults to 2009.02.03 to present. Is there something that I'm missing? My settings
Fellow traders Alway trade in the morning period (nija for life), 2pm n set ur machine in the nigth at 11oclock against the nxt day. Ensure u have a good connection 24hrs. usaoladele@yahoo.com (nija's voice) Happy trading Kind Regards Gbaoo
HI ALL, I WOULD VERY MUCH LOVE SOME HELP WITH A VOLUME INDICATOR IDEA. WOULD IT BE POSSIBLE TO HAVE THE PRICE AT WHICH THE HIGHEST VOLUME WAS ACHIEVED IN ANY GIVE TIME FRAME BE HIGHLIGHTED ON THE BAR ITSELF ON THE CHART? CURRENTLY IF I WANT TO KNOW THE EXACT PRICE AT WHICH THE MOST VOLUME CAME IN ON...
I am a newbie. I wrote a small EA for starters. I have set up alert whenever a particular indicator rises above a specific value. Alerts are showing up as expected. However, I am not realizing that there is an alert until a few mins after the alert. I don't have separate computer for MetaTrader. I...
Hello, i create a dll that write a file to specific directory, the bug happen when i run mt4 from desktop's shortcut .. it crashed the mt4, but if i run mt4 directly from windows explorer everything works perfectly. Any idea how to solve this problem... needs help !