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

[amibroker] Re: How can i display a weekly conditioned ribbon on the daily chart????



PureBytes Links

Trading Reference Links

Worked just fine.........thx man



--- In amibroker@xxxxxxxxxxxxxxx, "Edward Pottasch" <empottasch@xxx>
wrote:
>
> hi,
> 
> here is an example:
> 
> 
> TimeFrameSet(inWeekly); 
> BuyMode = MACD(12,26) > Signal(12,26,9); 
> ShortMode = MACD(12,26) < Signal(12,26,9); 
> TimeFrameRestore(); 
> 
> BuyMode = TimeFrameExpand( BuyMode, inWeekly ); 
> ShortMode = TimeFrameExpand( ShortMode, inWeekly ); 
> 
> SetChartOptions(0, chartShowDates); 
> Plot(C,"Last=",colorBlack,64); 
> 
> weeklyRibbon = IIf(BuyMode, colorBrightGreen,
IIf(ShortMode,colorRed,colorBlue)); 
> Plot( 3,"",weeklyRibbon ,styleOwnScale|styleArea|styleNoLabel,0,100); 
> 
> 
> 
>   ----- Original Message ----- 
>   From: Tamer Gamal 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Sunday, December 07, 2008 12:25 PM
>   Subject: [amibroker] How can i display a weekly conditioned ribbon
on the daily chart????
> 
> 
>   Dear all,
> 
>   If someone can help me!
> 
>   i want to display a weekly ribbon on the daily chart.
>   the weekly ribbon is green when macd in buy mode, red when sell mode.
>   i would like to display it on daily chart.
> 
>   any ideas???
>



------------------------------------

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