i try to cancel the entry level at time 161500, here my script, and it doesn't work...
can you help me ? thx in advance.
PS: i find this page on your forum
but the file i download is a .php and not a zip, do you know why ?
protectedoverridevoid OnBarUpdate()
{
if (BarsInProgress != 0)
return;
if (blablabla)
{
myEntryOrder = EnterLongStop(0,true, 1, Closes[1][0],"");
}
if (ToTime(Time[0]) > 161500)
{
CancelOrder(myEntryOrder);
}
Comment