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

[amibroker] RE: Cross or > ??



PureBytes Links

Trading Reference Links





//Here is an example of the 
> use.  The Shorter ribbon shows the 
greater than condition
Line1 = <FONT color=#0000ff 
size=1>MA(C,<FONT color=#ff00ff 
size=1>5);
Line2 = <FONT color=#0000ff 
size=1>MA(C,<FONT color=#ff00ff 
size=1>20);
B1 = Line1 > Line2;
S1 = Line2 > Line1;<FONT color=#0000ff 
size=1>
Plot<FONT 
size=1>(Line1,"Line1"<FONT 
size=1>,5,<FONT 
color=#ff00ff size=1>4);<FONT 
color=#0000ff size=1>
Plot<FONT 
size=1>(Line2,"Line2"<FONT 
size=1>,4,<FONT 
color=#ff00ff size=1>4);<FONT 
color=#0000ff>
Plot(<FONT 
color=#ff00ff>7, /* defines the height of the ribbon 
in percent of pane width */" <SPAN 
class=703022003-30112003>5 20 Greater",<FONT 
color=#0000ff>IIf( B1, colorGreen, IIf( 
S1, colorRed, 7 )), /* 
choose color*/styleOwnScale|styleArea|styleNoLabel, 
-0.5, 
100<FONT 
face=Arial> );
///////////////Here is an 
example of the Cross use.<SPAN 
class=703022003-30112003>  The Taller Ribbon shows only the Cross which is 
the soonest bar AFTER the Cross, not ON the Cross, so it is always one bar 
late.
B1 = <FONT face=Arial color=#0000ff 
size=1>Cross(Line1,Line2);
S1 = <FONT color=#0000ff 
size=1>Cross(Line2,Line1);<FONT 
color=#0000ff>
Plot(<FONT 
color=#ff00ff>15, /* defines the height of the ribbon 
in percent of pane width */"<SPAN 
class=703022003-30112003>5 20 Cross ",<FONT 
color=#0000ff>IIf( B1, colorGreen, IIf( 
S1, colorRed, 7 )), /* 
choose color*/styleOwnScale|styleArea|styleNoLabel, 
-0.5, 
100 );
Mr 
Valley






Yahoo! Groups Sponsor


  ADVERTISEMENT 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.