indiTraders - Forum for the Active Indian Trader  

Go Back   indiTraders - Forum for the Active Indian Trader > Tools > Software > Amibroker

fxcentralFront
Reply
 
Bookmark and Share LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 14-03-2009, 10:43 AM
uasish's Avatar
uasish uasish is offline
Super Moderator
 
Join Date: Mar 2009
Location: Kolkata,India.
Posts: 5,694
Thanks: 6,472
Thanked 12,115 Times in 4,073 Posts
uasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond repute
uasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond reputeuasish has a reputation beyond repute
Default

Originally Posted by thakkarps View Post
Dear Ashish,
u can use the enclosed afl to export the data for the period u want to a file for each scrip and then reimport it back that extracted period.

make the changes in the 2nd or third line preceding with buy in the afl
change the tf in settings as u wont. and press scan


U can also condense it to the higher time frame say 15 mins or 60 mins. In this way u can have all the old data in higher tf .
Hope it helps.

-St

Thks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to uasish For This Useful Post:
  #22 (permalink)  
Old 14-03-2009, 10:27 PM
narendra_ee99 narendra_ee99 is offline
Newbie
 
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
narendra_ee99 is on a distinguished road
Default Convertor for NSE data to AB

Seek to be advised about NSE intraday data conversion to Amibroker.
Regards,
Narendra
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to narendra_ee99 For This Useful Post:
  #23 (permalink)  
Old 14-03-2009, 10:36 PM
Renu's Avatar
Renu Renu is offline
indiTraders VIP
 
Join Date: Mar 2009
Location: calcutta
Posts: 1,332
Thanks: 890
Thanked 2,194 Times in 930 Posts
Renu has much to be proud ofRenu has much to be proud ofRenu has much to be proud ofRenu has much to be proud ofRenu has much to be proud ofRenu has much to be proud ofRenu has much to be proud ofRenu has much to be proud ofRenu has much to be proud ofRenu has much to be proud ofRenu has much to be proud ofRenu has much to be proud ofRenu has much to be proud ofRenu has much to be proud of
Default

hi
as posted earlier in one thread my amibroker got crashed due to third party plugin and so my data
i how ever recovered my back data (intra day) and i have the yesterdays intra day data into one folder
so now i have 2 folders intra day and intra day 1
how do i mix both the data's by not losing any of it

KINGFISHER
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to Renu For This Useful Post:
  #24 (permalink)  
Old 15-03-2009, 09:05 AM
bobby bobby is offline
Addicted
 
Join Date: Mar 2009
Posts: 185
Thanks: 216
Thanked 294 Times in 114 Posts
bobby is infamous around these partsbobby is infamous around these partsbobby is infamous around these partsbobby is infamous around these parts
Default

Originally Posted by narendra_ee99 View Post
Seek to be advised about NSE intraday data conversion to Amibroker.
Regards,
Narendra

Try .FILE>import wizard OR File>import ascii Or if you have data in metastock format try file>import metastock data
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to bobby For This Useful Post:
  #25 (permalink)  
Old 15-03-2009, 06:15 PM
musterion's Avatar
musterion musterion is offline
Professor Satchafunkilus
 
Join Date: Mar 2009
Location: planet earth
Posts: 621
Thanks: 607
Thanked 1,206 Times in 439 Posts
musterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to behold
Default

can any1 help in converting this metastock code to amibroker afl..getting stuck bcos of the "PREV" function


----- METASTOCK CODE -----------

f:= linearreg( C , 50, simple, 10 )
m:= If( Ref(f,-2) < Ref(f,-1) AND f < Ref(f,-1),Ref(H,-1),PREV);
n:= If( Ref(f,-2) > Ref(f,-1) AND f > Ref(f,-1),Ref(L,-1),PREV);
(m + n )/2;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to musterion For This Useful Post:
  #26 (permalink)  
Old 15-03-2009, 06:39 PM
Oxymoron's Avatar
Oxymoron Oxymoron is online now
Super Moderator
 
Join Date: Mar 2009
Location: Chennai
Posts: 957
Thanks: 3,616
Thanked 3,729 Times in 866 Posts
Oxymoron has a reputation beyond repute
Oxymoron has a reputation beyond reputeOxymoron has a reputation beyond reputeOxymoron has a reputation beyond reputeOxymoron has a reputation beyond reputeOxymoron has a reputation beyond reputeOxymoron has a reputation beyond reputeOxymoron has a reputation beyond reputeOxymoron has a reputation beyond repute
Default

Originally Posted by vvvv View Post
can any1 help in converting this metastock code to amibroker afl..getting stuck bcos of the "PREV" function


----- METASTOCK CODE -----------

f:= linearreg( C , 50, simple, 10 )
m:= If( Ref(f,-2) < Ref(f,-1) AND f < Ref(f,-1),Ref(H,-1),PREV);
n:= If( Ref(f,-2) > Ref(f,-1) AND f > Ref(f,-1),Ref(L,-1),PREV);
(m + n )/2;

After f, try this and tell me if it works:

Code:
m = Null;

for( i = 2; i < BarCount; i++ )
{
 if (f[i-2] < f[i-1] AND f[i] < f[i-1]) 
             m[i] =  H[i-1];          
       else
             m[i] = m[i-1];}

n = Null;

for( i = 2; i < BarCount; i++ )
{
 if (f[i-2] > f[i-1] AND f[i] > f[i-1]) 
             n[i] =  L[i-1];          
       else
             n[i] = n[i-1];}
__________________


Please use the report post button, citing reasons, in case you feel some post or thread is inappropriate. We will look into it asap
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 8 Users Say Thank You to Oxymoron For This Useful Post:
  #27 (permalink)  
Old 15-03-2009, 07:43 PM
musterion's Avatar
musterion musterion is offline
Professor Satchafunkilus
 
Join Date: Mar 2009
Location: planet earth
Posts: 621
Thanks: 607
Thanked 1,206 Times in 439 Posts
musterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to beholdmusterion is a splendid one to behold
Default

thnks so much oxy for giving an idea abt how to work with the PREV function in amibroker...but the results from metastock & amibroker is different.
tryin my best to figure out the stuff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to musterion For This Useful Post:
  #28 (permalink)  
Old 15-03-2009, 07:53 PM
Oxymoron's Avatar
Oxymoron Oxymoron is online now
Super Moderator
 
Join Date: Mar 2009
Location: Chennai
Posts: 957
Thanks: 3,616
Thanked 3,729 Times in 866 Posts
Oxymoron has a reputation beyond repute
Oxymoron has a reputation beyond reputeOxymoron has a reputation beyond reputeOxymoron has a reputation beyond reputeOxymoron has a reputation beyond reputeOxymoron has a reputation beyond reputeOxymoron has a reputation beyond reputeOxymoron has a reputation beyond reputeOxymoron has a reputation beyond repute
Default

Originally Posted by vvvv View Post
thnks so much oxy for giving an idea abt how to work with the PREV function in amibroker...but the results from metastock & amibroker is different.
tryin my best to figure out the stuff

Values match perfectly.

Code:
f = MA(LinearReg(C,50),10);
m = Null;

for( i = 2; i < BarCount; i++ )
{
 if (f[i-2] < f[i-1] AND f[i] < f[i-1]) 
             m[i] =  H[i-1];          
       else
             m[i] = m[i-1];}

n = Null;

for( i = 2; i < BarCount; i++ )
{
 if (f[i-2] > f[i-1] AND f[i] > f[i-1]) 
             n[i] =  L[i-1];          
       else
             n[i] = n[i-1];}

Plotval = (m+n)/2;

Plot(Plotval,"f",colorRed,styleThick);
__________________


Please use the report post button, citing reasons, in case you feel some post or thread is inappropriate. We will look into it asap
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 4 Users Say Thank You to Oxymoron For This Useful Post:
  #29 (permalink)  
Old 16-03-2009, 03:18 PM
oldnewbie oldnewbie is offline
Regular
 
Join Date: Mar 2009
Location: mumbai
Posts: 88
Thanks: 22
Thanked 102 Times in 50 Posts
oldnewbie is infamous around these partsoldnewbie is infamous around these partsoldnewbie is infamous around these parts
Default

hello all,

Can someone please guide me as to how I can include a sound file to be played when there is a signal generated in amibroker.

the main requirement is that the sound file should play ONLY after the bar has been completed, say in 10 minute time frame. I dont want it to play as soon as the bar starts, because many times the signal disappears due to market movement.

Any help will be much appreciated
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to oldnewbie For This Useful Post:
  #30 (permalink)  
Old 17-03-2009, 01:39 AM
alex's Avatar
alex alex is offline
indiTraders VIP
 
Join Date: Mar 2009
Location: Pune
Posts: 3,881
Thanks: 13,210
Thanked 11,436 Times in 3,460 Posts
alex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond repute
alex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond reputealex has a reputation beyond repute
Default

friends, i have some isues with exporting ami data, using this attached afl, but i am getting only 13 march data of nifty, where as i want 2 export current day i.e. 16 th of march ( also attached the exported file, please leme know where i am mistaking..
Attached Files
File Type: txt export afl.txt (1.6 KB, 37 views)
File Type: txt NIFTY_F1.txt (971 Bytes, 40 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to alex For This Useful Post:
Reply

indiTraders - Forum for the Active Indian Trader > Tools > Software > Amibroker


Tags
afl, amibroker, codes

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


fxcentralFront

All times are GMT +5.5. The time now is 07:13 PM.


iT
indiTraders.com Copyright by indiTraders