Download MetaTrader 5

MQL4 and MetaTrader 4 - page 670

To post a new topic, please log in or register
As many people know, portfolio strategy can low down the risk greatly. "portfolio" can refer to any kinds of matrix, for example, one EA is applied for multiple currency pairs, or one currency pair with multiple EAs. But I find a problem in backtesting, in MT4 tester, seems I can only choose one...
Hi dear all, want to ask a question about journal in MT4 tester, does anyone know what PrevPL means? I searched all threads in Forum but didn't find any clues about it... seems it's a too basic question to be asked here, but I really want to know the answer. Thanks and Best Rgds!
I need to get: Time, Ask, Bid. For example: 100 ticks ago, what was the tick Time, Ask, and Bid prices? Currently I have achieved this by having the EA save all tick data in an Array when it starts running. However the obvious limitation here is that I can't access any tick info from the time before...
  Html scripts (1)
Hallo, ich bin auf der Suche nach einem Script, mit dem ich einen Leser für Audio-Spuren in eine Html-Webseite einfügen kann. Ich brauche dabei folgende Funktionen: Eine Auflistung der zur Auswahl stehenden Musikspuren, ein Foto, das man in jede Spur einfügen kann, einen Rollbalken, um schnell in...
Hi, From 3 months I founnd good strategy for trading and results are great. I use very strange method but I like it. Can I ask for some help in changing the settings on the indicator I use? if someone want help me, please write private! Thanks
Hi does anyone know if it is possible to average the highs and lows of the current market to determine a stop loss for an ea? The market is trending, ranging, or straight up traveling sideways. I was thinking, why not use an indicator like fractals to determine the average dips (ranges) within the...
I have a function: Alert("Result: ", DoubleToStr(MyFunction(5),2));double MyFunction(int i) {   int k = 43;   return(i/k);}// Result should be: 0.11// Result returned is: 0.00 I've tried it with and without the 'DoubleToStr()' function! The returned result is always the same: 0.00! I've also tried:...
If you move Market Watch and Navigator around with your curser it sometimes suddenly changes to full width of the terminal window. How do you get it back to the normal narrow size?
Hi, I'm quite new to this forum and metatrader 4. I wonder if there is a simple script I can run to download all FX pairs' history data instead of manually download all of them each at history center. Thanks, Zhenduo
  Usa Resitents (8)
I have seen a lot of Broker's saying that usa residents are not allowed .... my question why ?????? and some say it is due to NFA rules ... what is NFA ....///
Hello all. it's me again :(( is anybody there to help me how can i calculate time and price of two crossed trend lines? i have a code for it but it has some worng. i want it be exact with any pips difference... thank you
  ICHIMOKU ORDER CLOSE (12   1 2)
I'm having trouble closing my opened order. Any ideas? //+------------------------------------------------------------------+//|                                              ICHIMOKU_SIMPLE.mq4 |//|                      Copyright © 2012, MetaQuotes Software Corp....
Hi everyone, please, I can´t find instruction for my matter. I saw this somewhere along here.... I want to open new chart with my own template - automatically (with using MQL) Thank you for your help, code example please Nice week! Endy
I wrote an EA shell which uses a DLL function in start() function - and it works OK while in forward test mode, but is no any sign while I try to back test on historical data. and i have also check the options MYDLL's size is 208Kb, it is work well for indicators called this dll with icustom in...
Hello, I downloaded a MT5 from https://forum.mql4.com/13523 and try to test my stratgy via strategy tester. Results are more then good but then I downloaded MT5 from Alpari and tried the same EA. Surprise for me were different results but not the houndreds of dollars, but the different is about then...
Error1 means: "No error returned, but the result is unknown." Typically one gets this if one makes a change and change nothing... eg doing an OrderModify without changing any of the params. I get many of those from this function, but cant figure out why. As you can see before modifying the SL I...
PrizmaL ATC 2011 Download: http://www.mediafire.com/?bgd1mofgse31zpd GalaxyX for EURGBP (no limitations)
Paying is possible to eliminate DLL called in Expert Advisor .EX4? thanks and Regards.
Hi, Does any one know a successful strategy using MT4 indictors? Thank You!
Hi, I am working on a scalping strategy using the Heiken Ashi Indicator. The rules are the following : - check that historic volume and historic ATR are positive - if Heiken Ashi reverse (bulish candle to bearish candle) and if we are under the daily pivot (or 10 pip above) then we enter a short...
Within an EA I want to create a log file that is added to everytime an existing trade gets its first StopLoss assigned to provide a list containing the OrderSymbol(), OrderType(), OrderOpenPrice() and OrderStopLoss(). However, I understand that this file can not be read while the file is open for...
Hi, I wanted to ask if any one knows how to speed up an EA in the strategy tester. (a strategy tester for MQL4). Thank You
I am new to the forum and am engaging a programmer to build an indicator utility for me. I have read the rules for placing the order but have not seen a section that discusses how I put the money under the control of the forum. How do I pay for the service?
Have been trying to develop my first customer indicators. One example sort of worked and I could access the results - great. The following displays nothing in the indicator window - not even the ShortName, parameters - just a complete blank panel I have simplified (and simplified) by removing code...
This is what I really require: I would like to take a basket of about 20-40 stocks, and add to each one alerts for when they break say their 50 SMA either to the down side or to the upside. Than depending on how your alerts work, I would like to go to that chart and trade that stock. Ideally, how is...
Hello I have an idea for a script but no skills in programing it, does anybody do it for free or a fee? Here goes sort of a programming idea, and it should work on any currencie, with 1hr chart, or others but i do this on 1Hr. We could also backtest this and see immediatly if it works well. Many...
I am trying to solve a problem. **** I have corrected errors based on feedback from Raptor and deVries *** Values from the indicator Long Buffer 0 +ve (iCustom(NULL, NULL, "Signal_Indi",12,0,1) Short Buffer 1 -ve (iCustom(NULL, NULL, "Signal_Indi",12,1,1) For Long I test for "Bulls" Buffer 0 >...
Hi, I am having problems in calcuating the exact expected profit and loss. Below is the code. Even if my position closes at exactly the specified TP and SL I seeing variation in actual profit and loss. I believe I accounted the spread in the below code. Please verify and help me. double tloss=0;...
I've been trying to create an expert advisor which will automatically buy 1 unit when the tenkan-sen>kijun-sen (when the tenkan-sen line is above the kijun-sen line) and then sell it once the tenkan-sen is lower than the kijun-sen. However, it has been difficult to take profit once the tenkan-sen is...
I have been trying my best to get this right. Can't quite seem to get er. I decided to put the StopLoss and Target Price in the MACD Sample for now to make things simpler. Not worried about the ECN Pips2double adjustment code right now. I have it in some other EA'S and I think it is Ok. Just would...