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

Re: [amibroker] AFL help



PureBytes Links

Trading Reference Links


Yahoo,
 
This is probably not the best place to discuss 
this, but could you email me directly with your comments on Drummond.  
Please.
<A 
href="">winchp@xxxx
 
Regards,
 
P

<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Yahoo 
To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Friday, November 16, 2001 12:40 
PM
Subject: RE: [amibroker] AFL help

Of 
course!
 
<SPAN 
class=160223902-16112001>Thankyou 
Mohan! <A 
 
 
href="" target=_blank>
<A 
href="" 
target=_top> 
<BLOCKQUOTE 
>
<FONT face=Tahoma 
size=2>-----Original Message-----From: Mohan Yellayi 
[mailto:myellayi@xxxx]Sent: Friday, 16 November 2001 
13:37To: <A 
href="">amibroker@xxxxxxxxxxxxxxxSubject: 
Re: [amibroker] AFL help
You have to define PLdot before you can color 
the graph !
 
Put  the Pldot statement before 
Graph0color statement.
 
PLdot=Ref(((Av+<FONT 
color=#0000ff>Ref(Av,-1)+<FONT 
color=#0000ff>Ref(Av,-2))/<FONT 
color=#ff00ff>3),-1)
<FONT 
face="Courier New">Graph0BarColor=<FONT 
color=#0000ff>IIf(PLdot>=<SPAN 
class=100141002-16112001>C,<FONT 
color=#ff00ff>5,4);
 
Mohan
 
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Yahoo 
To: <A 
title=amibroker@xxxxxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 

Sent: Thursday, November 15, 2001 
9:18 PM
Subject: [amibroker] AFL help

<FONT 
size=2>Hello,
<FONT 
size=2> 
Can anyone please help me 
with the following AFL?
<FONT 
size=2> 
The graph0barcolor part 
does not seem to work.
<FONT 
size=2> 
I am trying to have green 
bars if PLdot is greater than or equal to the close and red if less than 
the close.
<FONT 
size=2> 
The formula functions OK 
without the bar color part.
<SPAN 
class=100141002-16112001> 
BTW, does anyoneuse 
Drummond Geometry? Have you written any AFLs for it?
<FONT 
size=2> 
Larry 
Lovrencic
<FONT face="Courier New" 
color=#008000>
/* PLdot - Drummond Geometry */
Graph0=C;
Graph0Color<FONT 
face="Courier New">=29;
Graph0Style<FONT 
face="Courier New">=4+<FONT 
color=#ff00ff>128;
Graph0BarColor<FONT 
face="Courier New">=IIf(PLdot>=<SPAN 
class=100141002-16112001>C,<FONT 
color=#ff00ff>5,4);
Av=(H+L+C)/<FONT 
color=#ff00ff>3;
PLdot=<FONT 
color=#0000ff>Ref(((Av+Ref(Av,-<FONT 
color=#ff00ff>1)+Ref(Av,-<FONT 
color=#ff00ff>2))/3),-<FONT 
color=#ff00ff>1);
Graph1<FONT 
face="Courier New">=PLdot;
Graph1Color<FONT 
face="Courier New">=4;
Graph1Style<FONT 
face="Courier New">=4+<FONT 
color=#ff00ff>8+16+<FONT 
color=#ff00ff>512;
graphxspace=<FONT 
color=#ff00ff>5;
Title = 
Date()+" "+<FONT 
color=#0000ff>Name()+" Drummond PLdot" 
+" O"+<FONT 
color=#0000ff>WriteVal(O,format=<FONT 
color=#ff00ff>1.2)+" H"+<FONT 
color=#0000ff>WriteVal(H,format=<FONT 
color=#ff00ff>1.2)+" L"+<FONT 
color=#0000ff>WriteVal(L,format=<FONT 
color=#ff00ff>1.2)+" C"+<FONT 
color=#0000ff>WriteVal(C,format=<FONT 
color=#ff00ff>1.2)+ " PLdot="+ <FONT 
color=#0000ff>WriteVal(PLdot,format=<FONT 
color=#ff00ff>1.2)+" The Trend is"+<FONT 
color=#0000ff>WriteIf(C>=PLdot," 
up"," down");
<FONT face="Courier New" 
size=1> Youruse of 
Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 
Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.