OPEN-SOURCE SCRIPT

sma dipsparity and sdv

Updated
FXBTCJPY 1min contrarian script (2020/1/30)
1分足の逆張りです.

If you want to use other timescale, need to change disparity rate and sdv.
To display disparity(sma) and standard deviation, and to draw a hline(pine function) a certain valu. And lets think. I thought disparity rate 1~1.3 or -1~-1.3 are able to use constrarian trade (and sdv>600).

In bottom, disparity index is auxiliary. It is different from the multiple in the script to make the value easier to understand.

Sorry if the expiration date of the script has expired.
Release Notes
disparity's multiple, length and sdv are changed.(is it Curve fitting ?)
Release Notes
input_length and timeframe changed.
Release Notes
・add comment
・sdv value changed
・made code easier to read

in addition, sorry to make a mistake title "dipsparity"→"disparity :(
countertradeSimple Moving Average (SMA)Standard Deviation

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer