Forum

help ObjectsDeleteAll

datetime itime[ 2 ]; itime[ 0 ]= iTime ( _Symbol , PERIOD_M15 , 0 ); itime[ 1 ]= TimeCurrent (); string name= "open" ; double iprice; iprice= iOpen ( _Symbol , PERIOD_M15 , 0 ); ObjectCreate ( _Symbol ,name, OBJ_TREND , 0 ,itime[ 0 ],iprice,itime[ 1 ],iprice); name= "high" ; iprice= iHigh ( _Symbol

Bug setting value of a double variable

Hello good Morning! double fibo = 78.6; however when displaying this information in the chart the result is 78.5999999999999... Does anyone know why this bug happens, and how to solve it? I want to display the information in the graph and in this format it gets in the way, I tried using