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

Re: [amibroker] Plotting ema of 1min data into hourly Chart



PureBytes Links

Trading Reference Links

You cannot use lower time periods than the base bar period
You can do a 1 hour over 1 minute base chart, but not 1 minute over 1
hour base chart


-- 
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriting.com


2008/5/17 Debdulal Bhattacharyya <sdebu_2k@xxxxxxxxx>:
> hi all ,
> I am facing a problem regarding Potting EMA of 1Min Chart in Hourly
> Chart(Default Chart) of same period (say 55 period);
> I have written the following code below :
>
> //code starts
> //Potting EMA of 1Min Chart in Hourly Chart(Default Chart)
>
> PlotOHLC(O,H,L,C, "Multiple Time EMA",styleBar+styleThick);
> Minprice=TimeFrameGetPrice("C",in1Minute,0);
> MinEMA=EMA(Minprice,Param("1Min EMA Period",55,5,500));
> defaultEMA=EMA(C,Param("Default EMA Period",55,10,400));
> MinEMAcolor=ParamColor("1MinEMA Color",colorRed);
> defaultEMAcolor=ParamColor("Default EMA Color",colorBlue);
> Plot(MinEMA,"1Min EMA",MinEMAcolor);
> Plot(defaultEMA,"Default EMA",defaultEMAcolor);
>
> // code ends here
>
> The problem is : Both the ema values amibroker shows are same
> 1min ema value should not change if I change the period say from
> hourly to 30min.In That case default ema should change.
> In this code both changes and shows same value.
>
> Please Note that if we revarse the time frame factor say default
> chart is 1min and if we plot hrly ema or ema of 30min 15min on this
> 1min default chart its working fine.
>
> is it a problem of the function itself or my logic?
> Experts and seniors please put soem light on it.
> Regards
> Debdulal Bhattacharyya.
>
>
>
> ------------------------------------
>
> 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
> Yahoo! Groups Links
>
>
>
>

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

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