[help]Running results

 
int start()
{
int limit;
int counted_bars=IndicatorCounted();
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;
for(int i=0; i<limit; i++)
{
ExtMapBuffer1[i]=Close[i]>=Open[i]*1.1;
}
return(0);
}
Running results,why?
 

Before posting please read some of the other threads . . . then you would have seen numerous requests like this one:

Please use this to post code . . . it makes it easier to read.

 

Does this make sense to you ?

ExtMapBuffer1[i]   =   Close[i]>=Open[i]*1.1;  

//  Close[i] >= Open[i]*1.1  results in a bool

is your buffer a bool ?

 
tempasdf:

int start()
{
int limit;
int counted_bars=IndicatorCounted();
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;
for(int i=0; i<limit; i++)
{
ExtMapBuffer1[i]=Close[i]>=Open[i]*1.1;
}
return(0);
}

Running results,why?

I didn't quite understood your question, you would obtain more answers by expanding a little bit. However, at first glance, the following statement will result in a boolean answer.

ExtMapBuffer1[i]=Close[i]>=Open[i]*1.1;    // Bold code will return either true or false

So ExtMapBuffer1[i] will either have 0 or 1 as values. Is that what you wanted?

Tell us the goal of your indicator so we can help.

Reason: