Forex Forum - EarnForex
Serving Traders Since 2005
 

Go Back   Forex Forum - EarnForex > MetaTrader > MetaTrader 5

MetaTrader 5 MT5 is already out of its beta stage, but the development is ongoing. Some brokers already offer real accounts and the interest of traders is growing. You can discuss anything related to MetaTrader 5 in this forum.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 7th September 2011, 05:06
Default Avatar
Senior Member
 
Join Date: Aug 2011
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
Default Alert not reporting correct ArrayIsSeries

Hello

I am getting false in the alert output of this code where I am expecting true.
Can some body please tell me if I am wrong?

thx

MQL5 Code:
      MqlRates myRates[]

      int copied=CopyRates(_symbol, _period, 0, bar_count, myRates);
      ArraySetAsSeries(myRates, true);
      if(copied<=0)
         Print("Error copying price data ",GetLastError());
      else
      {
         Alert("Copied ",ArraySize(myRates)," bars");
         Alert(PeriodSeconds() + "  " + ArrayIsSeries(myRates));
Reply With Quote
  #2 (permalink)  
Old 7th September 2011, 07:09
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

Looks like a bug to me. Tried different cases and ArrayIsSeries() always returns false.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The system that makes THOUSANDS of correct predictions every day! globalmarketing Advertisements 0 15th August 2011 09:49
CCI alert intraforex MetaTrader Indicators 8 22nd February 2011 13:08
TRADE ALERT eja Advertisements 0 12th October 2010 07:24
Trade Alert eja Forex Signals 1 11th October 2010 07:04
Alert question intraforex MetaTrader Indicators 13 13th April 2010 08:10


All times are GMT. The time now is 10:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Inactive Reminders By Icora Web Design

SEO by vBSEO 3.3.2