OnCalculate' function declared with wrong type or/and parameters
int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[], const double &open[], const double &high[], const double &low[], const double &close[], const long &tick_volume[], const long &volume[], const long &spread[]) <--- should be an intLong Hoàng:
hello experts,
im verry struggling with this warnings 'OnCalculate' function declared with wrong type or/and parameters
help me pls.
thanks everyone.
you expect anyone to read this? use the code button </> (alt-s) to post code or attach it as a file....
Look carefully at example code in the documentation
The &'s are in the wrong spot. They are placed at the end of the identifier type, and not at the beginning of the identifier name.
hello experts,
im verry struggling with this warnings 'OnCalculate' function declared with wrong type or/and parameters
help me pls.
thanks everyone.
here is my code (if there is any problem other than this OnCalculate function please comment to help me too).