I'm wondering about why the historical EMAfast and EMAslow values are changing after a reload of the tool.
It's probably because of the number of candles which the extension has in the memory - and then calculates the EMAs upon.
At startup it fetches 48 candles (hours) - so the Exponential Average is calculated starting from 48 hours back.
Later, when you let it running and new hours are fetched - the EMA is calculated starting from more than 48 hours back...
But if you reload the extension, it again re-fetches only the last 48 hours.
Thus the difference - though, it shouldn't be really significant. At least as long as you don's use EMA parameter above 30 or so.
I could fetch more hours at startup to make the EMA values more precise, but then it would start longer...
48 seemed like a good compromise - but it's very easy to change it, if you think that longer startups would be better
Thanks for your prompt reply. That sounds logically to me.
I could found it in your code.
I would suggest to change it to a bigger value then 48, if you even plan to do a update in the future.
The startup time was never a problem for me. Personally I could wait over 10 times longer until the tool showing data and start trading, especially if this helps to make the numbers more correct.
Another question came into my mind, which is maybe a little bit related to this issue.
I thought about possible worst case scenarios which could result in loosing your trading value quite fast, because of unmeant tool behavior. I still worry about what could happen by running two chrome instances (on different computers). If this two instances have the same option setup, but are working with different numbers, based on the startup time, I worry about situations where the two instances are trading "against each other". E.g. Instance1 would already sell BTC, Instance2 is still below the threshold, Marked price changing and Instance 1 is buying again shortly after this Instance 2 touch touch the threshold and is selling, or so. Especially if you run with a very low threshold setup. Do I just fantasize or wouldn't this also be a argument to make the calculation result, which is the trigger criteria, more independent from the tool startup time? Would love to read your opinion.