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

[amibroker] How to write value of indicator in intrepretation section



PureBytes Links

Trading Reference Links

I have created simple moving average line for differenct period as 
new indicator and it works nicely. but I want to write value of each 
SMA for its day. i.e. if SMA is for 12 days than I want to appeared 
it in intrepreation seciton as SMA(12)= value. At present I got value 
but not the period in intrepretatio section.I have write down as 
follows :
range = Prefs( 3 );
_N( ranstr = "("+WriteVal( range, 1.0 )+")" );
Plot( SMA1=MA(C,20), "SMA1"+ranstr, -8 );
Plot( SMA2=MA(C,50), "SMA2"+ranstr, -9 );

Please guide me.
mayoor



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/i5gGAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/