Forum

function unexpexted

does any one can solve my problem here ,, i got warning 2;116;C:;'(' - function definition unexpected 2;75;C:;'tipe' - variable not defined 2;116;C:\- function definition unexpected why i got that problems double j(string m,int n, int tipe) double t=0; for(int i=0; i<OrdersTotal(); i++) {

'i got errror in the jam trade function not define please help me im newbie here

int Jam_trade() { bool trade = false; if(Mulai_Jam > Akhir_Jam){ if (Hour() >= Mulai_Jam || Hour() < Akhir_Jam) trade = true; } else if (Hour() >= Mulai_Jam && Hour() < Akhir_Jam) trade = true; return (trade); }