07-12-2018, 12:26 PM
I am on my iPad so this is brutal ... haha ... Great suggestion.
I should have also used a different variable name for the RSI because it’s period value is adjustable. I will modify it when I am back on a computer later.
In the meantime, this should achieve what you are looking for.
In Toml file add:
# rsiHigh
rsiHigh = 60
# rsiLow
rsiLow = 40
In JS file change:
if((shortResult - longResult) >= this.delta && rsi9Result >= 60) {
To:
if((shortResult - longResult) >= this.delta && rsi9Result >= this.settings.rsiHigh) {
I hope this helps ! Thanks for the feedback !
TC Mabe