is there a way to test the below function return result as true or false by Print/Comment or alert?
Inserted Code
bool TradeEntry(int type){
if (type == 0)
{double BTP = Ask + (TakeProfit*Point);
double BSL = Ask - (StopLoss*Point);
if( OrderSend(Symbol(),OP_BUY,Volume_,Ask,10,BSL,BTP,NULL,0,0,clrBlue)){
return true;}
}else{
return false;}
if(type == 1)
{double STP = Bid - (TakeProfit*Point);
double SSL = Bid + (StopLoss*Point);
if( OrderSend(Symbol(),OP_SELL,Volume_,Bid,10,SSL,STP,NULL,0,0,clrRed)){
return true;}
}else{
return false;}
return false;
}