There are a few stories of trading using twitter feeds, etc. Of course there is FFCAL that gives news updates.
If you could find successful traders who post their trading results you could use that data.
You could use the data of people posting signals,etc.
Are there any sources of data worth considering?
In most cases it is easy enough to get the data into Empty4 or whichever platform you use.
Here's an example I chucked together using Python to extract the Buy/Sell % of myfxbook live accounts
the Python code is set to run in a loop updating every 60 seconds and write to a text file
It gives market sentiment based on live data.
Here is an Empty4 Function to read the file created
Code: Select all
int readfromfile(int pr){
double values[];
int h = FileOpen("output.txt", FILE_CSV || FILE_READ, ";");
int i = 0;
while (!FileIsEnding(h)){
string s = StringTrimRight(FileReadString(h));
if (s == "")
{
continue;
}
double value = StrToDouble(s);
ArrayResize(values, i + 1);
values[i] = value;
i++;
}
FileClose(h);
return(values[pr]);
}Code: Select all
int buypercent;
int pai=0;
if(Symbol()=="EURUSD")pai=0;
if(Symbol()=="GBPUSD")pai=1;
if(Symbol()=="USDJPY")pai=2;
if(Symbol()=="GBPJPY")pai=3;
if(Symbol()=="USDCAD")pai=4;
if(Symbol()=="EURJPY")pai=5;
if(Symbol()=="AUDUSD")pai=6;
if(Symbol()=="EURCHF")pai=7;
if(Symbol()=="EURGBP")pai=8;
if(Symbol()=="USDCHF")pai=9;
if(Volume[0]<5)buypercent=readfromfile(pai);