Download MetaTrader 5
To post a new topic, please log in or register
Some people say that renko charts eliminate time, but on renko i know that after the price x, the market goes to price y. I have a notion of before and after, so my question, why it's not considered time? And if it's considered time, so we have 2 kinds of time on the markets, the original and the...
Hi, Please coder do alert for this indicator. Thank you.
I know sharing my indicator. But I want co-working between users and developers. I don't know how to promote my work. I think that i am good at making my eas, but I cannot promote myself. And I don't have any interest about it. Any Suggestion about promoting published items, Please comment it. Thank...
  Traders Joking  (10633   1 2 3 4 5 ... 1063 1064)
Do you have interest or hobby outside trading ?, or some jokes and humor for other forumer ? or maybe something else ?, Well, why don't show it here. Life is NOT all about trading or programming, and so is this topic, and you must participate in this topic ;D.
  Become an Author at MQL5.com!  (120   1 2 3 4 5 ... 11 12)
Thenew MQL5 Community website at http://www.mql5.com keeps developing. Weinvite all of you to make your contribution to this development. Thenew MQL5is the evolutionary continuation of MQL4. The new language ischaracterized by the support of object oriented programming, by ahigher code execution...
Hey all,  Right now am automatizing my process of optimizing and running tests, I have one question: I want that the terminal automatically exports the single test report in .xlsx format, but when I try to specify Report=\abcd.xlsx on the .ini conf file, it still exports the report as abcd.xlxs.htm....
Hi, I've been working with MT4 for 2 years now and I've done very well. I've explored a little MT5, but I prefer to continue with the version I have. I would like to know if you know how much longer you can continue to operate in MT4, I do not know if they plan to discontinue this version or what...
Dear Coders, I'm working on an MT5 Expert Advisor. I would like to use the OrderSelect() function, but it doesn't work for me. Every time I get "Order not fouund" error message. Here is my code: int ot = (int)OrderTicket();if ( OrderSelect(ot) ){   Print("OrderSelect done."); // pr() function is...
Hello, I just bought an indicator, it works great on one of my computer but not on the other (same MT4 build: 840) same everything (broker, install, etc) just on one of them I don't have signal tab nor market tab. What does mql5 requierd to work ?? Because clearly one of my computer is missing...
I have purchased an indicator - how do i install????
I observed a trader do very well over a two month period via a signal.  Completed over 13,000 trades with a 70% win rate, only 16% drawdown and over 115% return in two months. I have log of the trades, so I would like to build an EA using this log. Is that possible ? Any help would be appreciated....
  Forecast and levels for Crude Oil  (91   1 2 3 4 5 ... 9 10)
Brent Crude Oil April-June 2017 Forecast: weekly correction with possible breakdown; 49.69 support is the key W1 price located above Ichimoku cloud in the bullish area of the chart. The price is on the secondary correction which was started in the beginning of January located within the following...
  Forecast and levels for USD/CAD  (80   1 2 3 4 5 ... 7 8)
USD/CAD April-June 2017 Forecast: ranging inside kumo waiting for direction of the strong trend to be started W1 price is located inside Ichimoku cloud for the ranging market condition within the following support/resistance levels: 1.3598 resistance level located near and above Senkou Span line...
  Press review  (6175   1 2 3 4 5 ... 617 618)
This link provided to me by RaptorUK, give me the idea that it would be interesting to have a place here on the site to share such links. So I opened a new topic, it will be moderated to follow the rules as usual, but also about the content. Everyone can post but have to provide a quote and the...
  News Trading  (11   1 2)
Hi everyone, Does someone know (or can write) any EA showing news points on the chart AND place an order as a function of the outcome of that news? Neither of market EA give access to the news outcome (they rather determine the news time)! Thank you in advance for any advise,
  Forecasting indicators  (335   1 2 3 4 5 ... 33 34)
Please find some indicators which are forecasting something. First is i-DRProjections_v.0.1. This indicator shows the support and resistance of current day forecasting on the base of previous day. All the calculation is based on Thomas R. DeMark book "New Science of Technical Analysis".
Hi again, The Multiple Regression Analysis and Forecasting template provides a solid basis for identifying value drivers and forecasting time series data. While it utilises a range of commonly employed statistical measures to test the validity of the analysis, results are summarized in text for ease...
  Very Profitable System....-Roi system  (86   1 2 3 4 5 ... 8 9)
Hello!. I'm using this system alredy few monthes and this is very good. now I'm looking to make it Automatic, if someone can do it for me, I'll send him the Indicators and we will make EA together... SO, This is it: Enter Long: First sign,When the Violet up arrow apppers Second sign, when the price...
  Earn more than 60 pips daily strategy  (61   1 2 3 4 5 6 7)
Today i will discuss a strategy I work on it for 3 years . i like it very much and i acheive daily from it nearly 100 pips This strategy has a take profit and stop loss But profits are greater than loses several times Advantages of this strategy 1.you are with the trend 2.ratio between stop loss...
  Suggestions for Trading System  (137   1 2 3 4 5 ... 13 14)
Same idea as with other: if you have a good idea for a Trading System? Post here and we will develop it (all ideas will be evaluated first).
  Daily Breakout EA  (122   1 2 3 4 5 ... 12 13)
Hello Trading Fellows. First, look on my strategy: - Everyday on 0:00 GMT I make two pending orders: 1. Buy @ yesterday high 2. Sell @ yesterday low TP and SL for example: TP:20pips SL:15pips end. On GBP/USD, TP: 20pips, SL: 15pips in 32 days I have: 8 loss = -120 pips 25 win = +500 pips On another...
HI, my dear traders, this system is very simple,as well as very effective. no any confusing more indicators, no more complex strategy. this is a cool system. It is based on Renko chart. 1. open 1minute chart of EUR/USD. 2. add renkolive ea in to this chart 3. open 2minute offline chart of EUR/USD...
  PriceChannel Parabolic system  (280   1 2 3 4 5 ... 27 28)
Some people asked me on the other forums about re-enter. But I am not using any indicator for re-enter. So I decided to create some simple trading system with re-enter based on indicator's arrow on the chart. Let's name it as PriceChannel Parabolic system. M1 timeframe. This is image for EURUSD...
  Hull Moving Average's Trend System  (107   1 2 3 4 5 ... 10 11)
The system was posted by bradman when he needed this system coded. The system is simple. Long when HMA trend is up, and short when HMA trend is down. Attached is the EA, automated script for metatrader 4, and indicator of this system. You must install both of them. This expert advisor features: You...
  ASCTrend system  (1301   1 2 3 4 5 ... 130 131)
Some people say that it is the best signal system in the world. It is very famous system and it was developed in the interesting way: Russians recognized this system for MetaTrader some years ago and this western trading system was not very profitable (I am talking about MetaTrader only) but had as...
  Very Profitable Heiken-Ashi System  (64   1 2 3 4 5 6 7)
Greetings, I, like many others, have been searching for the perfect trading system, and I believe I have found it. I'm writing to ask you to examine this system and provide any constructive feedback that you might have. When I say "perfect" trading system, I do not mean to imply that it has no...
Hello everyone! Some years ago I found on another website, a strategy that works good and I added a little something that makes it even better. Here's the original strategy and then my little addon... <strategy> You make 1 trade per day on the EURUSD Your "day" ends at 4:59EST and starts at 5pm EST...
  Signal trading  (21   1 2 3)
I'm worried about opening this thread, because I'm afraid I'm not talking about a particular major, I'm a junior trader, but I want to talk about this thread. 1. How to use the signal to trade 2. How to use the oversell and oversell indicator 3. How to optimize the signal and reduce the frequent...
Trading and training video (from youtube for example) about forex and financial market in general.  thread for April 2013 - look at this thread,  thread for May 2013 - look at here,for June 2013 is here.July thread 2013 is hereAugust thread 2013 is this oneSeptember thread 2013 is hereOctober thread...
  Forecast and levels for Dax Index  (49   1 2 3 4 5)
Dax Index January-March 2017 Forecast: flat within bullish with key resistance at 11,649 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 11,485 level to above on close weekly bar with 11,649 as a nearest bullish target to re-enter. Thus, the weekly price is...
  Bermaui Analysis  (122   1 2 3 4 5 ... 12 13)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
Broker A has a CFD for Nikkei 225 using USD as margin currency Broker B has a CFD for Nikkei 225 using JPY as margin currency The price rises by 100 basis points. Do you make more profit with broker A if USDJPY goes up at the same time?
  Forecast and levels for S&P 500  (372   1 2 3 4 5 ... 37 38)
S&P 500 January-March 2017 Forecast: long-term bullish ranging within the narrow s/r levels for direction W1 price is located far above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following narrow support/resistance levels for the bullish trend to be resumed...
Hello, I have studied, tested and succesfully traded a system on CFD.  think about the premarket stock trading: there are thousands of stocks even blue chips that makes gap 2-3% during premarket and you probably think " damn if I could have entered before the gap"...but the truth is that every...
Hello all, I have a question for those who are experienced with EAs. Do you think it's possibile to build an EA, backtesting it and trade with it in a 15 min delayed market/market data?  What precaution should be taken to be sure you're not committing bias or logical errors?  Do you know any CFD...
Download Link: https://www.dropbox.com/s/h3f859ghwf58v5l/BinaryEasy%20Dolly%2015%20FibBreakOut.rar After watching different youtube videos about different systems It came into my mind to try an build an binary options strategy towards CJA's (TSD) Dolly 15 system. Make an breakout strategy that...
Bitcoin vs USD January-March 2017 Forecast: key resistance level at 850.15 to be broken for the bullish trend to be continuing Weekly (W1) price is located above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following support/resistance levels: 850.15...
  Volume and Tick chart  (20   1 2)
Hello, I am currently using MT5 for futures and I was wondering if there would be any updated version where I can use charts based on volume or tick and not time. Ninjatrader, or TradeStation, Sierra all have this capability, but not Metatrader 5. Any help would be appreciated!
It is very sad that majority of the people that get involved in the forex business end up losing their money but I will explain the major reasons why this happens below: 1. Leverage and Margin - Trading on margin seems like a fast way to make quick profit however, this gives birth to greed as a...
  Forecast and levels for Nikkei  (27   1 2 3)
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.24 17:18 Nikkei Q1 2017 Fundamental Forecast: Bullish (based on the article) Fundamental Analysis  "The Bank of Japan has been buying stocks for over two years now. And in September, the...
  MT5 real FUTURES broker  (20   1 2)
Hello, is anyone aware of any futures broker that offer its client the MT5 trading platform? Is there a list of those? I mean real futures, not CFDs. Futures that trade on CME Globex and Eurex exchanges. Thank you.
AMP Futures has officially announced the launch of the MetaTrader 5 platform for trading futures. AMP Futures is a US regulated Chicago-based Futures Commission Merchant (FCM) providing access to the global electronic futures markets for individual traders, as well as US and foreign Introducing...
DJIA January-March 2017 Forecast: long-term bullish; resistance level at 19,987 is the key W1 price is located above Ichimoku cloud in the bullish area of the chart: the price is on testing 19,987 resistance lkevel to above for the primary bullish market condition to be continuing. The price is...
Hey all, Right now am automatizing my process of optimizing and running tests, I have one question: I want that the terminal automatically exports the single test report in .xlsx format, but when I try to specify Report=\abcd.xlsx on the .ini conf file, it still exports the report as abcd.xlxs.htm...
Hi I am running into some problems with my code: timeAndDateArray[3]={"2018.07.20 8:29", "2018.07.20 8:30", "2018.07.20 8:31"};int i = 0;for (i=0; i<=2;i++){printf(iClose("USDCAD",PERIOD_M1,iBarShift("USDCAD",PERIOD_M1,StrToTime(timeAndDateArray[i]))));} This just returns the same price over and...
With two trials to get the profit of the last closed position (Hedging account), I am not arriving anywhere. The first trial is personal, and it goes like this: //+------------------------------------------------------------------+//| Ask: MQL4...
I'm running two similar EA's on the same symbol in a demo account to compare the behavior between them. But it is very difficult to understand the visual comparison because the MT5 join the indications of trade of both EA's in the symbol graph. Someone know how to make a visual comparison easier?
I need an ea that stops other ea if spread is too high.
First I have to tell you the objective of my EA, I try to create a single side (buy only or sell only) grid ea that opening x pips away from current ask with Buy limit and Buy Stop and take profit at x pips Ex. 300 pips Grid will be >>> #1 Ask = 0.00300 tp at 0.00600 and #2 BuyStop at 0.00600 tp at...
I need help with creating an EA. I have the chart templates and indicators to use, the system work very well manually, now I want to let it auto trade. Anyone who can help with writing it please
Hi, I like to know if functions like:HistorySelect(), and HistoryDealGetTicket() are being allowed during backtesting. In other words, does History cache gets filled with the simulated trades?
Hello I designed a robot and I have trouble running it on several pairs at a time ...   can you help me ?
I want to set my TP based on a target % of my account balance. Example: Balance=$100 Lotsize=0.01 EURUSD Target % profit = 0.5% of balance Once I have the $value per point I can then calculate my TP   
Hi there, Im trying to set up a WebRequest in an Expert Advisory, wheras the server needs ~5-10 min to come up with the response. Even though I set the timeout to 3600 seconds, I get a "read timeout" after exactly 10 seconds. The following code can be used to reproduce the behavior for MT5 Build...
  Spread values of bars ?  (11   1 2)
hi, functions : CopySpread() and iSpread return the spread value of bars. What's definition of spread for BARs ?!!! (as compared to tick spread) Spread at any tick = Ask - Bid. Ask and Bid can change each tick, and bars are accumulations of ticks. so spread of bar is first spread of ticks of that...
Hello, I am new under MT I use to trade with PRT, I am testing some EA on MT4 and I would like to know how :  - to change trade number label by date ?  - to have more time of test ? Thanks in advance AF
Many traded instruments start trading session not at full hour, e.g. US stocks, some indexes and commodities. In MT4, when the first bar starts for example at 8.30, all subsequent 1H bars will start at 9.30, 10.30 etc.  But there's significant difference with MT5 platform. It starts the first bar at...
What it is: Below, you'll find my Swiss Army EA. I've designed it so that it can manage orders in your MT4 terminal using a large variety of methods. Features includes breakevens, trailing stops, setting/removing for takeprofits and stoplosses, and many close-out conditions; you also have ability...
  Market Hours Indicators  (165   1 2 3 4 5 ... 16 17)
Does anyone have an indicator that will highlight the major market hours for London, New York, Tokyo... etc. The only similar indicator I have will only let you highlight 2 zones. Any help is appretiated.
  Stochastic  (69   1 2 3 4 5 6 7)
I decided to make some indicators' review based on trading experience and using them inside manual trading systems. So, please find the first thread about Stochastic Oscillator. Feel free to add or write any comments concerning this indicator about how to use it inside trading systes, how to trade...
  Adaptive lookback indicators  (1273   1 2 3 4 5 ... 127 128)
Of adaptive lookbackThe Adaptive Lookback (period finder) is truly a market-driven indicator used to determine the variable lookback period for many different indicators, instead of a traditional, fixed figure. It is based on the frequency of market swings - the time between swing highs or swing...
Hi there, does anyone know how I would add a specific start time and end time to this indicator so that it doesn't cover the whole day? //+------------------------------------------------------------------+//|                                                    ColorBars.mq5 |//|...
Hi, I would like to know from mentor here if is it possible to code MACD into Stochastic?  What i'm trying to get is if the MACD "MAIN" at stochastic Overbought or Oversold, will gave the alert. if it's possible, what are the code that i need to use? Thank You!!
Hi guys, Can someone tell me how to add a expiry time for my indicator. Regards.
======================================================================================== formula this indicator input symbol1 = currency 1 input symbol2 = currency 2 SpX2 = Absolute(Close from currency 1 - Close from currency 2)*100,000 and have zero line now Plot "SpX2" to chart same  macd and RSI...
Dear All, I have an old collection which is giving alert when 2 ma crossover. But I need to add "Shift" option to get signal as per my own set up. So, If someone can help me to add this option, would highly appreciated. Here I am attaching the file, pls see and modify if possible to you. Thanks in...
hello friends, I need help. I desire STOCHASTIC indicator for MetaTrader 5 with audible alert when crossing area of buying and selling. * to MetaTrader5. SOMEONE HELP ME VERY GRATEFUL FICO. HUGS
Hi MQL community, I'm trying to normalize the bollinger band values into 5 digits from 6. I tested using an alert and the value had been normalized correctly. However, when I run my EA in the strategy tester, it still shows 6 digits. P.S. I have included a MQL4 to MQL5 converting file in the header....
This one is for those that use metatrader 5 Metatrader 5, unfortunately, did some things that hardly are logical. One of the things done by it is that builtin averages (and all the other builtin indicators) are not functions any more. That is as big a nonsense as it can get. Instead of making...
  [DL] Trend scanner and Currency index  (100   1 2 3 4 5 ... 9 10)
Here is my contribution to the community...two very useful custom indicators. If someone dont know how to use them feell free to ask.
Hello all, I have an idea :  - hide/show (not delete) objects on the graph (channels, rectangles, lines...etc)  with a same prefix (My_Prefix_Object1, My_Prefix_Object2, My_Prefix_Object3...etc). My question : Is it possible to do it ? Maybe with "ObjectFind" (?) And how hide/show ? .......
Hey there I am trying to find an indicator for MT5 that will alert me when there are x amount of consecutive candles. for ie. if candle = bull; then candleUP = 1 if candle = bull; then candleUp = 2 if candle = bull; then candleUp = 3; if candle = bear then candleUp = 0;(reset) ; candleDown = -1; if...
Strength Arrow: This is an indicator which totally based on RSI. The reason to amend this indicator is knowing the strength of a currency. Author: Khurram Mustafa
  Indicators: MA_BBands_YXF  (31   1 2 3 4)
MA_BBands_YXF: The indicator is a combination of MA channels and Bollinger Bands. Author: johnsun888
  Indicators: RSISignal  (11   1 2)
RSISignal: Features Displays 3 RSI lines of different periods and the MA of the first RSI line (smoothed RSI), Displays the MA of the smoothed RSI. The crosses of smoothed RSI and its MA can be used as the signals, Displays histogram for RSI or its Moving Average, Colored level lines, Two color MA...
  Experts: Close at Profit  (31   1 2 3 4)
Close at Profit: Close all trades after reaching defined profit or loss Author: Matus German
  Experts: Close@Profit  (13   1 2)
Close@Profit: Expert Advisor that closes orders after defined profit or loss. Author: Jan Kafka
New article How to Order an Expert Advisor and Obtain the Desired Result is published: How to write correctly the Requirement Specifications? What should and should not be expected from a programmer when ordering an Expert Advisor or an indicator? How to keep a dialog, what moments to pay special...
  Experts: Grid assistant  (11   1 2)
Grid assistant: The Expert Advisor is designed for placing managing grids. Author: Vladimir Khlystov
  Experts: Renko 2.0 Offline  (26   1 2 3)
Renko 2.0 Offline: Renko 2.0 Offline non-trading expert generates custom symbol information on 1M chart. Important! Always leave it on M1 chart. A complete Renko chart with wicks. Now Offline! Based on Renko 2.0 indicator. References the Symbol library for MetaTrader 5 by fxsaber. Configure using...
New article Random Decision Forest in Reinforcement learning has been published: Random Forest (RF) with the use of bagging is one of the most powerful machine learning methods, which is slightly inferior to gradient boosting. This article attempts to develop a self-learning trading system that...
  Experts: VFX London Breakout  (136   1 2 3 4 5 ... 13 14)
VFX London Breakout: Expert Advisor which trades breakouts in several pairs during the London Session. Author: Vinicius de Oliveira
3 Rules MACD: Almost every trader used or at least took a look at Gerald Appel's MACD. Looking at our Old Bag of Tricks we rescued a technique several traders used/use which is adding additional filters to MACD in order to avoid false or weak entry signals over traditional crossovers. We...
  Experts: RoNz Auto SL-TS-TP v.2  (150   1 2 3 4 5 ... 14 15)
RoNz Auto SL-TS-TP v.2: EA for Automatic StopLoss, Take Profit, Profit Lock, and Trailing Stop. SL and TP could be hidden. Author: Roni Nafrianto
SHA256, SHA384 and SHA512 + HMAC: Many developers need these functions, while working with different kinds of external APIs, like Bitcoin and altcoin exchanges where it is often necessary to send data with the confirmation of parameters validity through HMAC-SHA512, HMAC-SHA384 and...
New article Step-by-Step Guide to Writing an Expert Advisor in MQL5 for Beginners is published: The Expert Advisors programming in MQL5 is simple, and you can learn it easy. In this step by step guide, you will see the basic steps required in writing a simple Expert Advisor based on a developed...
Volume Zone Oscillator - Floating Levels: Indicator is based on the "In The Volume Zone" article by Walid Khalil and David Steckler. An axiom of technical analysis states that with few exceptions, all technical indicators can be classified as either trending or oscillating (non-trending) in...
  Coding  (1)
Hello everybody, I just wanna ask some help in coding this strategy: {If candle 3 close and the RSI crosses below level 20 and candle 2 close below RSI level 20 and  candle 1 close below RSI level 20}; open SELL position and opposite with the BUY position Thank you very much. I hope that somebody...
Hi, Could someone give me tips for this ? 1. Two MT4 are running on the same PC. (each terminal is working on a different account number but of the same broker and account type) 2. I want to create a Expert Advisor code that runs on one of these terminals (let's say 'terminal A') and monitor/operate...
  Coding help  (7734   1 2 3 4 5 ... 773 774)
Hi, Mr. Guru could you please help me to constantly refresh an ea after each tick movement. I have tried everything, But I just can't make it refresh constantly. What lines of code must I insert to keep an ea and indicator refresh after every tick? Tnx
How can I calculate the required margin? Required Margin = Trade Size / Leverage * account currency exchange rate (if different from the base currency of the pair traded) How to calculate 'margin' for a trade + margin for 45 pip SL? Before I open a trade, I think I need to collect this info: -...
I'm trying to get the stop loss in my EA to auto set behind last three bars can someone show me how this is done, when complied I get error, not all control paths return a value how do I fix this? I have some idea that I have to use: return StopLossBuy;
Hey, I have been trying to get my head around for loops in order to store data in an array.  a = (Current>High[i+1] && Current>High[i-1]);           for(a;!a;a++)       {       High_Array[h]=Current;       }// So Current is = High[i]// int a;//double High_Array[];^^^^^^^These have all be clarified...
I need two code for my coming up EA...  Before building it,  I want to test an old ea with two conditions..  if you give me the code,  I will be glad... Code it please....    EA will not take one more entry on same pair...  Like if it takes one trade open from eurusd pair,  until it is closed, no...
Hello everyone, Im making my first indicator and I dont understand why its not refreshing/calculating the first bar. The indicator works with no errors apparently. As soon as I drag the indicator to a chart, the whole buffer is ok, but the first bar is 0. And the next bars that will eventually feed...
Hello to everybody, I am getting mad in dealing with array passing to a function. I have defined a function called clear(), with the following prototype void clear(string &[],int); and defined in such way: void clear(string &myArray[],size) {} But when I call the clear function  string...
if (counted_bars<0) return(-1);   if (counted_bars>0) counted_bars--;   limit=Bars-1;   if(counted_bars>=1) limit=Bars-counted_bars-1;   if (limit<0) limit=0;     for(i=limit;i>=0;i--)   {      hhb=Highest(NULL,0,MODE_HIGH,dist,i-dist/2);      llb=Lowest(NULL,0,MODE_LOW,dist,i-dist/2); Hi all,...
Hi Is there a way to use mql4 to open 4 charts and tile them on the top of all other charts so that only these 4 charts are visible and equally sized in 2 rows and 2 columns? Thanks
hello, so i included the #include <stdlib.mqh>   i wanna use the std::map from this tutorial http://thispointer.com/stdmap-tutorial-part-1-usage-detail-with-examples/   but when i trying to write std::map<std::string, int> mapOfWords; i getting errors ...   please can somebody help me that uses c++...
Hi. Can you help me to replace iRsi with iChaikin (highlighted in yellow)? int OnCalculate(const int rates_total,                const int prev_calculated,                const datetime& time[],                const double& open[],                const double& high[],                const double&...
Dear developers, My EA put 2 pending order before the news time. my broker is TRUE ECN and my account also TRUE ECN. I am using MT4. Buy Stop at : 67.70 Sell Stop at : 67.30 With the news time Sell order activated by moving 22pips. So it placed with next available price. Price 67.30 no longer...
Hello, I noticed that in order to read data from an attached chart, I can use CopyHigh() function, for example. Everything is OK when I try to get chart datas of a recent, for example datas of May 3 2018. But when I try to get chart data of an older date, for example May 3 2005, I always get 0.0...