MQL4 and MetaTrader 4 - page 1097

To post a new topic, please log in or register
Hi, I am developing an indicator based on another indicator (channelProfit). What I am trying to do is detect when the channelProfit changes its signal (its buffer 6), and signal it in my indicator with an arrow (separate wondow bottom row). In addition, I am trying to see what's the situation on...
Hi I am looking for a way to smooth an eMA with my own function contrairely to the pre-defined constants in the "applied_price" parameters. (see iMA function). Is it possible ? otherwise what is your suggestion ? Thanks in advance Fabio
pls how i can i do it? If i want an EA to work for specific period for example: from November 2009 to April 2010. How can i do it? Pls somebody help me.
I am trying to create a vertical line at any specified time. For example the 6am candle. I have scoured the net for a solution but I can only find people mentioning using 0 fof teh last created candle or time[1] for the candle before the last, time[2] for the secodn from last etc etc. Is it possible...
Yes!! It is true. A audjpy trading strategy thatdoes not lose. No hype. No B.S. Here is the proof!! http://www.ballentinefx.com/StrategyTester7F.htm It is on ebay here: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=130351543580&ssPageName=ADME:L:LCA:US:1123 40 pip take profit 110 pip stop
Hello to all, The search box gave me many articles to read as to history download. But I have not seen a solution for incomplete download message that I constantly get when I try to export the history of any currency with a timeframe of 1 hour or less. Example, I go to History Center, choose...
hi, my Mac has an OS X 10.4 - to my knowledge this is too early to have an Intel processor. Is there any way I can download mt4 software to trade with ?
Hi, I'm really new to programing amd I decided to make the first tryout changing the MACD sample EA, but I can't get it to work, I get always the same errors in the tester. Then a installed the MetaTrader again and I don't get the error messages, but it doesn't trade. Can anyone give an hand? Thank...
  perceptron (4)
Hi guys, someone uses perceptron indicators? On your experience, what is the optimal number of bars for a good training of the neural network? Thanks and good trading!
For each index I use a different EA and different magicnumber. The orders open correctly but afterwards all EA's exept 1 stop working. I do not find out why and ask for help what to change and where I could find answer regarding my problem. The code is as follows: (kindly amended by an EA posted in...
If I would like to send order to market and I have to round the function or variable (double type) to 4 or 5 decimal points then better to use NormalizeDouble or DoubleToStr function ? For example we have: double price_ask, price_bid, lots; price_ask = Ask+my_function()*Points; price_bid =...
Hi, I have opened a micro account where 1 micro lot equals 0.01 Lots. How can I calculate 1 PIPS value of EURUSD for opened 0.01 Lot position in USD? And how can I calculate the value of 1 PIPS/Points into USD for the other currency pairs? Is there any function on Meta Trader 4 ? MarketInfo()...
I have a custom indicator that places an arrow at the close price when a direction change is imminent. When the indicator is run in the visual mode of the back tester the arrow will appear and go up and down with the close price until the candle closes at which point the arrow remains at the close...
derzeit ist das Thema automatisierter Handel in aller Munde. Leider gibt es jedoch bis jetzt noch sehr wenig Informationen dazu. Anbei ein paar links für weitere Informationen. www.meta-trader.deInfos zur Handelsplattform www.best-eas.com Top Ten Ranking der besten System www.metatrader-eas.com...
Hi, I am writing an EA which is working with CSV-Files. For testing I put my CSV Files in the following folder: /tester/files Here is only a small part from my EA: [CODE] int handle = 0; int Long = 0; handle=FileOpen("LongMarket.csv",FILE_CSV|FILE_READ,';'); if (handle > 0) {...
I tried for days now to include a code in the uploaded EA. The EA uses a TP by now and opens Position based on a Martingale System. I want to replace the original TP with the following idea: The EA close all orders if he has at least open min. 10 Trades AND is in a hedged Situation (min. 5 Sell and...
Hey all, 1st time poster. I have been hard at learning forex trading for a while now. Its very difficult learning trading alone but meta editing is getting the best of me. Anyways, to the point. I have been tweaking and learning all i can in meta editing, trying to get an EA to perform task that i...
I need someone to program a robot/script thatextracts trade reports for as many mt4 its used on. This is a breakdown of the specifications andfunctionality of the robot software I want programmed this robot function when installed on anuser’s computer Extract real-time trade reports as the...
  usd x
Hello, I apologize if my text is understandable, but it is an automatic translation, I am French. I try to reproduce USD INDEX starting code here: https://www.mql5.com/en/code/9390 But that does not work and since I started coding, is that someone could tell me what does not please. I attached the...
Hi All, Is anybody know how to deal with the attached indicator? I'm trying to build an EA base on this indicator, but somehow the indicator's color and the indicator's buffer is inconsistent. I can't see it repaint though. For better understanding, please look at the simple file written as an EA...
Let say, now there is an MACD crossover, how to record its time (the closing time of that particular bar), and later when i want to open a position, i want to know how far the current time is from that MACD crossover time? I want to open a trade only if the current time is less than 10 bars away...
I have read that the calculation of the maximal drawdown in the tester is not based anymore on the Balance of the account but on the equity. On the article https://www.mql5.com/en/articles/1403 describing the code of tester report, the calculation of the drawdown is still based on the balance. Can...
I am new in EA coding,but i don't know if it is possible to put an EA WITH SAY "trader xpert" in more than one security window e.g the same expert being placed to trade in EUR/USD WINDOW,EUR/GBP WINDOW,USD/JPY WINDOW all at the same time with their result not conflicting or affecting one another...
Hi everybody, I am little lost with how mql4 draw a histogram on chart window. The main thing I want to do is get the previous candle's Heiken Ashi values. Since it is a histogram, there must not be any High, Low, Open, Close values, but some histogram values. Where does the histogram values draw...
Does someone know how to code the following Idea: If we have a hedged Situation (f.e.: 10 Sell and 10 Buy) AND a specific proft target is reached --> Close all orders My Problem is that i dont know how to count the amoung of open trades. UPDATE: I have a first idea but it doenst work fine. The EA...
and iStoc.. for example. I believe it is kind of library but I don't find it. if it is than,Lately, I made my custom indicator, Is it possible to add it to the library(with the adjustment: " iMyIndicator"). Thanks all.
hi all how can i store a bool in global variable? thanks
each time optimizer does next testing loop with a changed combination of extern values Does it start EA fresh from init()? ie, asif first time EA ran... iow, each new testing loop init() called?
The challenges facing currency trading are being answered by only one software in this planet. The Ivy-Bot. The Ivy-Bot trading Robot is built to make money no matter whatever way the market turns. While many of the other systems were blowing out accounts, the Ivy-Bot team was actively adjusting...
Hi, I currently am able to develop EAs and indicators using pure MQL4 language only. May I ask what other languages can my MQL4 programs benefit from? For example, if I can program in C++, I can make my MQL4 code call the mentioned language and do amazing stuff like: encryption, http connection, web...