TradingView
Daveatt
2 de Dic. de 2019 13:14

BEST Currency Strength Indicator Divergence 

U.S. Dollar/Japanese YenFXCM

Descripción

Hello traders

Hope you had a great Thanksgiving
Now it's my turn to give and all I ask in return is you to be thankful (did I get the "Thanksgiving" thing right?)

The Currency Strength Indicator plots an average of the selected FX pairs in the indicator.
Someone asked me if I could develop an alternative of that script adding a divergence component. tradingview.com/script/rpQJ6sVx-Currency-Strength-Indicator-CSA-5-Step-Scalp/

The script evaluates the divergences between the average of the selected RSI(FOREX pairs) and the RSI(FOREX pair) displayed on the chart.

This version includes new features such as:

- the RSI length can now be selected
- we can select the 6 pairs used for the divergence calculations

All the BEST my aspiring traders and quants
See you tomorrow for another script

Dave
Comentarios
totoroha
Happy Thanksgiving, a little bit too late. Can you do a similar indicator for BTCUSD?
Daveatt
@totoroha, Hi there
In the indicator you can select the assets already. So You can select the cryptos you want and apply the indicator on a BTC chart
totoroha
@Daveatt, you mean this pair "FX_IDC:USDEUR"?I want to change it to BTCUSD, but don't know the initial part. Should it be CR_IDC which is crypto IDC?
Daveatt
@totoroha, you can try BINANCE:BTCUSDT or BITSTAMP:BTCUSD
krajesh
Thanks. Can do for Nifty please
Daveatt
@krajesh, Nifty compared with other indices? or other Indian stocks?
RAZNET
Thanks Daveatt! Great job!!
Season's greetings :)
Daveatt
@RAZNET, I appreciate it
Greetings :)
RAZNET
@Daveatt, Thanks :) Was trying to adapt your indicator a little by changing price type to typical and adding two more instruments - DXY and USDOLLAR.

Receiving this error:

"line 72: The function 'anonym_function_2' should be called on each calculation for consistency. It is recommended to extract the call from the ternary operator or from the scope"

It's plotting the line anyway, but not sure what to do with the error. Could you advise please? No idea what "It is recommended to extract the call from the ternary operator or from the scope" means :))
Daveatt
@RAZNET, without seeing that piece of code, will be hard for me to help :)
Más