[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Weekly MACD Cross shapeArrow in Daily chart.



PureBytes Links

Trading Reference Links

Am just guessing but try this out


Timeframeset (inweekly);

w_macd=macd();
w_sgnl=signal();

Timeframerestore();

w_macd=timeframeexpand(w_macd,inweekly);
w_sgnl=timeframeexpand(w_sgnl,inweekly);


buy=cross(w_macd,w_sgnl);





On 3/13/07, Mohammed <softnews2003@xxxxxxxxx> wrote:

Hi,

In the daily chart I would like to plot shapeUpArrow / shapeDownArrow indicate weekly MACD cross.

I try this one but it is seems not working .

TimeFrameSet( inWeekly );
Buy = Cross(MACD(), Signal());
TimeFrameRestore();

Sell = 0;

PlotShapes( Buy * shapeUpArrow + Sell * shapeDownArrow, IIf( Buy, colorGreen, colorRed ) );

Thanks for  helping.


__._,_.___

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 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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___