![]() |
| The Following User Says Thank You to uasish For This Useful Post: | ||
|
|||
|
Seek to be advised about NSE intraday data conversion to Amibroker.
Regards, Narendra |
| The Following User Says Thank You to narendra_ee99 For This Useful Post: | ||
|
||||
|
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 |
| The Following User Says Thank You to Renu For This Useful Post: | ||
|
|||
|
|
| The Following User Says Thank You to bobby For This Useful 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; |
| The Following User Says Thank You to musterion For This Useful Post: | ||
|
||||
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 |
|
||||
|
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 |
| The Following User Says Thank You to musterion For This Useful Post: | ||
|
||||
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 |
|
|||
|
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 |
| The Following User Says Thank You to oldnewbie For This Useful Post: | ||
|
||||
|
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..
|
![]() |
| Tags |
| afl, amibroker, codes |
| Thread Tools | |
| Display Modes | |
|
|