last ...
This commit is contained in:
@@ -310,7 +310,8 @@ class XCX121SMCTestStrategy : public XCX121SMCBaseStrategy
|
|||||||
if (hasLong) {
|
if (hasLong) {
|
||||||
//
|
//
|
||||||
// selectedSL = conditions.xpvConditions.peaks[1];
|
// selectedSL = conditions.xpvConditions.peaks[1];
|
||||||
selectedSL = conditions.xchsarConditions.cSars[1];
|
// selectedSL = conditions.xchsarConditions.cSars[1];
|
||||||
|
selectedSL = cBar.low;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -323,10 +324,11 @@ class XCX121SMCTestStrategy : public XCX121SMCBaseStrategy
|
|||||||
conditions.xchsarConditions.cSars[0] > cBar.high
|
conditions.xchsarConditions.cSars[0] > cBar.high
|
||||||
//
|
//
|
||||||
;
|
;
|
||||||
if (hasLong) {
|
if (hasShort) {
|
||||||
//
|
//
|
||||||
// selectedSL = conditions.xpvConditions.vales[1];
|
// selectedSL = conditions.xpvConditions.vales[1];
|
||||||
selectedSL = conditions.xchsarConditions.cSars[1];
|
// selectedSL = conditions.xchsarConditions.cSars[1];
|
||||||
|
selectedSL = cBar.high;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user