PureBytes Links
Trading Reference Links
|
Hello to all;
I am trying to plot an MACD of a variable that is stored in "X".
That variable is a relative strenght ( performance rather - not an
RSI) - indicator - that part works fine. The code is as follows:
> X= RelStrength( "GC" );
Then I would like to plot an MACD of that X - I can not succeed in
that.
Below is an MACD code pasted from amobroker. How to modify it so that
it references to the "X" rather - not the price array:
> r1 = Param( "Fast avg", 12, 2, 200, 1 );
> r2 = Param( "Slow avg", 26, 2, 200, 1 );
> r3 = Param( "Signal avg", 9, 2, 200, 1 );
> Plot( ml = MACD(r1, r2), StrFormat(_SECTION_NAME()+"(%g,%g)", r1,
> r2), ParamColor("MACD color", colorRed ), ParamStyle("MACD
style") );
> Plot( sl = Signal(r1,r2,r3), "Signal" + _PARAM_VALUES(), ParamColor
> ("Signal color", colorBlue ), ParamStyle("Signal style") );
> Plot( ml-sl, "MACD Histogram", ParamColor("Histogram color",
> colorBlack ), styleNoTitle | ParamStyle("Histogram style",
> styleHistogram | styleNoLabel, maskHistogram ) );
ANy suggestions ?
Thanks
ANdrew
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
|