Subtracting the stochastic oscillator value of two different symbols

Created at 27 Dec 2014, 13:49
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
CR

crank

Joined 11.11.2014

Subtracting the stochastic oscillator value of two different symbols
27 Dec 2014, 13:49


Looking for an indicator based on the difference in the standard stochastic oscillator of two different symbols, i.e.,

(Kfast of symbol1) MINUS (Kfast of symbol2)

Just need general code on subtracting the stochastic oscillator Kfast(only) values of two different symbols into one new oscillator. Similar to the relative strength (NOT RSI) of one symbol versus a second symbol, but using the Stochastic oscillator instead of price.


@crank