PureBytes Links
Trading Reference Links
|
Dear Friends I am again bringing to your attention this post which I
placed somedays back. Please help.
I need to define Moving Average 6 displaced by 4
So for Example:-
MA64= MA 6 , displaced horizontally by 4,
Then I want to
Buy=Cross(C,MA64);
Below is the diplaced MA std AFL as per AMIBROKER . The problem is it can
be plotted but cant be defined for creating a buy condition.
===============================================================
Type = ParamList("Type", "Simple");
Periods = Param("Periods", 6, 2, 300 );
Displacement = Param("Displacement", 4, -50, 50 );
m = 0;
if( Type == "Simple" ) m = MA( H, 6 );
Plot( m,"", colorDarkGreen, ParamStyle("Style"), 0, 0, Displacement );
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|