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

Re: [amibroker] reaction trend system



PureBytes Links

Trading Reference Links




Hello,
 
Is there a function/way in AFL for me to know if 
the chart is in day, week, or month mode ? What I try to achieve is 

 
if  'weekmode' then ma=12 else 
ma=30;
 
For example, when I choose the week mode "w", then 
the ma ploted will use the parameter 12 on the weekly chart, and the plot will 
use parameter 30 when I switch back to day mode.
 
I know I can achieve some kind of this using the 
TimeFrameSet function, but there will be a bit more coding to be done for each 
different type of mode.
 
Thanks
KK


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.