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

[amibroker] Simple JScript Question



PureBytes Links

Trading Reference Links

Hi,
TJ has not updated timeframes to work in Daily yet, he said it will 
be released very soon.

good luck,
Dennis




--- In amibroker@xxxxxxxxxxxxxxx, "Mohan Yellayi" <myellayi@xxxx> 
wrote:
> I am trying to plot 9 day bars (as in TC2000), but the following 
code seems
> to be plotting daily bars. Can someone help? Never really figured 
out the
> timeframe functions.
> 
> Thanks
> Mohan
> 
> T = Param("per",20,2,200,2);
> TimeFrameSet( 9*inDaily ); // switch to 9 day
> 
> MA9_3 = MA( C, 3 );
> MA9_9 = MA( C, 9 );
> MA9_T = MA( C, T);
> 
> Plot( Close, "Price", colorWhite, styleCandle );
> Plot( MA9_3, "3 bar MA of 9 day bars", colorRed );
> Plot( MA9_9, "9 bar moving average from 9 day bars", colorAqua,4 );



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

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