Forum

Problems related to iCustom Functon...

when i use the iCustom function to fetch the values from the data window and alert the values , I get the values.. But when i compare that values to Open or Close function it doesn't take any trade according to my condition //+------------------------------------------------------------------+ //|

Can Someone help me with OrderSend Error 4051

I am getting error as invalid lots amount for OrderSend Function . When I check the value of values of entryPrice, stopLossPrice , I gets it as 0. I don't know where am I going wrong. My code is as follows: ***