MT4 Error 0

 
11:35:00.585 Nasdaq Ghost Robot Platinum US30Cash,M5: Error: 0
0 11:37:17.910 Nasdaq Ghost Robot Platinum US30Cash,M5: uninit reason 5

0 11:37:17.954 Nasdaq Ghost Robot Platinum US30Cash,M5 inputs: NGRP=Settings; LotSize=0.01; TakeProfit=150.0; Stoploss=50.0; PercentToRisk=0.02; Layer_Multiplier=8



I am getting this error while running my bot for US30 and US100, however it works fine for all the FX pairs and gold. Can anyone please help me to fix this ??

 
Naveed Umar: Can anyone please help me to fix this ??

Only if you/they have the code. Zero means no error

Check your return codes, and report your errors (including market prices and your variables). Don't look at GLE/LE unless you have an error. Don't just silence the compiler (MT5/MT4+strict), it is trying to help you.
          What are Function return values ? How do I use them ? - MQL4 programming forum (2012)
          Common Errors in MQL4 Programs and How to Avoid Them - MQL4 Articles (2014)

 
William Roeder #:

Only if you/they have the code. Zero means no error

I am pretty new to this MT4 and Bot thing, where can I see the codes ???
 
Naveed Umar #: , where can I see the codes ???

From where you got the bot. Do you really expect an answer? There are no mind readers here and our crystal balls are cracked.

 
I bought the bot the owner and try to run. It works fine on all the Fx pairs and gold, however its unable to pick any order for US30 and US100.