Wrong parameters count error.
You are attempting to pass a single parameter (true) to each of four functions which you have declared not to expect any parameters to be passed to them when they are called.
CB
cloudbreaker,
Got that corrected. Thank you. :-)
Corrected Version:
if (openlong()==1) xopenlong();
if (openshort()==1) xopenshort();
if (closelong()==1) xcloselong();
if (closeshort()==1) xcloseshort();
cloudbreaker,
Got that corrected. Thank you. :-)
Corrected Version:
if (openlong()==1) xopenlong();
if (openshort()==1) xopenshort();
if (closelong()==1) xcloselong();
if (closeshort()==1) xcloseshort();
Or just:
if openlong() xopenlong();
CB
Can anyone please point out the error ? It says wrong parameters count error.