core library Null safety

Classes

FibonacciLevelsResult
MatexAbstractPipValueCalculatorCore<C extends MatexBaseCalculator<C, R>, R>
MatexBaseCalculator<C extends MatexBaseCalculator<C, R>, R>
MatexBaseCoreState
MatexCoreStateProperty
MatexCurrencyPairModel
MatexDecimal
MatexFibonacciLevel
MatexFibonacciLevelsCalculatorCore
MatexLotDescriptor
MatexLotDescriptors
MatexPipValueCalculatorCore
MatexPivotPointsCalculatorCore
MatexPivotPointsResult
MatexPositionSizeCalculatorCore
MatexPositionSizeResult
MatexRequiredMarginCalculatorCore
MatexStopLossCalculatorCore
MatexStopLossResult
MatexStopLossTakeProfitCalculatorCore
MatexStopLossTakeProfitResult
MatexTakeProfitCalculatorCore
MatexTakeProfitResult

Mixins

MatexFibonacciLevelsCoreMixin<C extends MatexBaseCalculator<C, R>, R>
MatexLotCoreMixin<C extends MatexBaseCalculator<C, R>, R>
MatexPipValueCoreMixin<C extends MatexBaseCalculator<C, R>, R>
MatexPivotPointsCoreMixin<C extends MatexBaseCalculator<C, R>, R>
MatexPositionSizeMarginCoreMixin<C extends MatexBaseCalculator<C, R>, R>
MatexRequiredMarginCoreMixin<C extends MatexBaseCalculator<C, R>, R>
MatexStopLossCoreMixin<C extends MatexBaseCalculator<C, R>, R>
MatexTakeProfitCoreMixin<C extends MatexBaseCalculator<C, R>, R>

Constants

kDefaultCamarillaPivotPointsResult → const MatexPivotPointsResult
const MatexPivotPointsResult(pivotPoint: 0.0, resistances: const [0.0, 0.0, 0.0, 0.0], supports: const [0.0, 0.0, 0.0, 0.0])
kDefaultDeMarkPivotPointsResult → const MatexPivotPointsResult
const MatexPivotPointsResult(pivotPoint: 0.0, resistances: const [0.0], supports: const [0.0])
kDefaultFibonacciPivotPointsResult → const MatexPivotPointsResult
const MatexPivotPointsResult(pivotPoint: 0.0, resistances: const [0.0, 0.0, 0.0], supports: const [0.0, 0.0, 0.0])
kDefaultLotDescriptors → const MatexLotDescriptors
const MatexLotDescriptors(standard: const MatexLotDescriptor(multiplier: 100000), mini: const MatexLotDescriptor(multiplier: 10000), micro: const MatexLotDescriptor(multiplier: 1000), nano: const Mate…
kDefaultPositionSizeResult → const MatexPositionSizeResult
const MatexPositionSizeResult(amountAtRisk: 0.0, pipValue: 0.0, positionSize: 0.0, riskRatio: 0.0, stopLossPips: 0.0)
kDefaultStandardPivotPointsResult → const MatexPivotPointsResult
const MatexPivotPointsResult(pivotPoint: 0.0, resistances: const [0.0, 0.0, 0.0], supports: const [0.0, 0.0, 0.0])
kDefaultWoodiePivotPointsResult → const MatexPivotPointsResult
const MatexPivotPointsResult(pivotPoint: 0.0, resistances: const [0.0, 0.0], supports: const [0.0, 0.0])
kEmptyStopLossResult → const MatexStopLossResult
kEmptyStopLossTakeProfitResult → const MatexStopLossTakeProfitResult
kEmptyTakeProfitResult → const MatexTakeProfitResult
kInitialFibonacciLevelsState → const MatexBaseCoreState
const MatexBaseCoreState(customPrice: 0.0, highPrice: 0.0, lowPrice: 0.0, precision: 5, trend: MatexTrend.up, extensionLevels: kMatexFibonacciExtensionLevels, retracementLevels: kMatexFibonacciRetrace…
kInitialPipValueState → const MatexBaseCoreState
const MatexBaseCoreState(counterAccountCurrencyPairExchangeRate: 0.0, baseListedSecond: false, lotDescriptors: kDefaultLotDescriptors, pipPrecision: 4, positionSize: 0.0, tradingPairExchangeRate: 0.0)
kInitialPivotPointsState → const MatexBaseCoreState
const MatexBaseCoreState(closePrice: 0, highPrice: 0, lowPrice: 0, method: MatexPivotPointsMethods.standard, openPrice: 0)
kInitialPositionSizeState → const MatexBaseCoreState
const MatexBaseCoreState(counterAccountCurrencyPairExchangeRate: 0.0, baseListedSecond: false, lotDescriptors: kDefaultLotDescriptors, pipPrecision: 4, positionSize: 1.0, tradingPairExchangeRate: 0.0,…
kInitialRequiredMarginState → const MatexBaseCoreState
const MatexBaseCoreState(counterAccountCurrencyPairExchangeRate: 0.0, baseListedSecond: false, lotDescriptors: kDefaultLotDescriptors, pipPrecision: 4, positionSize: 0.0, tradingPairExchangeRate: 0.0,…
kInitialStopLossState → const MatexBaseCoreState
const MatexBaseCoreState(counterAccountCurrencyPairExchangeRate: 0.0, baseListedSecond: false, lotDescriptors: kDefaultLotDescriptors, pipPrecision: 4, positionSize: 0.0, tradingPairExchangeRate: 0.0,…
kInitialStopLossTakeProfitState → const MatexBaseCoreState
const MatexBaseCoreState(counterAccountCurrencyPairExchangeRate: 0.0, baseListedSecond: false, lotDescriptors: kDefaultLotDescriptors, pipPrecision: 4, positionSize: 0.0, tradingPairExchangeRate: 0.0,…
kInitialTakeProfitState → const MatexBaseCoreState
const MatexBaseCoreState(counterAccountCurrencyPairExchangeRate: 0.0, baseListedSecond: false, lotDescriptors: kDefaultLotDescriptors, pipPrecision: 4, positionSize: 0.0, tradingPairExchangeRate: 0.0,…
kMatexFibonacciExtensionLevels → const List<double>
const [23.6, 38.2, 50.0, 61.8, 100.0, 138.2, 161.8, 200, 261.8]
kMatexFibonacciRetracementLevels → const List<double>
const [23.6, 38.2, 50, 61.8, 78.6]

Properties

corePositionSizeValidators List<MatexStateValidator>
final
coreStopLossTakeProfitValidators List<MatexStateValidator>
final
fibonacciLevelsValidators List<MatexStateValidator>
read / write
pipValueValidators List<MatexStateValidator>
final
pivotPointsValidators List<MatexStateValidator>
final
positionSizeValidators List<MatexStateValidator>
final
requiredMarginValidators List<MatexStateValidator>
final
stopLossTakeProfitValidators List<MatexStateValidator>
final

Functions

fibonacciLevels({MatexBaseCoreState? defaultState, List<MatexStateValidator>? validators}) MatexFibonacciLevelsCalculatorCore
pipValue({MatexBaseCoreState? defaultState, List<MatexStateValidator>? validators}) MatexPipValueCalculatorCore
pivotPoints({MatexBaseCoreState? defaultState, List<MatexStateValidator>? validators}) MatexPivotPointsCalculatorCore
pivotPointsCamarilla(double high, double low, double close) MatexPivotPointsResult
pivotPointsDeMark(double high, double low, double close, double open) MatexPivotPointsResult
pivotPointsFibonacci(double high, double low, double close) MatexPivotPointsResult
pivotPointsStandard(double high, double low, double close) MatexPivotPointsResult
pivotPointsWoodie(double high, double low, double close) MatexPivotPointsResult
positionSize({MatexBaseCoreState? defaultState, List<MatexStateValidator>? validators}) MatexPositionSizeCalculatorCore
requiredMargin({MatexBaseCoreState? defaultState, List<MatexStateValidator>? validators}) MatexRequiredMarginCalculatorCore
sortNumberAsc(double a, double b) int
sortNumberDesc(double a, double b) int
sortNumbers({required List<double> collection, bool asc = true}) List<double>
stopLoss({MatexBaseCoreState? defaultState}) MatexStopLossCalculatorCore
stopLossTakeProfit({MatexBaseCoreState? defaultState, List<MatexStateValidator>? validators}) MatexStopLossTakeProfitCalculatorCore
takeProfit({MatexBaseCoreState? defaultState}) MatexTakeProfitCalculatorCore

Enums

MatexPivotPointsMethods
MatexPosition
MatexTrend

Typedefs

MatexStateValidator(MatexBaseCoreState state) bool