https://groups.yahoo.com/neo/groups/AmiBroker-at/conversations/topics/3971
Le 04/02/2016 02:01, gregjessup@gmail.com [amibroker] a écrit :
I am trying to write something that will trade on the daily when monthly moving avgs cross.
Can someone provide a sample of this? It doesn't seem to be working correctly for me using
TimeFrameSet( inMonthly );
ma10 = MA( C, 10 );
ma20 = MA( C, 20 );
TimeFrameRestore(); // restore time frame to original
Buy = Cross( ma10, ma20 );
Sell = Cross( ma20 , ma10 );
Thanks
__._,_.___
Posted by: reinsley <reinsley@yahoo.fr>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (2) |
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
.
__,_._,___
EmoticonEmoticon