OPEN-SOURCE SCRIPT

Arbitrage DOL BR / DOL USA

Updated
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.
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.
arbitrageOscillatorsspread

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?

Disclaimer