Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.rsi = new RSI(14);
this.ohcl4 = new OHCL4();
this.sma = new SMA(5);
this.wf = new WF(config.wf_period);
this.wa = new WA({
jawLength: 21,
teethLength: 13,
lipsLength: 8,
jawOffset: 13,
teethOffset: 8,
lipsOffset: 5
});
this.acceleration = new Acceleration([34]); //Acceleration candle.close Period
this.ao = new AO([10]); //Awesome Oscillator candle OHLC NO ARGS, LABEL PERIOD ? !!!!!!!!!!!!!!!!!
this.massIndex = new MassIndex([10]); //Mass Index candle OHLC Period
this.wr = new WR([14]); //Williams %R candle OHLC Period
this.stochRsi = new StochRSI([14, 14, 3, 3]); //Stochastic RSI candle.close 'Length RSI', 'Length Stochastic', 'Stoch Smoothing', 'Signal Smoothing'
//Stoploss
this.stop_loss = new STOPLOSS(this.stop_loss_limit);
// Indicators
// Buffer
this.BUF = {
candle: [],
ohcl4: [],
rsi: [],
sma: [],
wf: [],
acceleration: [],
ao: [],
this.ohcl4 = new OHCL4();
this.sma = new SMA(10);
// this.wf = new WF(config.wf_period);
this.wf_sma = new WF_SMA(config.wf_period);
this.wa = new WA({
jawLength: 21,
teethLength: 13,
lipsLength: 8,
jawOffset: 13,
teethOffset: 8,
lipsOffset: 5
});
this.acceleration = new Acceleration([34]); //Acceleration candle.close Period
this.ao = new AO([10]); //Awesome Oscillator candle OHLC NO ARGS, LABEL PERIOD ? !!!!!!!!!!!!!!!!!
this.massIndex = new MassIndex([10]); //Mass Index candle OHLC Period
this.wr = new WR([14]); //Williams %R candle OHLC Period
this.stochRsi = new StochRSI([14, 14, 3, 3]); //Stochastic RSI candle.close 'Length RSI', 'Length Stochastic', 'Stoch Smoothing', 'Signal Smoothing'
//Stoploss
this.stop_loss = new STOPLOSS(this.stop_loss_limit);
// Indicators
// Buffer
this.BUF = {
candle: [],
ohcl4: [],
rsi: [],
sma: [],
wf: [],
wf_sma: [],
acceleration: [],