Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

⚡️ Weighted Signal: MFI - Money Flow Index #73

Merged
merged 2 commits into from
Jul 3, 2021
Merged

⚡️ Weighted Signal: MFI - Money Flow Index #73

merged 2 commits into from
Jul 3, 2021

Conversation

m1hah
Copy link
Contributor

@m1hah m1hah commented Jun 23, 2021

I have made some tests to compare MFI (Money Flow Index) and RSI (Relative Strenght Index).

What Is the Money Flow Index (MFI)?
The Money Flow Index (MFI) is a technical oscillator that uses price and volume data for identifying overbought or oversold signals in an asset. It can also be used to spot divergences which warn of a trend change in price. The oscillator moves between 0 and 100.

Unlike conventional oscillators such as the Relative Strength Index (RSI), the Money Flow Index incorporates both price and volume data, as opposed to just price. For this reason, some analysts call MFI the volume-weighted RSI.

mgm-config.json changes
I have made some changes to mgm-config to let bot sell on sideways and let it hold on upwards trends.

    "trading_during_trends": {
      "buy_trades_when_downwards": true,
      "buy_trades_when_sideways": false,
      "buy_trades_when_upwards": true,
      "sell_trades_when_downwards": true,
      "sell_trades_when_sideways": true,
      "sell_trades_when_upwards": false

Tests
all have the same timerange and random state.
1st HO only --spaces buy sell
2nd HO is normal

1st HO: --timerange 20210501-20210616, --spaces buy sell
2nd HO: same timerange as above, without spaces

All HO include enabled protections and the same random state.
1st HO: --timerange 20210501-20210616, --spaces buy sell
2nd HO: same timerange as above, without spaces

All HO include enabled protections and the same random state.
@Rikj000 Rikj000 added Feature - Enhancement Update or improvement to existing feature Planned Planned feature, improvement or bugfix (not being worked on yet) labels Jun 23, 2021
@Rikj000 Rikj000 added this to the v0.13.0 milestone Jun 23, 2021
@Rikj000 Rikj000 changed the base branch from main to development June 27, 2021 14:22
@Rikj000 Rikj000 added In Progress This is being worked on and removed Planned Planned feature, improvement or bugfix (not being worked on yet) labels Jun 28, 2021
@Rikj000 Rikj000 merged commit f7936fd into Rikj000:development Jul 3, 2021
@Rikj000 Rikj000 removed the In Progress This is being worked on label Jul 3, 2021
@Rikj000
Copy link
Owner

Rikj000 commented Jul 3, 2021

MFI merged! 🥳

@Rikj000 Rikj000 linked an issue Jul 12, 2021 that may be closed by this pull request
@Rikj000 Rikj000 changed the title MFI vs. RSI signals Weighted Signal: MFI - Money Flow Index Jul 12, 2021
@Rikj000 Rikj000 changed the title Weighted Signal: MFI - Money Flow Index ⚡️ Weighted Signal: MFI - Money Flow Index Sep 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature - Enhancement Update or improvement to existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

📝 Other & Better indicators!
2 participants