last ...
This commit is contained in:
@@ -5511,6 +5511,46 @@ struct XBoxZone
|
||||
IsBearish(dir);
|
||||
}
|
||||
|
||||
/**
|
||||
* Clone Box by Provided Source ...
|
||||
*
|
||||
* @return ( bool )
|
||||
*/
|
||||
bool Clone(XBoxZone &source)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
Clean();
|
||||
result = source.IsValid();
|
||||
if (!result)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Filling Props ...
|
||||
to = source.to;
|
||||
dir = source.dir;
|
||||
from = source.from;
|
||||
type = source.type;
|
||||
upper = source.upper;
|
||||
lower = source.lower;
|
||||
symbol = source.symbol;
|
||||
period = source.period;
|
||||
|
||||
//
|
||||
result = IsValid();
|
||||
if (!result)
|
||||
{
|
||||
Clean();
|
||||
}
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check Box is Same as Other ...
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user