PureBytes Links
Trading Reference Links
|
Anthony,
I am using the built-in TRIX indicator as an example...which indicator are
you using....anyway
does this example help...when the two lines cross the built-in color is
dominant.
Plot(MA(Trix(),9),"",IIf(Cross(MA(Trix(),9),Trix())OR Cross(Trix(),MA(Trix()
9)),colorRed,colorWhite),styleLine);
//--Indicator-End-- -- do not remove this line
range = Prefs( 26 );
_N( ranstr = "("+WriteVal( range, 1.0 )+")" );
Plot( Trix(range), "TRIX"+ranstr, -8 );
"(Interpretation is not available yet)";
Anthony
-------Original Message-------
From: amibroker@xxxxxxxxxxxxxxx
Date: Friday, May 09, 2003 12:29:08 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Plot order when adding a new line to inbuilt
indicators
H Jayson
Sorry I might not have explained myself properly. I am doing what you
said. I get both lines plotted but if the two lines coincide for any
length then the colour of the new line is the dominant one.
Regards
Anthony
--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> Anthony,
> try plotting the trigger above the "Indicator-End " notation
>
>
> Plot(MA(Trix(9),9),"",colorYellow,1);
> //--Indicator-End-- -- do not remove this line
> range = Prefs( 26 );
> _N( ranstr = "("+WriteVal( range, 1.0 )+")" );
> Plot( Trix(range), "TRIX"+ranstr, -8 );
>
>
> Regards,
> Jayson
> -----Original Message-----
> From: Anthony [mailto:anthony1@x...]
> Sent: Friday, May 09, 2003 10:54 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Plot order when adding a new line to inbuilt
indicators
>
>
> When I add an additional line to an inbuilt indicator like
>
> Trigger = MA(Trix(),9);
>
> Graph1Style = styleLine|styleNoLabel;
> Graph1Color = colorSkyblue;
> Graph1 = Trigger;
>
> or
>
> Plot(Trigger,"",colorSkyblue,styleLine|styleNoLabel);
>
> I get the new line overwriting the inbuilt line.
>
> If I make a custom indicator then I can control the order of the
> plots. However on a built-in indicator I cannot get the inbuilt line
> to print over the added one.
>
> I have tried GraphZorder but it does not work.
>
> Regards
> Anthony
>
>
> Yahoo! Groups Sponsor
>
>
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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.
Yahoo! Groups Sponsor
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.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->
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 http://docs.yahoo.com/info/terms/
|