last ...
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -5943,7 +5943,7 @@ struct XConsolidationZone
|
|||||||
//
|
//
|
||||||
string result =
|
string result =
|
||||||
//
|
//
|
||||||
GetTypeName(this) + "_" +
|
"ConsolidationZone" + "_" +
|
||||||
symbol + "_" +
|
symbol + "_" +
|
||||||
ToString(period) + "_" +
|
ToString(period) + "_" +
|
||||||
ToString(upper) + "_" +
|
ToString(upper) + "_" +
|
||||||
@@ -7357,13 +7357,15 @@ bool IsBoxAbove(
|
|||||||
* @param source: XBoxZone instance Reference ...
|
* @param source: XBoxZone instance Reference ...
|
||||||
* @param dest: XBoxZone instance Reference ...
|
* @param dest: XBoxZone instance Reference ...
|
||||||
* @param forceSideOut: bool, force check Box has One Side Out ...
|
* @param forceSideOut: bool, force check Box has One Side Out ...
|
||||||
|
* @param ignoreSideOut: bool, Accept if source Box one Side is out of Dest Box ...
|
||||||
*
|
*
|
||||||
* @return ( bool )
|
* @return ( bool )
|
||||||
*/
|
*/
|
||||||
bool IsBoxInside(
|
bool IsBoxInside(
|
||||||
XBoxZone &source,
|
XBoxZone &source,
|
||||||
XBoxZone &dest,
|
XBoxZone &dest,
|
||||||
bool forceSideOut = false //
|
bool forceSideOut = false, //
|
||||||
|
bool ignoreSideOut = true //
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
@@ -7385,8 +7387,17 @@ bool IsBoxInside(
|
|||||||
if (!forceSideOut)
|
if (!forceSideOut)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
result = source.lower >= dest.lower &&
|
if (ignoreSideOut)
|
||||||
source.upper <= dest.upper;
|
{
|
||||||
|
//
|
||||||
|
result = source.lower >= dest.lower &&
|
||||||
|
source.upper <= dest.upper;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
result = source.lower >= dest.lower ||
|
||||||
|
source.upper <= dest.upper;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user