New article MQL5: Analysis and Processing of Commodity Futures Trading Commission (CFTC) Reports in MetaTrader 5 is published:
5 star rating for this article. Thanks!
seem there is an error into common.mqh:
datetime times : '0' invalid index value
returned while compiling cot.mq5
i've tried to workaround but no luck, is somebody can fix it ? (i've no skill to do it)
seems there is an error in common.mqh
'SERIES_SYNCRONIZED' - undeclared identifier common.mqh 338 42
Track The Largest Traders With The Commitment of Traders (CoT) Report (adapted from dailyfx article)
What Is the Commitment of Traders Report?
How would you like to know what the smartest guys and girls
in the room are doing? Thanks to a requirement by the Commodity Futures
Trading Commission, the largest futures traders in the world are
required to report their positions which can easily be tracked due to
the margin they must pay to hold their large positions which the CFTC
has been publishing since 1962 and since 2000, ever Friday at 3:30ET pm.
This information can be of extreme help due to the people who come into
the Futures market like hedge funds to make a return above their
respective index or some of the largest companies in the world with
real-time data of the health of the economy that come to the futures
market to hedge their exposure to price fluctuations of raw materials
that they use to make their product or preform their service.Who Are the Players In The Report?
How to Read the CoT for Directional Bias?
Upon the first reading of the CoT, you may be confused how future
positions in USD, JPY, GBP or EUR could be helpful for trading EURUD,
USDJPY, or EURGBP. There is a lot to learn about the Commitment of
Traders report but what’s often helpful is to find when there is a very
strong divergence between large speculators and large commercials.Look to See What Hedge Funds Are Buying Selling :
Non-Commercials / Hedge Funds Sold USDJPY Longs & Charts Confirm This :
The first place to start with is a clean understanding of Net
Positioning which is shown clearly on the reports and the week over week
differential of major market bias (circled above). It may be helpful to
know that what you’re looking for isn’t as much the specific number but
a clear sign in % of open interest or bias so that you see
Non-Commercials / Funds flipping against the primary trend. Furthermore,
when you see a key flip in sentiment of non-commercials / funds who are
in it for the money and not to be hedged like commercials, and there is
a confirmation on the charts that a trend is exhausting, you are likely
trading in the direction of the big kids.
I have returned to forex trading after an absence of 18 months.
I was using the Mql4 version of the COT report indicator. When I tried to compile the existing mql4 COT version in mql5, it obviously did not work. Rather than begin coding repair on my own, I tried to see if there was an updated / corrections of the original mql4 that would work in mql5, so began reading the mql5 COT material.
As read about the mql5 version of the COT report indicator, it appears to be quite different...? (different programmer / authors with a different approach? OR is it the same programmer that deals with changes in mql5?)
does the mql5 COT version allow for concatenation and aggregation like was available in the mql4 version? At first read through, I could not tell (I have much to learn about mql5 coding). Does the mql5 version use *.ini files?
It seems that the CFTC reports been structurally changed, to allow more detailed assessment of the data.
is this report still working?
i coppied the files to the folder, activate the DLL but i cannot downloady any date, getting errors
the main question, are there any DLL needed?
i copied the include into the folter include directly
the scripts into Script/Cot Report
and the indicator Indicators/Cot Report
is there any fault in the folder or does i have to include more files?
even i checked out the website, it looks that the download format and the name of the downloads ahve changed, is this maybe the problem? maybe some work with this indicator and have any idea