C# 클래스 MQL4CSharp.UserDefined.Strategy.CSVOrderPlacer

상속: Base.BaseStrategy
파일 보기 프로젝트 열기: jseparovic/MQL4CSharp

공개 메소드들

메소드 설명
CSVOrderPlacer ( long ix ) : System
OnDeinit ( ) : void
OnInit ( ) : void
OnTick ( ) : void
OnTimer ( ) : void
destroy ( ) : void
evaluate ( string symbol ) : SignalResult
filter ( string symbol ) : bool
getComment ( string symbol ) : string
getEntryPrice ( string symbol, SignalResult signal ) : double
getExpiry ( string symbol, SignalResult signal ) : System.DateTime
getLotSize ( string symbol, double stopDistance ) : double
getMagicNumber ( string symbol ) : int
getStopLoss ( string symbol, SignalResult signal ) : double
getTakeProfit ( string symbol, SignalResult signal ) : double
init ( ) : void
isAsleep ( string symbol ) : bool
manageOpenTrades ( string symbol, int ticket ) : void
onNewCandle ( string symbol, TIMEFRAME timeframe ) : void
onNewDate ( string symbol, TIMEFRAME timeframe ) : void

비공개 메소드들

메소드 설명
executeTrade ( CSVOrder csvOrder, bool tp1 ) : void

메소드 상세

CSVOrderPlacer() 공개 메소드

public CSVOrderPlacer ( long ix ) : System
ix long
리턴 System

OnDeinit() 공개 메소드

public OnDeinit ( ) : void
리턴 void

OnInit() 공개 메소드

public OnInit ( ) : void
리턴 void

OnTick() 공개 메소드

public OnTick ( ) : void
리턴 void

OnTimer() 공개 메소드

public OnTimer ( ) : void
리턴 void

destroy() 공개 메소드

public destroy ( ) : void
리턴 void

evaluate() 공개 메소드

public evaluate ( string symbol ) : SignalResult
symbol string
리턴 MQL4CSharp.Base.Common.SignalResult

filter() 공개 메소드

public filter ( string symbol ) : bool
symbol string
리턴 bool

getComment() 공개 메소드

public getComment ( string symbol ) : string
symbol string
리턴 string

getEntryPrice() 공개 메소드

public getEntryPrice ( string symbol, SignalResult signal ) : double
symbol string
signal MQL4CSharp.Base.Common.SignalResult
리턴 double

getExpiry() 공개 메소드

public getExpiry ( string symbol, SignalResult signal ) : System.DateTime
symbol string
signal MQL4CSharp.Base.Common.SignalResult
리턴 System.DateTime

getLotSize() 공개 메소드

public getLotSize ( string symbol, double stopDistance ) : double
symbol string
stopDistance double
리턴 double

getMagicNumber() 공개 메소드

public getMagicNumber ( string symbol ) : int
symbol string
리턴 int

getStopLoss() 공개 메소드

public getStopLoss ( string symbol, SignalResult signal ) : double
symbol string
signal MQL4CSharp.Base.Common.SignalResult
리턴 double

getTakeProfit() 공개 메소드

public getTakeProfit ( string symbol, SignalResult signal ) : double
symbol string
signal MQL4CSharp.Base.Common.SignalResult
리턴 double

init() 공개 메소드

public init ( ) : void
리턴 void

isAsleep() 공개 메소드

public isAsleep ( string symbol ) : bool
symbol string
리턴 bool

manageOpenTrades() 공개 메소드

public manageOpenTrades ( string symbol, int ticket ) : void
symbol string
ticket int
리턴 void

onNewCandle() 공개 메소드

public onNewCandle ( string symbol, TIMEFRAME timeframe ) : void
symbol string
timeframe TIMEFRAME
리턴 void

onNewDate() 공개 메소드

public onNewDate ( string symbol, TIMEFRAME timeframe ) : void
symbol string
timeframe TIMEFRAME
리턴 void