09-30-2018, 06:19 PM
Actually.. I think the file you've found goes in the indicators folder within the strategies folder, and there wouldn't be a .toml file!
Instead you'd create a strategy that uses the ROC indicator, and that strategy would live in the strategies folder and have a corresponding .toml file!
I guess you'd use the indicator in the same way the DEMA/RSI/MACD/etc strategies use those indicators, so you are probably best looking at those files (DEMA/RSI/MACD/etc.js in the strategies folder) and working out how you can amend one of them to use your ROC indicator.
Hth!
Instead you'd create a strategy that uses the ROC indicator, and that strategy would live in the strategies folder and have a corresponding .toml file!
I guess you'd use the indicator in the same way the DEMA/RSI/MACD/etc strategies use those indicators, so you are probably best looking at those files (DEMA/RSI/MACD/etc.js in the strategies folder) and working out how you can amend one of them to use your ROC indicator.
Hth!