Commit Graph
9 Commits
Author SHA1 Message Date
DaenksandGitHub f1070c1f3c Fix typo in last fix
prevents: freqtrade.resolvers.iresolver - WARNING - Could not import /home/$USERNAME/freqtrade/user_data/strategies/MultiMa.py due to 'invalid syntax (MultiMa.py, line 28)'
2021-11-04 10:23:17 -05:00
Andy477andGitHub 1aba566216 Fix MultiMa to not give an error
Fixing buy_ma_count's Int Parameter value since they cause an error.
In more detail, the old version had buy_ma_count starting off at 2, then had a buy-ma plus 1. 
Then the smallest period(e.g dataframe["buy-ma-3"]), is 3.
But in the old code, there is dataframe[f"buy-ma-{i-1}"], if i is equal 3, then i - 1 is equal to 2. 
So forth causing an exception, as there is no dataframe["buy-ma-2"] as the smallest period is dataframe["buy-ma-3"]. 
The same thing happens if buy_ma_count's low value is equal to 1.
The same thing happens on the sell-side.
The only way to fix it is to have buy/sell_ma_count's low value set to 0.
2021-09-23 21:34:14 +10:00
Masoud Azizi 64335475dd brain stra removed, branch renamed,min roi added 2021-08-16 23:28:10 +00:00
Masoud AziziandGitHub 2499ef98f3 Update MultiMa.py 2021-05-19 11:36:02 +04:30
Masoud AziziandGitHub 0dfcb17017 CONVERTING RANGE() TO [DOT]RANGE
I just used and splited for loop at first of methods cuz of be easy to move it upside in indicator populators and make timeframes static
2021-05-19 10:47:58 +04:30
Masoud AziziandGitHub a067b1f61b Grammer :| :D I think still I have many mistakes on grammer 2021-05-19 10:41:21 +04:30
Masoud AziziandGitHub 46ae26afa2 Dynamicly generated timeframes 2021-05-19 10:40:00 +04:30
Masoud AziziandGitHub 26aa19c4ae Update MultiMa.py 2021-05-19 10:22:41 +04:30
Masoud Azizi 713f649964 MultiMa Strategy Is Up 2021-05-18 22:13:53 +04:30