[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] only one logic


  • Date: Tue, 29 Dec 2009 15:26:58 -0000
  • From: "nifty46" <nifty46@xxxxxxxxx>
  • Subject: [amibroker] only one logic

PureBytes Links

Trading Reference Links

AFL masters, please help thax in adwanced a error comes at Buy1=ValueWhen(LB3bar,H); after (LB3bar....

for( x = BarCount-20; x < BarCount; x++ ) 
{ 
HB1=0;
LB1=0;
HB2=0;
LB2=0;
HB3=0;
LB3=0;
if(L[x]< L[x-1])
{ 
LB1=L[x]; HB1=H[x]; LB1bar=x;
for( y = LB1bar-20; y > LB1bar; y++ ) 
{
if(L[y]>LB1 AND H[y]>HB1)
{ 
LB2=L[y]; HB2=H[y]; LB2bar=y;
for( z = LB2bar-20; z > LB2bar; z++ ) 
{
if(L[z]>LB2 AND H[z]>HB2)
{
LB3=L[z];HB3=H[z] ; LB3bar=z;
}
}
}
}
}
}

Buy1=ValueWhen(LB3bar,H);
Barx1=BarCount  -20  ;
Barx2=BarCount - (20 - x);
PER2=Param("PER2",20,1,100,1);
Plot(LineArray(Barx1,HB3,Barx2,HB3,extend=PER2),"",colorGreen,styleDashed);

_SECTION_END();

waiting ur good responce  nifty46



------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/