NicolaGrippaldi:
After some day I resumed using MT5 and ChartPriceOnDropped() always returning 0 and ChartTimeOnDropped()) returning 1970.01.01. 00.00.00
It's working fine for me, can you post your code ?
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
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:
You are right, but this bug is already corrected. Wait next build.
hi, this is my code
mt5 version 5.0 build 1010
thanks

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have reinstalled the program, but it's the same
Nicola