OPEN-SOURCE SCRIPT
Updated Arbitrage DOL BR / DOL USA

This indicator is made to calculate and show the spread between the currency pair USD-BRL being negotiatied in Brasil's B3 and in USA's CME Globex.
The orange line "Arbitrage" is the spread.
The red/green line is the "Stop Loss" recommended for the strategy. If the line is green, it means that the reward/tisk ratio is above 1.
IMPORTANT: MAKE SURE TO BE USING THE SAME TIMEFRAME ON BOTH THE INDICATOR AND THE CHART.
The orange line "Arbitrage" is the spread.
The red/green line is the "Stop Loss" recommended for the strategy. If the line is green, it means that the reward/tisk ratio is above 1.
IMPORTANT: MAKE SURE TO BE USING THE SAME TIMEFRAME ON BOTH THE INDICATOR AND THE CHART.
Release Notes
Bug Fix: The "Stop Loss" line now works properly in any time-frame.Also, updated the default Time-Frame of the strategy to 1 minute.
Release Notes
Updated default contract to the "N" Series.Release Notes
You no longer need to input the timeframe. The Indicator follow the Graph's timeframe.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.