Friday, August 31, 2018

Introduction

I have been battle for almost four months, trying to get my head around the issues that arises when you set your indicator or expert adviser to #Property strict. So in this  article I will show you how I went about solving any issues that only arise when you use #property strict. 

Array Out Of Range

This has to be the most talked about error and the most misunderstood error. from my try and error, Its best to avoid using a for loop, instead use a while loop.

int i,        // Bar index Counted_bars; // Number of counted bars //-------------------------------------------------------------------- Counted_bars=IndicatorCounted(); // Number of counted bars i=Bars-Counted_bars-2;  // Index of the first uncounted while( i>0 ){ i--; }



from MQL5: Traders' Blogs https://ift.tt/2LC69yh

Related Posts:

  • LATEST STOCK MARKET NEWSCanada on Sunday began imposing tariffs on $12.6 billion worth of American goods like ketchup, pizza and iron in a tit-for-tat retaliation for President Donald Trump’s slapping fines on steel and aluminum imported into the Un… Read More
  • LATEST STOCK MARKET NEWSSuperstar LeBron James, who led the Cleveland Cavaliers to the NBA Finals four straight years, has agreed to a four-year, $154 million contract with the Los Angeles Lakers. from MarketWatch.com - Top Stories https://ift… Read More
  • LATEST STOCK MARKET NEWSFacebook Inc. disclosed it gave dozens of companies special access to user data, detailing for the first time a spate of deals that contrasted with the social network’s previous public statements that it restricted personal i… Read More
  • LATEST STOCK MARKET NEWSPerry Ellis International Inc.’s founder is about to get some competition on his proposed buyout of the apparel brand. from MarketWatch.com - Top Stories https://ift.tt/2lKUbYs … Read More
  • LATEST STOCK MARKET NEWSAndrés Manuel López Obrador, a divisive former Mexico City mayor who vowed to upend Mexico’s corrupt status quo, appeared to win Sunday’s presidential elections by a big margin, moving the country’s politics sharply to the le… Read More

0 comments:

Post a Comment

Followers

Contact Form

Name

Email *

Message *

Popular Posts

FOLLOW BY EMAIL

Enter your email address:

Delivered by FeedBurner