Username: Password:

Author Topic: Not getting Bollinger Band  (Read 11072 times)

Offline MarkT2909

  • Rookie
  • *
  • Posts: 2
    • View Profile
Not getting Bollinger Band
« on: October 06, 2017, 09:22:12 PM »
So guys,

I'm pretty lost in this BB theory now.. comparing it to the graphs in Bittrex but not seeing a lot of
Now been running 11 pairs for quite a while now, the bot has made 1 bought so far.
Using v.3.3.2 on a Macbook

Now i just had the following error:

PriceToBuy 673.4074 priceToSell 695.2617
we have altcoins: 0.75234452
LP 696.0186 >= prSell 695.26168  secMargin 0.017355860394736845  falls yes
price to sell:  0.069526168
price is sweet
price fall -> sell
2017/10/06 21:03:56 Error: Missing price to sell
!!! Cycle 41 failed. Will repeat in 60s

Attached a screenshot of the situation in Bittrex at that exact moment.
In my opinion it had to sell, right?

The bot is working with the following settings, in a BB range of 25/25

var config = {

//  DEBUG

DEBUG_LOG:false,

I_REALLY_WANT_IT:false,

BUY_SMALL_PORTION:1,

INSUFFICIENT_FUNDS_ON_SELL_FIX: 0.0005,

INSUFFICIENT_FUNDS_ON_BUY_FIX: 0.0005,

//-----------------------------------------------

//   STARTUP OPTIONS

//-----------------------------------------------

SELL_ON_START:false,   

CANCEL_SELL_ORDERS_ON_START:false,

CANCEL_BUY_ORDERS_ON_START:false,

CANCEL_OPEN_ORDERS_ON_START:false,

MAX_LATEST_PRICES:300,// limit of latest prices to analyze to determine if price is growing or falling

MAX_LATEST_DIRECTIONS:30,// limit of latest  price directions ,used in supergun detection

MAX_LATEST_PRICES_TREND:30,

MAX_LAST_ORDERS:5,  // keeping last orders bought

PERIOD: 15,   // candlestick period

SAVEFILE_SUFFIX: '-save.json',

//-----------------------------------------------

//  PRIMARY SETTINGS

DEFAULT_MARKET_NAME:'bittrex',

DEFAULT_CURRENCY_PAIR:'BTC_ETH',   //  single pair format for all markets !

BUYLVL1: 0.1,

BUYLVL2: 5,

BUYLVL3: 40,

SELLLVL1: 2,

SELLLVL2: 5,

SELLLVL3: 70,

BUY_STRATEGY: 'BB', // accepted values BB or STEPGAIN or GAIN or PINGPONG

SELL_STRATEGY: 'BB', // accepted values BB or STEPGAIN or GAIN or PINGPONG

LOW_BB: 25,

HIGH_BB: 25,

PINGPONG_BUY: 0.12345678,

PINGPONG_SELL: 0.12345678,

BUY_LEVEL: 3, // If GAIN buy strategy is used, buy at this percentual below lower ema value

GAIN: 2, // If GAIN sell strategy is used, sell at this percentual above bought price

BTC_TRADING_LIMIT: 0.005,// max amount of BTC balance to use for each pair   

SECURITY_MARGIN: 75, // sell all balance if currency decreases x% after you bought it

MIN_VOLUME_TO_BUY: 0.0005,  // bitrex min volume


i hope someone can explain to me what's wrong here??
Or am i just not getting it?

Thanks!

Offline paramecie

  • Contributor
  • **
  • Posts: 302
    • View Profile
Re: Not getting Bollinger Band
« Reply #1 on: October 07, 2017, 01:04:22 AM »
Wow wow wow

1° 3.3.2 BB curves and decisions are NOT what you can see on your favorite marketplace.
In short and simple, you can't really make them match.

2° You don't need BB to see if it was a smart Buy or not.
And as  5 minutes BB is totally different than a 15 minutes one, which BB to follow?
Note there are other buying/selling settings than BB.

3° Please wait (like me) for the 5.0.5.x (?) which is announced for saturday night (fever) - it seems that solves all your BB problems and they should match.

Hoping that helps?

Offline MarkT2909

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Not getting Bollinger Band
« Reply #2 on: October 09, 2017, 07:20:09 PM »
Hi Paramecie,

ok, i understand. But if you look at the data, it says priceToSell 695.2617
At that very moment, the price was 697.1000.
So higher than the priceToSell and therefore it should have sold right?

I'll try the new version next week or so, thanks.

Offline sloaleks

  • Contributor
  • **
  • Posts: 610
    • View Profile
Re: Not getting Bollinger Band
« Reply #3 on: October 10, 2017, 06:43:40 AM »
No, the price was still climbing. Price to sell is an entry point. It Will try to get you more, if not it Will try at least to catch "price to sell " at the next down trend.