Property | Type | Description | |
---|---|---|---|
DATE_TZ | DateTimeZone | ||
LOG | log4net.ILog |
Method | Description | |
---|---|---|
BaseStrategy ( System.Int64 ix ) : log4net | ||
BaseStrategy ( int ix, TIMEFRAME timeframe, List |
||
BaseStrategy ( int ix, TIMEFRAME timeframe, String symbol, bool evalOncePerCandle = true, bool closeOnOpposingSignal = true ) : log4net | ||
OnDeinit ( ) : void | ||
OnInit ( ) : void | ||
OnTick ( ) : void | ||
OnTimer ( ) : void | ||
closeOutThisOrder ( String symbol ) : void | ||
destroy ( ) : void | ||
evaluate ( String symbol ) : |
||
executeTrade ( String symbol, |
||
filter ( String symbol ) : bool | ||
getComment ( String symbol ) : String | ||
getEntryPrice ( String symbol, |
||
getExpiry ( String symbol, |
||
getHighLowPairInRange ( String symbol, TIMEFRAME timeframe, System.DateTime from, System.DateTime to ) : Double>.KeyValuePair |
||
getLotSize ( String symbol, double stopDistance ) : double | ||
getMagicNumber ( String symbol ) : int | ||
getMarketDateTime ( String symbol ) : System.DateTime | ||
getMarketLocalDate ( String symbol ) : LocalDate | ||
getStopEntry ( String symbol, |
||
getStopLoss ( String symbol, |
||
getStrategyMetaDataMap ( String symbol, TIMEFRAME timeframe ) : |
||
getTakeProfit ( String symbol, |
||
iCandleBodyHigh ( String symbol, TIMEFRAME timeframe, int shift ) : double | ||
iCandleBodyLow ( String symbol, TIMEFRAME timeframe, int shift ) : double | ||
init ( ) : void | ||
isAsleep ( String symbol ) : bool | ||
logInfoOnce ( log4net.ILog logger, String symbol, System.DateTime date, Direction direction, String action, String message ) : void | ||
manageOpenTrades ( String symbol, int ticket ) : void | ||
onNewCandle ( String symbol, TIMEFRAME timeframe ) : void | ||
onNewDate ( String symbol, TIMEFRAME timeframe ) : void | ||
pipToPoint ( String symbol ) : double |
Method | Description | |
---|---|---|
checkCandle ( String symbol, TIMEFRAME timeframe ) : bool |
public BaseStrategy ( System.Int64 ix ) : log4net | ||
ix | System.Int64 | |
return | log4net |
public BaseStrategy ( int ix, TIMEFRAME timeframe, List |
||
ix | int | |
timeframe | TIMEFRAME | |
symbolList | List |
|
evalOncePerCandle | bool | |
closeOnOpposingSignal | bool | |
return | log4net |
public BaseStrategy ( int ix, TIMEFRAME timeframe, String symbol, bool evalOncePerCandle = true, bool closeOnOpposingSignal = true ) : log4net | ||
ix | int | |
timeframe | TIMEFRAME | |
symbol | String | |
evalOncePerCandle | bool | |
closeOnOpposingSignal | bool | |
return | log4net |
public closeOutThisOrder ( String symbol ) : void | ||
symbol | String | |
return | void |
public abstract evaluate ( String symbol ) : |
||
symbol | String | |
return |
public executeTrade ( String symbol, |
||
symbol | String | |
signal | ||
return | void |
public abstract filter ( String symbol ) : bool | ||
symbol | String | |
return | bool |
public abstract getComment ( String symbol ) : String | ||
symbol | String | |
return | String |
public abstract getEntryPrice ( String symbol, |
||
symbol | String | |
signal | ||
return | double |
public abstract getExpiry ( String symbol, |
||
symbol | String | |
signal | ||
return | System.DateTime |
public getHighLowPairInRange ( String symbol, TIMEFRAME timeframe, System.DateTime from, System.DateTime to ) : Double>.KeyValuePair |
||
symbol | String | |
timeframe | TIMEFRAME | |
from | System.DateTime | |
to | System.DateTime | |
return | Double>.KeyValuePair |
public abstract getLotSize ( String symbol, double stopDistance ) : double | ||
symbol | String | |
stopDistance | double | |
return | double |
public abstract getMagicNumber ( String symbol ) : int | ||
symbol | String | |
return | int |
public getMarketDateTime ( String symbol ) : System.DateTime | ||
symbol | String | |
return | System.DateTime |
public getMarketLocalDate ( String symbol ) : LocalDate | ||
symbol | String | |
return | LocalDate |
public getStopEntry ( String symbol, |
||
symbol | String | |
signal | ||
return | double |
public abstract getStopLoss ( String symbol, |
||
symbol | String | |
signal | ||
return | double |
public getStrategyMetaDataMap ( String symbol, TIMEFRAME timeframe ) : |
||
symbol | String | |
timeframe | TIMEFRAME | |
return |
public abstract getTakeProfit ( String symbol, |
||
symbol | String | |
signal | ||
return | double |
public iCandleBodyHigh ( String symbol, TIMEFRAME timeframe, int shift ) : double | ||
symbol | String | |
timeframe | TIMEFRAME | |
shift | int | |
return | double |
public iCandleBodyLow ( String symbol, TIMEFRAME timeframe, int shift ) : double | ||
symbol | String | |
timeframe | TIMEFRAME | |
shift | int | |
return | double |
public abstract isAsleep ( String symbol ) : bool | ||
symbol | String | |
return | bool |
public logInfoOnce ( log4net.ILog logger, String symbol, System.DateTime date, Direction direction, String action, String message ) : void | ||
logger | log4net.ILog | |
symbol | String | |
date | System.DateTime | |
direction | Direction | |
action | String | |
message | String | |
return | void |
public abstract manageOpenTrades ( String symbol, int ticket ) : void | ||
symbol | String | |
ticket | int | |
return | void |
public abstract onNewCandle ( String symbol, TIMEFRAME timeframe ) : void | ||
symbol | String | |
timeframe | TIMEFRAME | |
return | void |
public abstract onNewDate ( String symbol, TIMEFRAME timeframe ) : void | ||
symbol | String | |
timeframe | TIMEFRAME | |
return | void |