
Combine Two Pine Scripts.
Upwork
Remoto
•9 hours ago
•No application
About
I want to combine two pine scripts, the Bollinger Bands %b and the ATR. I want it so when the ATR value decreases, it decreases the Bollinger Bands %b value proportionally and inversely when the ATR value increases, it increases the Bollinger Bands %b value proportionally. It might also need a ratio setting to define how much an indicator is defining output. So lets say we have a range of +1 to -1, where +1 is where Bollinger Bands %b ia fully dominant and ATR has zero influence and visa versa, where -1 has the ATR fully dominant and Bollinger Bands %b has zero influence. 0 would be where both indicators have equal influence.