R/constants.R

#' All the constants required within the rulesNtrades package
#' @rdname constants
#' 
cBullishTrend  <- 1
cNoTrend       <- 0
cBearishTrend  <- -1
cStepsUp       <- 1
cStepsDown     <- -1

cGapUp         <- 1
cGapDown       <- -1
cNoGap         <- 0
cGapClosed     <- 2
cGapNarrowed   <- 3
cGapRanAway    <- 4

cLong          <- 1
cShort         <- -1

cOpenLong      <- 1
cCloseLong     <- 2
cOpenShort     <- -1
cCloseShort    <- -2
cHold          <- 3
cDoNotOpen     <- 0
cExitPos       <- 4
cDoNotExit     <- 5
sivasunku/dataNindicators documentation built on May 15, 2019, 4:17 p.m.