MQL4 and MetaTrader 4 - page 1003

//仓平空的时候,删除所有挂单止损完以后平掉所有挂单开 始   int chidan=0;   int guadan=0;   int chicangshu[10000];   int guacangshu[10000];   int zuidasuocangshu2=getzuidasuocangshu();      if(OrdersTotal()>0)                    {         for(i=0;i<=zuidasuocangshu2;i++)           {              chicangshu[i]=0;...
[Deleted]
Pairs:Any Time frame: 1M only INDICATORS: heiken ashi, ema 5,10,20,30,40,50,60,70,80,90,100 (blue), envelopes ma method ema period 5 deviation 0.05 (green,red), envelopes ma method ema period 10 deviation 0.05 (green,red), envelopes ma method ema period 20 deviation 0.05...
[Deleted]
  ICHIMOKU PSAR  (1)
ICHIMOKU PSAR STRATEGY Time frame :1M or more Pair :major Indicators: ichimoku 9,26,52, heiken ashi,parabolic sar 0.02,0.2. SHORT OR LONG POSITION : WHEN cross red line to blue line then entry AND EXIT when price cut psar or change heiken ashi color . avoid...
[Deleted]
Hi, I'm writing a script scanning all the market (symbols and timeframes). The script creates a new chart for each "opportunity" I find (based on a logic I created). So far I managed to do (thanks to the information I gathered in this forum of win API functions :)). Now I need to draw trend lines on...
It is a well known fact that most people loose money trading, usually it is only a matter of time. If it weren’t true the trains and buses would be empty at 8 am, nobody would go to work anymore. A fundamental reason why it is so difficult to trade successfully is that the market is extremely...
New article Trade Operations in MQL5 - It's Easy is published at mql5.com: Almost all traders come to market to make money but some traders also enjoy the process itself. However, it is not only manual trading that can provide you with an exciting experience. Automated trading systems development...
[Deleted]
Hi, Can anyone suggest a good COT Report Indicator? I've looked but the only I can find is quite old and some of the comments are not encouraging. Thanks for any help.
[Deleted]
Usage that code martingale which for multiplying a lot starting with a loss so forth till the MaxLotsAllowed double CalculateLotSize(){   //Calculate Martingale lot size   if (!UseMartingale) return(Lot);         //Find most recent trade   if (OrdersHistoryTotal() == 0) return(Lot);   double...
[Deleted]
how can i identify when i'm logged off? putting the IsConnected() on start will not work cause when i'm logged off start is not happening
[Deleted]
I tried creating a 2 line cross EA using a custom indicator (Triple EMA or DEMA) crossing an EMA, but it does not make trades; however, the EA compiles just fine. If someone could review the coding below and help me out, I would really appreciate it. Thanks. EA:...
Hi i want to download specific range of history for mt4 an example just the 15.08.2012 as 1 min instead of whole history then i can export the file as cvs from mt4 to excel how to do this ? will i always have to do everything startover to end thanks best regards
I want to write a function, which do: It must watch all pending or open orders in the chart, and if it is one of all orderSymbol which match a symbol in the chart, then nothing happens. If all OrderSymbols don't match symbol in the chart, then do other function. This is my code, but it doesn't do...
  Free lectures from Stanford University  (80   1 2 3 4 5 ... 7 8)
If you have a good command of English and a desire to improve your skills in artificial intelligence and machine learning. AI -- http://www.ai-class.com/ IO -- http://www.ml-class.org/course/auth/index AI lectures include data mining if anything. Really don't know at what level. MO is more into
[Deleted]
I want know how apply this indicator JJN-Nugget on my metatrader 4 platform.Please help me out.
Please can anyone give us (me) a step-by-step guide on how to setup e-mail alerts on the mt4 platform? Also you discover that on windows xp, it is always easy to display statement and detailed statement of account. Now in Vista and Windows 7, it is almost impossible. Can anyone who has succeeded in...
I need a profit order close function for a EA, but this one will close all working orders anyone can help to allow close for symbol and magic only? if (AccountProfit()>= My_Money_Profit_Target)   {    for(i=OrdersTotal()-1;i>=0;i--)       {       OrderSelect(i, SELECT_BY_POS);       int type   =...
[Deleted]
  R - please share your experiences  (74   1 2 3 4 5 ... 7 8)
Kodobase has posted a dll to access the R statistical analysis system. the access itself looks awesome, but tried to use it on a test case level it didn't work. R runs, but the statement doesn't execute. Can anyone help
I want to do this: There is a line on the chart, I get price from it. After Ea restart I want this line get back in that price, which it was before restart. Can I do this without saving the price in the file? If can't do, so how to save it to file, that doesn't overwrite prices, because this EA will...
Hi all, I have got a wonderful EA from this forum which works very gr8 on longer timeframe.. I am testing it on 1 hr timeframe.. its simply a EA which takes position when price crosses Exponential moving average (12) with a new candle opening.. it books partial profit (variable) in 5 parts....
Is there a way to skip any given pass of an optimization before that pass is completed? For example, if the relative drawdown % of a pass is too high at any point in that pass, then it is a waste of time to continue to the end of that pass, and it is better to skip straight to the next pass. I have...
Hello Everybody! I'm interested in a robot that actually does NOT make money and Loose money. OR it does between a very narrow range. The job of this robot should be to make lots and lots orders and should make as little as profit that win the broker spread back, and no more profit required. The...
-
To anyone with Sophos on their PC or VPS The MT auto-updater is likely to be damaged by the latest version of Sophos - see here for the 'Critical Advisory' on the subject The risk to the rest of your MT installation is unknown Consider excluding the MT folders from any Sophos access.. Please consult...
Hi, I have got an ex4 file which send's it's orders with take profit. Is there any possibility to get the order information from this EA and open the position withount TP and SL first and than sending the boarders?? I want to use this EA with an ECN Account. I tried GetLastError() but I always get 0...
[Deleted]
On occation if I try any EA in my MT terminals it will show in the Expert tab "loaded sucessfully" and then immediately " removed ". I did not remove anything. Ea is enabled (has the smiley in the chart window), but just does nothing. Not even the {init} part. Am I missing something here? Just one
Hello guys. I wanted to develop a trailing stop based on fractals. Basically I wrote two routines to get the fractals when they unfold and another function that is main double last_high() {   int j = 3;   double fractal = 0;      fractal = iFractals(Symbol(), Period(), MODE_UPPER, j);      if...
I HAVE A PROBLEM SOME TIME WINDOWS UPDATE OR ANY OTHER SOFTWARE INSTALLED IN MY PC THAN MY MT4 INDICATORS NOT SHOW CORRECT PICTURES OF INDICATORS IN MT4 CHARTS SEE PICTURES FOR UNDERSTAND ONE PICTURE IN GOOD AND ONE IS BAD WHAT IS THIS PROBLEM AND WHAT IS THE WAY TO CORRECT THIS PROBLEM I AM NEW...
what is stoplevel &freezelevel and how does it affect trading? Some say it affect your trading but in what way? Please i need an explanatory answer. Thanks
[Deleted]
  Please help me  (4)
Please help me.I am not a programmer. I really need help inbuilding a strategic AE in my three consecutive candles. signal began to appear two (H1) candles in oppositedirections. at least the second candle opening price equal to the closingprice. Case 1: If the first candle down, second candle up,...
[Deleted]
Hi today my broker got v434 and after updating from v432 to v434 my EA did silly things - long used save settings causes now crash in Tester - and some Mt4i scripts do also not more work. I wonder why a update to v434 dated 3 Set 2012 is not mentioned at this forum at all by Metaquotes member here!...