-
Notifications
You must be signed in to change notification settings - Fork 3.9k
2 indicators with different time intervals / buy at price #1075
Comments
Hey @AlfredoBB!
The current configuration is all over the place, if you want to create a stratety that has a parameter blob which you want to set in the UI you need to:
And now it shows up in the UI :) This is definitely not ideal, and there is a proposal to improve the configuration (for both the UI and the CLI mode), see #956 for details.
This has been asked a lot and the current answer is: The
If you want more complex functionality, like different indicators on different intervals the best way right now is to just calculate them yourself: in your strat's update function you can update them yourself (every Nth candle for example). The reason why this is not part of the This question is a dup of #868.
This is quite specific, but you are more than welcome to add a PR for this :) |
I am closing this, because the main issues are dups! Feel free to keep the conversation going :) |
Note: for support questions, please join our Discord server
Thank you very much for this amazing program.
I have 2 Feature Requests / 1 bug?
I'm writing a custom bot combining indicators.
I'd like to 5 min MACD, 15 min MACD and 60 min MACD; since all of these provide different information.
However the program doesn't allow me do this.
I can tell it "create candles every 5 minutes", then I use a counter to create the 15 and the 60 min candles.
However I'm not able to apply the AddIndicator function or the Talib to it. (maybe an AddIndicator or Talib function that accepted an user-customized array of candles?)
Secondly, it would be interesting that the advice('') function (long/short) accepted a second parameter ("notes"). I pass the indicator that triggered the trade activation and when I go through the trades table, I can see which indicators triggered successful trades and which ones didn't.
Finally, I've noticed the only way to pass the settings parameter variable is creating an object through the init() function in user-customized programs... It doesn't accept it from the interface... I'm still testing this.
Thank you very much again.
Alfredo.
The text was updated successfully, but these errors were encountered: