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!