Username: Password:

Author Topic: Additional algorythm  (Read 11643 times)

Offline Outsider

  • Rookie
  • *
  • Posts: 38
    • View Profile
Additional algorythm
« on: May 16, 2017, 01:42:57 AM »
Gunthy should be already working on this, but I want to post it anyway.
It's since the beginning that I asked myself why it was so cumbersome to use this bot and its algorythm to buy and sell.
Not that there's no reason behind it, but I think there's something much easier to use, also for excaptional case with big problems of net and computational power, even if it will surely be less productive.
So, here it is, it's very simple and it doesn't involve any calculation!



Variables:

BuyLevel1 = 1
BuyLevel2 = 2.5
BuyLevel3 = 5

SellLevel1 = 2
SellLevel2 = 4
SellLevel3 = 7
SellLevel4 = 10
SellLevel5 = 15

Buy Level is % of price below EMA.
Sell Level is % of price at which the coin was bought.



Mechanism for buying:

If price falls below EMA - BuyLevel1, start to check if it falls below BuyLevel2.
If price falls back over BuyLevel1, buy at that price.

If price falls below EMA - BuyLevel2, start to check if it falls below BuyLevel3.
If price falls back over BuyLevel2, buy at that price.

If price falls below EMA - BuyLevel3, wait for the first price that is higher than the last one, and buy at that price.



Same mechanism goes for selling:

If price increases past SellLevel1, start to check if it reaches SellLevel2.
If price falls back below SellLevel1 (and price is not below buy price), sell at last price.

If price increases past SellLevel2, start to check if it reaches SellLevel3.
If price falls back below SellLevel2, sell at last price.

If price increases past SellLevel3, start to check if it reaches SellLevel4.
If price falls back below SellLevel3, sell at last price.

If price increases past SellLevel4, start to check if it reaches SellLevel5.
If price falls back below SellLevel4, sell at last price.

If price increases past SellLevel5, wait for the first price that falls and buy at that price.

It's very very simple.
Sure, it won't perform as well as an "intelligent" algorythm, but it should work for the ones that have problems with connection and/or memory and/or computational power.

Thank you Gunthy!
« Last Edit: May 16, 2017, 01:58:39 AM by Outsider »

Offline Henkkaa

  • Rookie
  • *
  • Banned!
  • Posts: 35
    • View Profile
Re: Additional algorythm
« Reply #1 on: May 16, 2017, 07:22:39 AM »
It's a good idea, but in my opinion a smarter algorithm is still much better than just simple variables. Cheaping out on a vps when using a bot that handles your money isn't that good of an idea. ::)

Offline Outsider

  • Rookie
  • *
  • Posts: 38
    • View Profile
Re: Additional algorythm
« Reply #2 on: May 16, 2017, 11:54:18 AM »
It's a good idea, but in my opinion a smarter algorithm is still much better than just simple variables. Cheaping out on a vps when using a bot that handles your money isn't that good of an idea. ::)

But not everybody knows how to use a VPS.

Offline Outsider

  • Rookie
  • *
  • Posts: 38
    • View Profile
Re: Additional algorythm
« Reply #3 on: May 16, 2017, 01:05:32 PM »
Would also be nice to have the option to buy a fraction of the total balance, so that the bot doesn't get stuck with all the funds invested in a single shot.

Method could be based on only 2 variables: TOTAL_BALANCE and FRACTIONS.
In example, if fractions is 4, then the bot will use only 1/4 of the total balance at each operation.