C# Class Forex_Strategy_Builder.Data

Base class containing the data.
Afficher le fichier Open project: nuggett11/Forex-Strategy-Builder Class Usage Examples

Méthodes publiques

Méthode Description
CloseLogFile ( ) : void

Closes the log file.

DataPeriodToString ( DataPeriods dataPeriod ) : string

Converts a data period from DataPeriods type to string.

GenerateMarketStats ( ) : void

Generate the Market Statistics

GetGradientColor ( Color baseColor, int depth ) : Color

Color change

GradientPaint ( Graphics g, RectangleF rect, Color color, int depth ) : void

Paints a rectangle with gradient

IsStrDescriptionRelevant ( ) : bool

It tells if the strategy description is relevant.

Log ( string logLine ) : void

Saves a text line in the log file.

SetStrategyIndicators ( ) : void

Sets the indicator names

Start ( ) : void

Initial settings.

Private Methods

Méthode Description
Data ( ) : System

The default constructor.

InitMarketStatistic ( ) : void

Initializes the stats names

Method Details

CloseLogFile() public static méthode

Closes the log file.
public static CloseLogFile ( ) : void
Résultat void

DataPeriodToString() public static méthode

Converts a data period from DataPeriods type to string.
public static DataPeriodToString ( DataPeriods dataPeriod ) : string
dataPeriod DataPeriods
Résultat string

GenerateMarketStats() public static méthode

Generate the Market Statistics
public static GenerateMarketStats ( ) : void
Résultat void

GetGradientColor() public static méthode

Color change
public static GetGradientColor ( Color baseColor, int depth ) : Color
baseColor Color
depth int
Résultat Color

GradientPaint() public static méthode

Paints a rectangle with gradient
public static GradientPaint ( Graphics g, RectangleF rect, Color color, int depth ) : void
g System.Drawing.Graphics
rect System.Drawing.RectangleF
color Color
depth int
Résultat void

IsStrDescriptionRelevant() public static méthode

It tells if the strategy description is relevant.
public static IsStrDescriptionRelevant ( ) : bool
Résultat bool

Log() public static méthode

Saves a text line in the log file.
public static Log ( string logLine ) : void
logLine string
Résultat void

SetStrategyIndicators() public static méthode

Sets the indicator names
public static SetStrategyIndicators ( ) : void
Résultat void

Start() public static méthode

Initial settings.
public static Start ( ) : void
Résultat void