apply trail stop and break even ...
This commit is contained in:
@@ -362,7 +362,8 @@ class XCBarAnalyser : public XCBase
|
||||
* Detect Price Consolidation ...
|
||||
*
|
||||
* @param bar: XOHCL instance Reference, Start Bar ...
|
||||
* @param loopback: Integer, Consolidation Range Finder ...
|
||||
* @param loopback: Integer, Consolidation Length Finder ...
|
||||
* @param consolidationRange: Integer, Consolidation Range Finder ...
|
||||
* @param upper: Double Reference ...
|
||||
* @param lower: Double Reference ...
|
||||
* @param upperAppliedTo: ENUM_APPLIED_PRICE member, Upper Price ...
|
||||
@@ -375,6 +376,7 @@ class XCBarAnalyser : public XCBase
|
||||
double &upper,
|
||||
double &lower,
|
||||
int loopback = 30,
|
||||
int consolidationRange = 70,
|
||||
ENUM_APPLIED_PRICE upperAppliedTo = PRICE_HIGH,
|
||||
ENUM_APPLIED_PRICE lowerAppliedTo = PRICE_LOW //
|
||||
)
|
||||
@@ -399,8 +401,7 @@ class XCBarAnalyser : public XCBase
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
int consolidationRange = 30;
|
||||
//
|
||||
double points = GetPoints(bar.symbol);
|
||||
int index = bar.Index();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user