feeding odin data to metastock

#1
can any body hepl me ,i have odin 9.05 viersion and metastock 9.0 professional version.I WANT TO IMPORT INTRADAY DATA OF ODIN IN TO MEASTOCK IN INTERVAL FO 5 MIN ,CAN ANY BODY HELP ME.I HAVE DDE CONVERTER.
 

jace48

Well-Known Member
#2
I have a code some where in email for Odin2Ami written in PERL.

Do not ask me for details on how will it work because I do not have ODIN and never used it. This script was written for Amibroker but I think can be adapted for Metastock as well.

Code:
#!/bin/perl

($sec,$min,$hour,$mday,$mon,$year,$wday, $yday,$isdst)=localtime(time);
$year += 1900;
$mon += 1;
$datestr1 = sprintf("%02d%02d%04d",$mday, $mon, $year);
$DataDir = "/cygdrive/c/ODIN/DIET/Data";
$OutDir = ""; # Specify path to your favorite directory
#$datestr1 = "04082008";
%FileMap = (
    "NIFTY",    $datestr1 . "_S&P CNX NiftyIndexChart.txt",
    "NIFTY-I",    "64637_2_". $datestr1 . "_NREAL.txt",
    "NIFTY-II",    "64637_2_". $datestr1 . "_NREAL.txt",
    "MIDCAP50",    $datestr1 . "_Nifty Midcap 50IndexChart.txt",
    "JUNIOR",    $datestr1 . "_CNX Nifty JuniorIndexChart.txt",
    "BANK",        $datestr1 . "_BANK NiftyIndexChart.txt",
    "CNXIT",    $datestr1 . "_CNX ITIndexChart.txt",
    "LT-I",        "64771_2_" . $datestr1 . "_NREAL.txt",
    "RELCAPITAL-I",    "64817_2_" . $datestr1 . "_NREAL.txt",
    "SBIN-I",    "64827_2_" . $datestr1 . "_NREAL.txt",
    "SUZLON-I",    "64841_2_" . $datestr1 . "_NREAL.txt",
    "JPASSOC-I",    "64759_2_" . $datestr1 . "_NREAL.txt",
    "RELIANCE-I",    "64818_2_" . $datestr1 . "_NREAL.txt"
);

foreach $i (keys %FileMap) {
  print "$i $FileMap{$i}\n";
  $status = open FIN,"<$DataDir/$FileMap{$i}" ;
  print "status $status\n";
  open FOUT,">$OutDir/$i.txt";
  while (<FIN>) {
    print FOUT "$i,$datestr1,$_";
  }
  close FIN;
}
 
#3
I have a code some where in email for Odin2Ami written in PERL.

Do not ask me for details on how will it work because I do not have ODIN and never used it. This script was written for Amibroker but I think can be adapted for Metastock as well.

Code:
#!/bin/perl

($sec,$min,$hour,$mday,$mon,$year,$wday, $yday,$isdst)=localtime(time);
$year += 1900;
$mon += 1;
$datestr1 = sprintf("%02d%02d%04d",$mday, $mon, $year);
$DataDir = "/cygdrive/c/ODIN/DIET/Data";
$OutDir = ""; # Specify path to your favorite directory
#$datestr1 = "04082008";
%FileMap = (
    "NIFTY",    $datestr1 . "_S&P CNX NiftyIndexChart.txt",
    "NIFTY-I",    "64637_2_". $datestr1 . "_NREAL.txt",
    "NIFTY-II",    "64637_2_". $datestr1 . "_NREAL.txt",
    "MIDCAP50",    $datestr1 . "_Nifty Midcap 50IndexChart.txt",
    "JUNIOR",    $datestr1 . "_CNX Nifty JuniorIndexChart.txt",
    "BANK",        $datestr1 . "_BANK NiftyIndexChart.txt",
    "CNXIT",    $datestr1 . "_CNX ITIndexChart.txt",
    "LT-I",        "64771_2_" . $datestr1 . "_NREAL.txt",
    "RELCAPITAL-I",    "64817_2_" . $datestr1 . "_NREAL.txt",
    "SBIN-I",    "64827_2_" . $datestr1 . "_NREAL.txt",
    "SUZLON-I",    "64841_2_" . $datestr1 . "_NREAL.txt",
    "JPASSOC-I",    "64759_2_" . $datestr1 . "_NREAL.txt",
    "RELIANCE-I",    "64818_2_" . $datestr1 . "_NREAL.txt"
);

foreach $i (keys %FileMap) {
  print "$i $FileMap{$i}\n";
  $status = open FIN,"<$DataDir/$FileMap{$i}" ;
  print "status $status\n";
  open FOUT,">$OutDir/$i.txt";
  while (<FIN>) {
    print FOUT "$i,$datestr1,$_";
  }
  close FIN;
}
Can u pls provide for amibroker also
 
#4
I have link odin excelsheet to metastock through following ways:

1. ONLY odin dealer module open its market watch to excel sheet.
2. you require DDECHARTUPDATER VER 1.3 to copy excel sheet data to metastock.
3. i have the crack of DDECHARTUPDATER.

ITS WORK VERY MUCH FINE.

I AM HERE TO HELP YOU ALL FOR FREEE BECAUSE

I believe knowledge have to be passon rather than keep it hold.

you can mail me your id


krishna
k _ krishna 79 at the rate of rediffmaaaaailllll dot of com
 
D

darsh_goswami

Guest
#5
I have link odin excelsheet to metastock through following ways:

1. ONLY odin dealer module open its market watch to excel sheet.
2. you require DDECHARTUPDATER VER 1.3 to copy excel sheet data to metastock.
3. i have the crack of DDECHARTUPDATER.

ITS WORK VERY MUCH FINE.

I AM HERE TO HELP YOU ALL FOR FREEE BECAUSE

I believe knowledge have to be passon rather than keep it hold.

you can mail me your id


krishna
k _ krishna 79 at the rate of rediffmaaaaailllll dot of com
Dear Krishna,
There is no rocket science knowledge required to setup such a simple dde link for metastock. Its very simple thing.

Now , before anyone goes for such thing , let me make them aware what r the limitations.

First of all , there is no backfill available as ur fatching data from Oding excel sheet.
Second one is , it updates data into metastock with a flicker. Which bugs normally during reading the chart.

Backfill can not be sorted out coz of odin limitations. but yeah flickers can be removed. I suggest u the tool , use METASERVER RT , if u can configure it , it will update ur charts without flicker. and yeah it might test ur nerves too. try it out. it will give u a smoother experience. As i m not using metastock or metaserver rt anymore , and i cant spoil my winros.exe due to esignal i cant help u in setting it up. but have done it in the past. and it worked like a charm.

All the best.
Cheers
 

jlmalhotra

Active Member
#6
Hello Darsh. I have been trynig to configure metaserver with metastock for quite sometime now. but am unable to do it. Its easy to configure metastock with DDE Chartupdater. Would appreciate if you could share the procedure.
 
#7
I have link odin excelsheet to metastock through following ways:

1. ONLY odin dealer module open its market watch to excel sheet.
2. you require DDECHARTUPDATER VER 1.3 to copy excel sheet data to metastock.
3. i have the crack of DDECHARTUPDATER.

ITS WORK VERY MUCH FINE.

I AM HERE TO HELP YOU ALL FOR FREEE BECAUSE

I believe knowledge have to be passon rather than keep it hold.

you can mail me your id

krishna
k _ krishna 79 at the rate of rediffmaaaaailllll dot of com
Can u help in getting DDECHARTUPDATER.
 

Similar threads