Forum

how to use IfObjectExist

Hi is any can help how to code if and object exist do next? example code: void Arrow() { ObjCount += 1 ; string objName = "EAChart_" + ObjCount; ObjectCreate (objName, OBJ_ARROW , 0 , Time[ 0 ], Bid); ObjectSet(objName, OBJPROP_COLOR , White); ObjectSet(objName, OBJPROP_ARROWCODE

data exporter - candle info to excel or txt file

hi below code is export data from mt4 to txt or csv , (1) i want to have all number in 5 digit , now when last number is 0 its donot write it exmpale it write 1.22320 --> 1.2232 ? And also (2) how to make to get 200000 candle info or more candle? and one more quastion (3) right now when the file is

Custom max in strategy tester

hi I need to have result on strategy tester based on win(total)% and loss(total)% .(in percent%) I found below code -- but look like need little change ! //--------------------------------------------------------------------- // The handler of the event of completion of another test pass

need a little help to read data from CSV file in MT4

Hi dear friends Is any one knows how to make the below code that it work?? It should read from "Callouts1.csv" (File is located in ...\experts\files\) ------------------------------------------------------------------------------------------------------------------------- int Handle; string FileName