This up/down PIPs count indior counts at first the lead bid rate. It must count 0 up down pips at starting of count and after that it's to count normally. Starting first counting bar is the problem can some 1 fix this situation? The indior is under attached.
Regards,
Vinay
#property indior_separate_window
#property indior_buffers 2
#property indior_color1 Green
#property indior_color2 Crimson
//-- buffers
//extern int MaxDrawBars=20;
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double CurrentTick;
double PreviousTick;
// ------------------------------------------------------------------
//| Custom indior initialization function |
// ------------------------------------------------------------------
int init()