Forum

Could anyone help me to have a look what is the problem of my "candle long shadow" code?

i tried to code a function to see if there is a bullish candlestick with long shadow/wick, but when i backtested it, there are many trades happen in candlestick without long shadow/wick. i double check my function, i really could see any problem, could someone help? thank a lot. input double

How to get the result from default indicator?

Hi all, i am newbie of Mql4, i am trying to write my own code, i want to leverage some result of default indicator, i tried to get them by my coding, but don't why doesn't work. I guess (rates_total) is the result of the indicator, so i created a variable for storage of result: int Awesome_result =

return value of 'ordersend' should be checked issue

i can't see any problem on my codes, can anyone help pls? if (signal == "buy" && OrdersTotal ()== 0 ) OrderSend ( _Symbol , OP_BUY, 0.10 ,Ask, 3 ,Ask- 200 * _Point ,Ask+ 200 * _Point , NULL , 0 , 0 ,Green); if (signal == "sell" && OrdersTotal ()== 0 ) OrderSend ( _Symbol