Thread: How to code?
View Single Post
  #891 (permalink)  
Old 05-10-2008, 04:47 PM
FerruFx FerruFx is offline
Senior Member
 
Join Date: Feb 2007
Posts: 876
FerruFx is on a distinguished road
Quote:
Originally Posted by hiachiever View Post
One obvious thing is that you are missing a declaration for the number of indicator buffers that you are going to use.

This sits in the first part of init
eg
int init()
{
IndicatorBuffers(2);
.....
}
Hiachiever,

I think you dont need to repeat the number of buffers if it is the same as the one defined "#property indicator_buffers 2"

You are right if there's other temporary buffers. But not in that case.

FerruFx
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!!
Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM
NEW: video presentation of the Probability Meter ... 24hrs action on the website
Reply With Quote