Bug: ChartPriceOnDropped returns 0

 
After some day I resumed using MT5 and ChartPriceOnDropped() always returning 0 and ChartTimeOnDropped()) returning 1970.01.01. 00.00.00

I have reinstalled the program, but it's the same

Nicola

 
NicolaGrippaldi:
After some day I resumed using MT5 and ChartPriceOnDropped() always returning 0 and ChartTimeOnDropped()) returning 1970.01.01. 00.00.00

I have reinstalled the program, but it's the same

Nicola

It's working fine for me, can you post your code ?
 

hi, this is my code

//+------------------------------------------------------------------+
//|                                                testIBarShift.mq5 |
//|                        Copyright 2014, MetaQuotes Software Corp. |
//|                                              http://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2014, MetaQuotes Software Corp."
#property link      "http://www.mql5.com"
#property version   "1.00"
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
  {
//---
   double droppedPrice=ChartPriceOnDropped();
   datetime droppedTime=ChartTimeOnDropped();
   Print(droppedPrice+" "+droppedTime);
   
  }
//+------------------------------------------------------------------+

mt5 version 5.0 build 1010

thanks

 
NicolaGrippaldi:

hi, this is my code

mt5 version 5.0 build 1010

thanks

You are right, but this bug is already corrected. Wait next build.
Reason: