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

Re: [amibroker] Re: Is it possible to display a daily indicator on a weekly chart ???


  • Date: Thu, 4 Mar 2010 19:58:40 -0500
  • From: "Anthony Faragasso" <ajf1111@xxxxxxxx>
  • Subject: Re: [amibroker] Re: Is it possible to display a daily indicator on a weekly chart ???

PureBytes Links

Trading Reference Links



Hello,
 
My understanding is that you can not derive Daily data from Weekly data, you should do it in reverse then.
 
Open up formula editor:
 

SetChartOptions(0,chartShowDates);

TimeFrameSet(inWeekly);

Plot(C,"weekly",colorBlack,styleCandle);

TimeFrameRestore();

//Below plot your daily indicator

 
 
 
----- Original Message -----
Sent: Thursday, March 04, 2010 6:37 PM
Subject: [amibroker] Re: Is it possible to display a daily indicator on a weekly chart ???

 

Hello Patrick,

Thanks for the response.  Yes, this is exactly the opporsite to what the Ami help describe  

(ie weekly on daily chart ) - what I need is daily on weekly chart.

 

I checked everywhere including manual, user grop etc and tried various combinations of TimeFrame functions in AFL with no luck.

Any help would be greatly appreciated.

 


--- In amibroker@xxxxxxxxxps.com, "NW Trader" <ta4charts@xx.> wrote:
>
> Hi Ice,
>
> Apologies, didn't read your whole message. I'll try to get back to you later after the market.
>
> Peace and Justice --- Patrick
> ----- Original Message -----
> From: NW Trader
> To: amibroker@xxxxxxxxxps.com
> Sent: Thursday, March 04, 2010 9:51 AM
> Subject: Re: [amibroker] Is it possible to display a daily indicator on a weekly chart ???
>
>
>
>
>
> Hi ice,
>
> Yes it is. See TimeFrameSet() and TimeFrameRestore() in the AFL help. Hint, look at how one plots daily info on intraday charts.
>
> Peace and Justice --- Patrick
> ----- Original Message -----
> From: iceboundbug
> To: amibroker@xxxxxxxxxps.com
> Sent: Thursday, March 04, 2010 5:41 AM
> Subject: [amibroker] Is it possibl e to display a daily indicator on a weekly chart ???
>
>
> Hi all,
>
> I tried to display a daily indicator on a weekly chart without any success. I would appreciate if someone can show me how.
>
> Thanks in advance.
>
>
>
> My attempt is listed below.
>
>
>
> /*Intent is to display daily indicator on a weekly chart*/
>
> //////////////////////////////////////////////////
>
> TimeFrameSet( inDaily);
>
> DailyGSPCClose = Foreign( "^GSPC", "C" ) ;
>
> CrossBellow = IIf(MA(DailyGSPCClose ,10) < MA(DailyGSPCClose ,30) , 1 , 0 ) ;
>
> //Plot(CrossBellow ," ",IIf(CrossBellow == 0, colorDarkGreen, colorRed),styleOwnScale|styleArea|styleNoLabel,-200,15);
>
> StaticVarSet("BMD", CrossBellow);
>
> TimeFrameRestore();
>
> ; /////////////////////////////////////////////////////
>
> /////////////////////////////////////////////////////
>
> TimeFrameSet( inDaily);
>
> temp = StaticVarGet("BMD");
>
> BMW = TimeFrameCompress( temp , inWeekly );
>
> StaticVarSet("BMDonW", BMW );
>
> TimeFrameRestore();
>
> /////////////////////////////////////////////////////
>
> /////////////////////////////////////////////////////
>
> TimeFrameSet( inWeekly);
>
> temp1 = StaticVarGet("BMDonW");
>
> Plot(temp1 ," ",IIf(temp1 == 0, colorDarkGreen, colorRed),styleOwnScale|styleArea|styleNoLabel,-200,15);
>



__._,_.___


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





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

__,_._,___