|
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
|