C# 클래스 Forex_Strategy_Builder.Data

Base class containing the data.
파일 보기 프로젝트 열기: nuggett11/Forex-Strategy-Builder 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
Data ( ) : System

The default constructor.

InitMarketStatistic ( ) : void

Initializes the stats names

메소드 상세

CloseLogFile() 공개 정적인 메소드

Closes the log file.
public static CloseLogFile ( ) : void
리턴 void

DataPeriodToString() 공개 정적인 메소드

Converts a data period from DataPeriods type to string.
public static DataPeriodToString ( DataPeriods dataPeriod ) : string
dataPeriod DataPeriods
리턴 string

GenerateMarketStats() 공개 정적인 메소드

Generate the Market Statistics
public static GenerateMarketStats ( ) : void
리턴 void

GetGradientColor() 공개 정적인 메소드

Color change
public static GetGradientColor ( Color baseColor, int depth ) : Color
baseColor Color
depth int
리턴 Color

GradientPaint() 공개 정적인 메소드

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
리턴 void

IsStrDescriptionRelevant() 공개 정적인 메소드

It tells if the strategy description is relevant.
public static IsStrDescriptionRelevant ( ) : bool
리턴 bool

Log() 공개 정적인 메소드

Saves a text line in the log file.
public static Log ( string logLine ) : void
logLine string
리턴 void

SetStrategyIndicators() 공개 정적인 메소드

Sets the indicator names
public static SetStrategyIndicators ( ) : void
리턴 void

Start() 공개 정적인 메소드

Initial settings.
public static Start ( ) : void
리턴 void