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

Re: [amibroker] Re: Setting Beginning Date of Test Period



PureBytes Links

Trading Reference Links


try this...
 

T = 18; // For a TSV with 18 day period
TMA = 9; // For MA of TSV
Alpha = 2/(T+1);
TSVd= ( C-Ref(C,-1)) / ( H-L )*V; 
/* The following calculates Exponential Average for TSV */
TSV_exp = 100*(AMA(TSVd,Alpha) * T/10000000);
TSV_ref= Sum((( C-Ref(C,-1)) / ( H-L ))*V, T ); //for reference
/* The following is simple TSV */
TSV = MA(TSVd,T) * T/10000000;
TSV_MA = MA(TSV_exp,TMA);
//Plot(TSV,"TSV",4,4 + 2);
//Plot(TSV,"TSV"+ WriteVal(T,1.0),5,4);
Plot(TSV_MA,"MA",4,4);
Plot(TSV_Exp,"TSV(exp)",colorYellow,4);
Plot(0,"",7,1);
 
JAsonareehoi <hoierman@xxxxxxx> wrote:
Hi all:We had the privelage of the 4MACD system being presented to our usersgroup by Bob Cumming the gentleman who originated this excellentindicator.  Bob uses TC 2000 and one of the componets he uses with4MACD is the TSV indicator. This a a propriatory indicator develepoedby Don Worden.  As I recall someone at one time our other developed a"work around" of this indicator in AmiBroker. If so, would they be sokind as the post the code.  Also, he uses Stochastics with 4 differentperiod and of course seperate color lines. The canned Stochastics inAmiBroker is standard. If anyone has developed a Stochstics that willdo this a post of the code will be most appreciated. Thanks for theanticipated help.Dick H.Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 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 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. 
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes


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