View Single Post
  #58 (permalink)  
Old 11-06-2007, 06:29 AM
saintmo saintmo is offline
Senior Member
 
Join Date: Aug 2006
Posts: 217
saintmo is on a distinguished road
There is another statement that needs to be changed. Same issue as before.

void checkForNoOpenChange() {
if ( ((iCustom(NULL,shortTF,"QQE",SF,0,2) <= iCustom(NULL,shortTF,"QQE",SF,1,2)) && (iCustom(NULL,shortTF,"QQE",SF,0,1) > iCustom(NULL,shortTF,"QQE",SF,1,1))) ||
((iCustom(NULL,longTF,"QQE",SF,0,2) <= iCustom(NULL,longTF,"QQE",SF,1,2)) && (iCustom(NULL,longTF,"QQE",SF,0,1) > iCustom(NULL,longTF,"QQE",SF,1,1))) ){
NoOpen=false;
}
}

With this change more trades are opened. However, after a trade in one direction is closed, other trades in the same direction continue to be opened.

saintmo
Reply With Quote