last works on XFIMA ...
This commit is contained in:
@@ -254,9 +254,9 @@ ENUM_X_BAR_PATTERN ToBarPattern(string value)
|
||||
|
||||
/**
|
||||
* Get All Available Valid Bar Patterns ...
|
||||
*
|
||||
*
|
||||
* @param dest: ENUM_X_BAR_PATTERN, reference collection to fill ...
|
||||
*
|
||||
*
|
||||
* @return ( int )
|
||||
*/
|
||||
int GetAllBarPatters(ENUM_X_BAR_PATTERN &dest[])
|
||||
@@ -1570,4 +1570,88 @@ struct XDirectionShift
|
||||
}
|
||||
};
|
||||
|
||||
struct XPOIDrawConfig
|
||||
{
|
||||
//
|
||||
// Props ...
|
||||
|
||||
//
|
||||
color bullishColor;
|
||||
color bearishColor;
|
||||
|
||||
//
|
||||
int arrowsWidth;
|
||||
int bullishArrow;
|
||||
int bearishArrow;
|
||||
int arrowsThreshold;
|
||||
ENUM_X_PRICE arrowsValePriceType;
|
||||
ENUM_X_PRICE arrowsPeakPriceType;
|
||||
|
||||
//
|
||||
int zonesWidth;
|
||||
bool zonesFill;
|
||||
bool ignoreZonesAt;
|
||||
ENUM_LINE_STYLE zonesStyle;
|
||||
|
||||
//
|
||||
// Constructor ...
|
||||
XPOIDrawConfig()
|
||||
{
|
||||
Clean();
|
||||
}
|
||||
|
||||
//
|
||||
// Tools ...
|
||||
|
||||
/**
|
||||
* Cleanup ...
|
||||
*/
|
||||
void Clean()
|
||||
{
|
||||
//
|
||||
bullishColor = CLR_NONE;
|
||||
bearishColor = CLR_NONE;
|
||||
|
||||
//
|
||||
arrowsWidth = 0;
|
||||
bullishArrow = 0;
|
||||
bearishArrow = 0;
|
||||
arrowsThreshold = 0;
|
||||
arrowsValePriceType = X_PRICE_NONE;
|
||||
arrowsPeakPriceType = X_PRICE_NONE;
|
||||
|
||||
//
|
||||
zonesWidth = 1;
|
||||
zonesFill = false;
|
||||
ignoreZonesAt = true;
|
||||
zonesStyle = STYLE_SOLID;
|
||||
}
|
||||
|
||||
/**
|
||||
* Default Config ...
|
||||
*/
|
||||
void Default()
|
||||
{
|
||||
//
|
||||
bullishColor = clrAqua;
|
||||
bearishColor = clrMagenta;
|
||||
|
||||
//
|
||||
arrowsWidth = 1;
|
||||
bullishArrow = 159;
|
||||
bearishArrow = 159;
|
||||
arrowsThreshold = 5;
|
||||
arrowsValePriceType = X_PRICE_LOW;
|
||||
arrowsPeakPriceType = X_PRICE_HIGH;
|
||||
|
||||
//
|
||||
zonesWidth = 1;
|
||||
zonesFill = true;
|
||||
ignoreZonesAt = true;
|
||||
zonesStyle = STYLE_SOLID;
|
||||
}
|
||||
|
||||
//
|
||||
};
|
||||
|
||||
//
|
||||
Reference in New Issue
Block a user