Bitcoin CME COT Delta Strategy

Reading 4 largest long positions and 4 largest short positions, this script uses (shorts - longs) to produce a long/short signal.

• When delta <= buy threshold, a "long" signal will appear on the chart.
• When shorts >= sell threshold, a "short" signal will appear on the chart.

To see the indicator below, since it's not possible to mix the two, use this script:
** This is not a trading advice, it's for research purposes only. Do not trade based upon these signals.
Note di rilascio: • Updated preview image
Note di rilascio: • Updated strategy report
Note di rilascio: • Changed threshold to float, adjusted buy threshold from 5 to 5.1
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?


How do you change start date as this number, 1550793600000 does not make sense.

If i wanted it to start from 01/01/2020 ?
+5 Rispondi
neov3 GarethSA
@GarethSA, It's an epoch timestamp, use 1577836800000 for 1/1/2020
+1 Rispondi
@neov3, Thanks
great job
+1 Rispondi
Can you give me the timestamp from the beginning of BTC chart please?
GarethSA GarethSA
@GarethSA, Don't worry, worked it out but the indicator doesn't show back that far with signals
neov3 GarethSA
@GarethSA, you can write 0 to show all signals, but it looks messy prior to what's set since CME BTC futures started around 2017
LOL. What about mar.18-mar.19 period? 100500 longs! Awesome!
neov3 bot4trade
@bot4trade, yea I fixed the threshold var type to a floating point number, so you can use 5.1, in which match x10000 long shows up
How can I set up to use smaller cycles?