Composite Any Currency Strength IndexThis is a flexible currency strength indicator and you can adjust it to any currency you wish 'to measure'. By default, it is set to measure USD major pairs. Indicator calculates every pair you list, and plots one composite chart in the form of Heikin Ashi candles. Basically, you will get USD index in this case. Similarly, you can get AUD, EUR, CAD, JPY, CHF, etc indexes by specifying corresponding symbols. Remember about base and quote currencies and location of each for correct calculations. Simple adjustments in the script needed if you want to value USD by using USD in both base and quote (counter) currencies.
For example, when calculating USD strength by looking into USDJPY (not into JPYUSD) symbols, you will need to add minus "-" before corresponding security in the script itself, not in the Settings Inputs.
Default study script (with JPYUSD):
// Inputs
...
string sec3 = input(defval="JPYUSD", type=input.symbol, title="Symbol")
...
h_sec3 = security(heikinashi(sec3), timeframe.period, high)
l_sec3 = security(heikinashi(sec3), timeframe.period, low)
o_sec3 = security(heikinashi(sec3), timeframe.period, open)
c_sec3 = security(heikinashi(sec3), timeframe.period, close)
Adjusted study script with USDJPY:
// Inputs
...
string sec3 = input(defval="USDJPY", type=input.symbol, title="Symbol")
...
h_sec3 = -security(heikinashi(sec3), timeframe.period, high)
l_sec3 = -security(heikinashi(sec3), timeframe.period, low)
o_sec3 = -security(heikinashi(sec3), timeframe.period, open)
c_sec3 = -security(heikinashi(sec3), timeframe.period, close)
Unfortunately, I am not a coder specialist and perhaps someone here could improve this indicator for easier and more friendly adjustments. But thanks to variety of symbols on TradingView , you can ignore any changes in the script, and just use symbols with corresponding counter currency offered by this great platform.
Bollinger Bands, 2 x RMA, 4 x SMA/EMA were added for deeper analysing of the index. Other indicators with ability to select data sources (like CCI, StochRSI, Momentum etc) can be separately added to a current chart, but use Composite Any Currency Strength Index data as the source for analysing displayed pair, i.e. by selecting source - Composite Any Currency Strength Index: SMA Close or EMA HLC.
Thank you and good luck everyone!
Currency
Price in BitcoinHi folks,
This script simply converts the price of assets from USD to bitcoin and displays that price in a separate chart. Currently, only assets quoted in USD will work but I will add more currencies in the future.
Use:
1. Make sure the asset you're viewing is quoted in USD or USX. To check, hover over the symbol on the top left part of the chart, click the "More" ellipsis and select "Symbol Info". The currency will be among the info displayed.
2. Apply the script and view the chart at your own risk.
Math:
price(btc) = (x/usd) / (btc/usd)
Cheers!
Jared
Non-Rescaled RSI█ OVERVIEW
Relative Strength Index is a momentum oscillator developed by J. Wilder. The original version of RSI rescaled the relative strength measurement to range. While the rescaling is useful for readability, This non-rescaled version tells the exact average relative strength of the movement for the past period, and give another way to put the relative strength reading into context of current market condition.
█ Description & How To Use
1. The (+/-) in relative strength value indicates the direction
Example 1: Relative Strength of 2.33 means average gain is 2.33 bigger than average loss for the past period (Equivalent to RSI 70)
Example 2: Relative Strength of -2.33 means average loss is 2.33 bigger than average gain for the past period (Equivalent to RSI 30)
Example 3: Relative Strength of 0 means average gain is equal to average loss for the past period (Equivalent to RSI 50)
Look at comparison below:
2. You can use it exactly how you would use RSI: Overbought/Oversold state, Divergence, Trend identification, Failure Swings etc..
█ Features
- Overbought/Oversold line still maintainable as standard RSI level (70,30) in user input screen. The script will recalculate and plot the ob/os level accordingly
- Value Label to indicate the RSI and RS value
- Custom Gradient Color Scheme
█ Limitation
The Relative Strength absolute value is capped at 20 to avoid ratio value too big(or too small). This is enough to get accurate equivalent of RSI reading between 5-95
█ Disclaimer
Past performance is not an indicator of future results.
My opinions and research are my own and do not constitute financial advice in any way whatsoever.
Nothing published by me constitutes an investment/trading recommendation, nor should any data or Content published by me be relied upon for any investment/trading activities.
I strongly recommends that you perform your own independent research and/or speak with a qualified investment professional before making any financial decisions.
Currency Conversion for Dual Listed Stocks
This is a small tool for automatic currency conversion for dual listed stocks that trade in different currencies, i.e. Biontec: BNTX (USD) / 22UA (EUR).
- The label shows the converted price and the underlying's currency.
- Base currency is set to EUR.
- Automatically detects the underlying currency via syminfo.currency and converts it.
Screener - Mean Reversion Channel█ OVERVIEW
This is Screener script for Mean Reversion Channel Indicator
█ Description & How To Use
The screener works by scanning through up to 40 symbols and list down symbols that are currently within Overbought/Oversold Zone as defined by Mean Reversion Channel indicator.
The Overbought/Oversold Zone are further categorized and sorted by:
Strong : Indicated by "(Strong)" next to the symbol name
Normal : Indicated by the absence of "(Strong)" or "(Weak)" next to the symbol name
Weak : Indicated by "(Weak)" next to the symbol name
Notes: Refer to chart above to see how the Zone are categorized.
Notes: If the screener displays "Nothing Interesting". It simply means none of the screened assets are within the Overbought/Oversold Zone.
█ Features
- Scan up to 40 symbols at a time (By default, no asset is define. Once configured all the symbols you required, remember to save as default to save you from pain of configuring it again in the future)
- Options to scan by zones
- Custom Timeframe
█ Limitation
Due to multiple use of security() function required to call other symbols, expect the screener to be slow at certain times
█ Disclaimer
Past performance is not an indicator of future results.
My opinions and research are my own and do not constitute financial advice in any way whatsoever.
Nothing published by me constitutes an investment recommendation, nor should any data or Content published by me be relied upon for any investment/trading activities.
I strongly recommends that you perform your own independent research and/or speak with a qualified investment professional before making any financial decisions.
Any ideas to further improve this indicator are welcome :)
Credit: QuantNomad for his script idea on custom screener
[fareid] Quick Backtest Framework█ OVERVIEW
This Framework allows Pine Coders to quickly code Study() based signal/strategy and validate its viability before proceed to code with more advance/complex customized rules for entry, exit, trailstop, risk management etc..
This is somewhat an upgraded version of my earlier personal template with different strategy used, cleaner code
and additional features.
█ USE CASES
- You have an idea for trade signal and need a quick way to verify its potential before writing lengthy/complicated code
- You found a study script for trading signal in public library and want to validate it profitability with minimum effort before including it in your trading playbook
█ FEATURES
- Alert: Ready to use alert function based on signals from your custom indicator.
- Visual Backtest: Auto-plot entry, stop-loss and take profit for simple strategy performance analysis
- Backtest Statistic: Provide basic key metrics based on backtest strategy
- BTE External Signal Protocol: Ready to use code that will supply required state to PineCoders Backtesting & Trading Engine if you wish to have more advance and sophisticated backtesting engine
Notes: All of the above features have On/Off toggle
█ Description & How To Use
This Framework consist of 5 Modules but you only need to edit the first 2 Modules:
Module1: Indicator
Module2: Framework Input Protocol
Module3: Alert
Module4: Backtest
Module5: Backtest & Trading Engine
Tips: The source-code includes collapsible block by module for easy navigating
Module1: Indicator:
-----------------------------------------------------------------------------------
Main Module. Place custom indicator input parameter/calculation/indicator plotting here
Sample Strategy: Double MACD Crossover
MACD Signal: 1st MACD Cross above signal line indicate Buy Signal
1st MACD Cross below signal line indicate Sell Signal
MACD Filter: 2nd MACD is above 0 line indicate Uptrend
2nd MACD is below 0 line indicate Downtrend
Module2: Framework Input Protocol:
-----------------------------------------------------------------------------------
Use this module to connect main indicator/signal calculated in Module1 to the rest of the framework's module
4 variables needed to be defined here:
1. Uptrend
2. Dntrend
3. BuySignal
4. SellSignal
i'm not sure how to place a code snippet here to show you example so in the source code i already put a comment in Module2 on which part u need to edit. I hope its pretty simple to use.
Module3: Alert Module Description:
-----------------------------------------------------------------------------------
As long as the variables in Module2 properly defined, the alert module is ready to use without any further modification.
Input:
Enable Alert --> Enable TV's alert and plot signal to chart
Alert Type --> Set to take Buy only, Sell only or Both alert
Module4: Backtest Module Description:
-----------------------------------------------------------------------------------
As long as the variables in Module2 properly defined, the backtest module is ready to use without any further modification.
Input:
Backtest Stat --> Enable Backtest Statistic Label
Backtest Visual --> Enable Backtest visual simulation
Backtest Type --> Set to take Buy only or Sell only or both
SL Type -->
ATR : Set SL in ATR times Multiplier below entry price
Fixed : Set SL in fixed point below entry point (in 'Dollar'). e.g. for Stocks -> 0.5 equals to 50cent while for EURUSD currency -> 0.005 equal to 50 pips
HiLo Bar: Set SL at highest/lowest wick of previous bar plus/minus Fixed point. e.g. EURUSD HiLo=3 and Fixed Point = 0.0005, buy trade will place SL 5 Pips below lowest of previous 3 bar
SL ATR Multi --> Set Lookback Period used for SL's ATR calculation
SL ATR Multi --> Set ATR Multiplier for SL
SL Fixed --> Set Fixed Level for SL
SL Bar --> Set Number of previous bar to check for SL placement
TP RR Ratio --> Set TP based on RR multiplier. e.g. 2 means TP level will be twice further from entry point compared to Entry-SL distance.
Notes: The point is for preliminary testing, so it only supports 1 trade at a time and no Trailing Stop
Module5: Backtest & Trading Engine Description:
-----------------------------------------------------------------------------------
As long as the variables in Module2 properly defined, the Pinecoders BTE module is ready to use without any further modification.
Input:
External Signal Protocol --> Set ESP State to send to "Backtesting & Trading Engine "
Signal With Filter --> Use this to send entry signal that already filtered by this study indicator (without stoploss level)
Signal Without Filter --> Use this to send raw entry signal that are NOT YET FILTERED by this study indicator (without stoploss level)
Signal and Stop With Filter --> Use this to send entry signal WITH StopLoss that already filtered by this study indicator (with stoploss level)
Signal and Stop Without Filter --> Use this to send raw entry signal WITH StopLoss that are NOT YET FILTERED by this study indicator (with stoploss level)
Notes: Backtesting & Trading Engine already have built-in Filter, Entries and Stop Level. e.g. Unselect all their filter state if only want to use custom filter and make sure send Signal with Filter (with or without SL level)
█ DISCLAIMER:
This framework main objective is to create my personal indicator template so that i just have to modify the indicator module for preliminary testing in future.
The sample strategy included are for educational purpose only. Use at your own risk
credit: LucF/PineCoders for a lot of his scripts that i use as a guide to complete this
Mean Reversion Channel - (fareid's MRI Variant)Description :
Mean Reversion Channel objective, based on Mean Reversion theory ( everything has a tendency to revert back to its mean), is to help visualizing:
Inner Channel -> Dynamic Support and Resistance
Outer Channel -> Overbought/Oversold Zone which may signal consolidation phase or potential reversal due to unsustainable move
Details on some of the filtering type used for mean calculation can be read in Ehlers Technical Papers: "Swiss Army Knife Indicator" and/or his book "Cybernetics Analysis for Stock and Futures"
Disclaimer:
These study scripts was built only to test/visualize an idea to see its viability and if it can be used to optimize existing strategy.
Any ideas to further improve this indicator are welcome :)
[TrustedSignals] Currency Strength IndicatorOur own branded currency strength meter gives you a quick visual guide to which currencies are currently strong, and which ones are weak.
The meter measures the strength of all forex cross pairs and applies calculations on them to determine the overall strength for each individual currency.
It is useful as a quick guide to which currencies you might want to trade, and which might be worth staying away from. For instance, if a certain currency is very strong, and another suddenly turns weaker, you may find a trading opportunity
The indicator has an extra option the user can activate, to show only the 2 indexes correlated to the displayed pair on the chart. For example, if the EURUSD pair is displayed on the chart, the indicator will only show the EUR index and the USD index.
It is recommended to use a lookback length of over 90 for Timeframes higher than 60min, and under 60 for lower intraday timeframes
Use the link below to obtain access to this indicator
WSI FX DashboardThe WSI (Walton Strength Index) is a currency strength tool designed to show you how individual currencies are performing against each other.
It shows strength for 8 of the major currencies: USD, EUR, GBP, JPY, USD, CAD, AUD, NZD
Each of the lines corresponds to a currency, and you can use those readings to determine which currency pairs you would like to trade.
For example, if the EUR is higher than the rest of the currencies and the USD is lower than the rest of the currencies, then you may consider only buying on the EURUSD.
Don't look at this as an "entry mechanism" for placing trades, but rather a filter mechanism to help you determine which currency pairs might be best for a particular trading strategy that you intend to utilize. Once you have selected a currency pair, or set of currency pairs, then you would go to the individual currency pair charts and perform your usual technical analysis.
The Dashboard can be placed on any chart or timeframe. In the inputs you can select the timeframe you would like to use for the WSI calculations.
For example, if you are on a 1 hour chart and want to see a higher level view of the market, you might set the WSI Dashboard timeframe to Daily.
You can also change the WSI Period, which controls how many candles are used to calculate the strength for each currency.
Here is the 200 Period Daily WSI Dashboard:
Currency Group Stochastic (Dual Timeframe)
This is a stochastic for an entire currency group (majors and crosses). So if you are wondering whether the entire group will reverse this might help. For example, if you are think the USD group will roll over you can see an amalgamated stochastic of AUDUSD, NZDUSD, USDJPY, USDCHF, EURUSD, GBPUSD, USDCAD (average stochastic of all of them). The concept is that it might give help to identify 2 opposing currencies - an overbought currency verses an oversold currency.
Also, if your 'classic' instrument specific stochastic is showing an entry, does the the entire currency group agree?
There's more! You can also see the stochastic of the timeframe above on the current timeframe. You're current period stochastic tells you you've an entry and the stochastic from the timeframe above can indicate there is momentum in your direction. (There is a classic stochastic version of this on my profile)
There is a limit to how much I can fit into a single indicator so if you want to see the current and timeframe above together (recommended) you need to overlap the indicator on itself. See below
You can create a dashboard combined with 'currency relative strengths' (that indicator is on my profile) as per below. You now have an idea of the currency strengths, which currencies are correlating and potential turning point to help you decide which currencies to focus on...
Example...
gbp group COULD be ready to buy
chf group COULD be ready to sell
gbpchf - wait for the 3 min chart to roll over and an its not a bad call (considering it took 60 secs to review the market and choose an entry with the possible backing of the entire currency groups :o) )
REMEMBER, YOU CAN'T THIS TRADE FROM THIS INDICATOR. LOOK AT IT TO UNDERSTAND WHAT THE MARKET MIGHT BE DOING AND FOCUS YOUR DETAILED ATTENTION BASED ON YOUR CONCLUSION.
Good luck
Share USD group first to composite a 8 screens of strength.
share the USD group strength to compare the strength between pairs in USD group.
The 8 group could composite to a 8 screens of currency to look at whole situation.
If needed, the following currency is going on release.
S&P 500 Sector Strength IndexHi traders , this is lonelygrass again 😄, and I am going to show what you don't often see out there and share it with you.
This indicator is called "s&p 500 sector strength index"😎 , which allows you to distinguish strengths and weaknesses between different sectors in s&p500, and to create meaningful trading frameworks around it.
Similar to the RSI indicator , it also has overbought and oversold levels , you can clearly figure out the degree of crowd behaviors in various sectors' stocks .
For me 🤣, I will use it to "BUY LOW⬇️ , SELL HIGH⬆️". When a sector is oversold at the moment, I will try to buy those stocks when I find price actions and chart patterns in comply with the analysis by this indicator , the opposite for shortselling.
Also, for sake of being more user-friendly 👍, I added a function which enables you to only select the sector(s) you want to look at in order to make it less messy.
If you can't help to know what I will share with you coming up, then FOLLOW my account 😙 . Also , your likes and shares are really important 🎊. I will get more motivated to bring you new thing every day!!! ✍
[HCSI] Hiubris Currency Strength IndicatorHow to Use
Depending on the timeframe that you trade, it’s highly recommendable that you constantly monitor the turns of the slopes, that’s the best way to spot the currency shift of flows.
- For instance, if you are trading off the hourly chart, look to enter at key decision points, aligning technicals to exploit the opportunities of the strongest currencies vs the weakest .
If we were to take the chart below as a reference, judging by the slopes of the Daily trends, one would think that looking for buy-side opportunities in the GBP and USD against the NZD and EUR would be the best combination of currencies to stay on the right side of the market flows.
- If you are an intraday trader using the 5m chart to trade, what you then want to do is to constantly monitor the granular trend in the currency index off the 5m timeframe to identify in almost real time the potential changes in currency flows. Prior to that, you should have defined what are the best currencies to pair with one another, as shown above.
* We recommend using a Lookback Length of 90 for higher timeframes (1H+) and 60 for intraday timeframes
TTPro CurrencyImpulse V12TTPro CurrencyImpulse V12 is a currency strength indicator with multiTimeFrame capabilities and variable periods (non repainting). Currently includes but not limited to AUD USD EUR CHF JPY NZD CAD GBP.
You Jun's Currency Strength Indicator 2Script for calculating the cumulative RSI for 8 popular forex currencies.
You Jun's Currency Strength IndicatorCompare the relative strength (RSI) of 8 popular forex currencies, GBP, JPY, EUR, USD, CHF, CAD, NZD, AUD.
Adjust the RSI period, default 7.
Red: GBP
Green: JPY
Blue: EUR
Black: USD
Orange: CAD
Yellow: CHF
Purple: NZD
Teal: AUD
Forex Environment Recognition[mado]It's for Forex Environment Recognition.
six symbols strength indicator( like a CSI)
default setting for USDJPY
symbol1 : US02Y
symbol2 : US10Y
symbol3 : JP10Y
symbol4 : JPN225
symbol5 : DJI
symbol6 : GOLD
if you want to recognite another currency pair, you can change these symbols :)
AG Relative Currency Strength IndicatorThis is an indicator that we've been using for a while to pinpoint currencies that are strong/weak. By knowing which currencies are strong and weak, you can focus your attention on the currency pairs that are actually moving, or plan ahead when researching trades.
This indicator gives the Relative Currency Strength, on any timeframe, for every major currency: USD, EUR, GBP, JPY, CHF, CAD, AUD, and NZD.
The indicator includes labels if you need them (you can toggle on/off - default=off), but you will quickly get used to which colour line represents which currency.
You can also choose to show/hide any currency, for isolation or clarity, e.g. only showing USD, EUR and JPY if that's all you're interested in.
Note: due to how much data is being pulled in and processed, this indicator does take a while to load.
TTPro CurrencyImpulse V11// TTPro CurrencyImpulse V11 is a powerful indicator that measures the strength or weakness of the seven major currencies.
// Trading opportunities can be spotted very quickly when the currency lines cross over.
Canadian Dollar Currency IndexCanadian Dollar Currency Index updates in real time and doesn't close like tradingview.com's currency indexes. Based off of the Bank of Canada's CEER methodology and tracks it quite closely, although not perfectly. It seems to be higher than the Bank of Canada's index by 2 points. This could be due to using different data for the currencies and as I am not proficient in PineScript, I don't think I was able to replicate the formula exactly...? Regardless ,it works well and is more than close enough to suit one's purpose of tracking the Canadian dollar against a basket of currencies that are weighted according to the Bank of Canada's total weights (The total weight of a country j in year t is a weighted average of the their import, export and third-market competition weights). For more information on the actual Bank of Canada's index: www.bankofcanada.ca