PureBytes Links
Trading Reference Links
|
Hi,
My code is posted below
_SECTION_BEGIN("Elder_Channel");
Period = Param( "EMA Period", 9, 2, 100 );
//Co_Efficient = Param( "Co_Efficient", ATR(9),0.05, 5, .05 );
EMACalculated=EMA(Close,Period);
UpperChannel=EMACalculated+ATR(33);
LowerChannel=EMACalculated-ATR(33);
Plot(UpperChannel,"UpperChannel",colorRed,styleLine);
Plot(LowerChannel,"LowerChannel",colorWhite,styleLine);
Plot(EMACalculated,"EMA " + Period,colorGreen,styleLine);
SetChartOptions(0,chartShowArrows);
Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g,
Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC(
C, 1 ) ) );
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle |
ParamStyle("Style", styleCandle, maskPrice ) );
_SECTION_END();
_SECTION_BEGIN("EMA1");
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 200, 1, 10 );
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color",
colorCycle ), ParamStyle("Style") );
_SECTION_END();
MY QUESTION:
How do i find the angle of intersection between
Plot(LowerChannel,"LowerChannel",colorWhite,styleLine);
and
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color",
colorCycle ), ParamStyle("Style") );
Thanks in advance.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> 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/
|