PROTECTED SOURCE SCRIPT
Updated COT Short Term Change

Shows when different types of traders (commercials, non-commercials or small specs) are adding longs/shorts and taking our shorts/longs more than a specified percentage defined by the user. The indicator will display a triangle when the following conditions happen:
if Commercials chosen:
* Triangle up if Commercial longs added more than X percent and decreased shorts more than X percent compared to previous report.
* Triangle down if Commercial longs decreased more than X percent and added shorts more than X percent compared to previous report.
if Large Specs chosen:
* Triangle up if Large Specs longs added more than X percent and decreased shorts more than X percent compared to previous report.
* Triangle down if Large Specs longs decreased more than X percent and added shorts more than X percent compared to previous report.
if Small Specs chosen:
* Triangle up if Small Specs longs added more than X percent and decreased shorts more than X percent compared to previous report.
* Triangle down if Small Specs longs decreased more than X percent and added shorts more than X percent compared to previous report.
You can offset the triangles to a given number of bars chosen by the user.
if Commercials chosen:
* Triangle up if Commercial longs added more than X percent and decreased shorts more than X percent compared to previous report.
* Triangle down if Commercial longs decreased more than X percent and added shorts more than X percent compared to previous report.
if Large Specs chosen:
* Triangle up if Large Specs longs added more than X percent and decreased shorts more than X percent compared to previous report.
* Triangle down if Large Specs longs decreased more than X percent and added shorts more than X percent compared to previous report.
if Small Specs chosen:
* Triangle up if Small Specs longs added more than X percent and decreased shorts more than X percent compared to previous report.
* Triangle down if Small Specs longs decreased more than X percent and added shorts more than X percent compared to previous report.
You can offset the triangles to a given number of bars chosen by the user.
Release Notes
Minor correctionsRelease Notes
Minor changesRelease Notes
Minor fixRelease Notes
minor changesRelease Notes
% Net Change from previous week shown on chartRelease Notes
Minor changesRelease Notes
CorrectionsRelease Notes
Error on Commercials calculation fixedProtected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.