Download MetaTrader 5

MQL4 and MetaTrader 4 - page 551

To post a new topic, please log in or register
Dear all I am working at exporting prices from the History center to Excel. but i am facing a problem . I have to refresh the history Center by pressing Download every time. Is there any way to make an automatic refresh to the history center without making it manually? Thanks in advanced
//+------------------------------------------------------------------+//|                                                        Ron Greene|//+------------------------------------------------------------------+////  Changed Thresh A to 10 on May 5// #include <stdlib.mqh>//---- input parametersextern...
New article A Quick Start Or a Short Guide for Beginners is published at MQL5.community: Hello dear reader! In this article, I will try to explain and show you how you can easily and quickly get the hang of the principles of creating Expert Advisors, working with indicators, etc. It is...
I mean about MQL4 syntax... I need separate values for 3 last closed orders profit or loss...
In market watch you can select show all, but when changing between accounts it goes back to default setting of showing just a few. When I then place a trade off a chart, it sometimes does not default to the pair being selected by chart, but one that is available in the Market Watch window. Is...
  New day arrow (3)
I am trying to place an arrow on thechart at the start of each day. However the code is only placing anarrow for the start of the last day. //+------------------------------------------------------------------+ //| DayStart.mq4 | //|...
Is anyone can show how to get a change alert if it is a change in Object property of "selected" or "un-selected" into an Indicator Code? Its not of the standard properties as far as I know, but sure there is a solution for this. I would like to use this property as a switch. will...
Can the EA program code determine when an indicator line changes color? Is there such a thing as screen scrapping? Or can an indicator, that creates an object on the chart, pass back a code to the EA that executes it? The code would identify when its object changes color.
I have succeed in adding more conditions for the pattern recognition master but it gives no signal i need help please.
Hello guys, i have this problem, i would memory in to array this file set (but only the default value for all variable): StopLoss_MR=20.00000000 StopLoss_MR,F=1 StopLoss_MR,1=20.00000000 StopLoss_MR,2=1.00000000 StopLoss_MR,3=25.00000000 StartHour_MR=1 StartHour_MR,F=0 StartHour_MR,1=1 StartHour_MR...
I draw daily lines an a chart for pivot and resistance points with values taken from livecharts website. What I then do is draw lines at round numbers, for example the last column here is WTI so i draw 7 lines at the specified values. R3113.321,793.434.582993.753.14982.969995.06R2112.691,788.334...
  millisecond (1)
I need to get the milliseconds() to use like as function seconds() Who can help me? I did not write much because I think I was thoroughly
Every time I try to save a set file in the Strategy Tester screen MT4 it is crashing. It happens when I click on the save-button and the Save As-screen opens it's crashing after a couple of seconds. I have reinstalled version 432 and installed version 438 but it's happening in both versions. Anyone...
Hi, Please show your indicator setup image. Let people view who setup is best.
Normally this is just a syntax error, but i cant find any missing brackets or end of line stuff.. help? the 2 errors: '!=' - left parenthesis expected (52, 13) ';' - left parenthesis expected (54, 21) the code : int hours[];int weeks[];int months[];double lastTick = 0;int hourCount = 0;int...
in both graphs, contains the same indicator configured M30. but in the first graph (M30) has a value and the second (M1) is another. does anyone know why?
How do we compile an EA and run the compiled copy only?
Hi function to check if there is a market trend - based on the intersection of the long and short moving average: int IsAnyTrend(){double LongMa1, LongMa2, ShortMa1, ShortMa2;LongMa1=iMA(NULL,0,LongMovingPeriod,0,MODE_EMA,PRICE_CLOSE,1);ShortMa1=iMA(NULL,0,ShortMovingPeriod,0,MODE_EMA,PRICE_CLOSE...
Hi, all: Seen the articles about the effective smoothing algorithm, and i learn the usage of Jurik algorithm..... after download the NKlibrary file, I have managed to apply the J2JMA,JJurX and so on... But, when I apply the JJRSX indicator to my chart, the indicator show no value.... below is the...
  Hi all ! (4)
My name Jamal and I am new in this forum so I 'm pleased to meet all people and exchange idea about FOREX Trading. Thank you for all
Hi, I would like to add an extra criterea into my EA's buy/sell logic, currently I am using; double signalup=iCustom(Symbol(),0,"YangTraderMain",1,1);double signaldown=iCustom(Symbol(),0,"YangTraderMain",2,1); & if (signalup!=EMPTY_VALUE&&signalup!=0)         {      Order = SIGNAL_BUY;      }  if...
how much is mt4 max open teicket who know,thank you very much not maxlot, is max ticket, examp 80 ticket or 100 ticket
//仓平空的时候,删除所有挂单止损完以后平掉所有挂单开 始   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;...
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...
  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...
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...
I would like to change the color of the chart frame based on whether an attached EA has initiated a trade, (e.g. Blue if no trade, Green if buy, Red if sell). Are any of the Window API functions available to do this? Or is there a better way to quickly see what state a chart is in (I have many...
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...
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.
1...544545546547548549550551552553554555556557558...1249