PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Dick,
<FONT face=Arial color=#0000ff
size=2>Something like TSV.......
<FONT face=Arial color=#0000ff
size=2>
/* Modified TSV calculation from
Mohan
on 11/26/02 */<FONT
color=#282828 size=2>
T = <FONT
color=#0000ff>18; <FONT
color=#008000 size=2>// For a TSV with 28 day
period
TMA = <FONT
color=#0000ff>10; <FONT
color=#008000 size=2>// For MA of TSV
TSVd= ( <FONT
face=Arial color=#0000ff>C<FONT
color=#0000ff>-Ref<FONT
size=2>(C<FONT
color=#0000ff>,-1)) / (
H<FONT
color=#0000ff>-<FONT
size=2>L<FONT
size=2> )*V<FONT color=#282828
size=2>; <FONT color=#008000
size=2>
/* The following is simple TSV
*/
TSV = <FONT
color=#0000ff>MA(TSVd,T) * T/<FONT
size=2>10000000<FONT face=Arial
color=#0000ff>;
TSV_MA = <FONT face=Arial
color=#0000ff size=2>MA<FONT face=Arial
color=#0000ff>(TSV,TMA);
Plot<FONT color=#282828
size=2>(TSV,"TSV"<FONT color=#282828
size=2>,IIf<FONT color=#282828
size=2>(tsv>0<FONT color=#282828
size=2>,5<FONT color=#282828
size=2>,4),
2<FONT color=#282828
size=2>);
//Plot(TSV,"TSV"+
WriteVal(T,1.0),5,4);
Plot<FONT color=#282828
size=2>(TSV_MA,"MA"<FONT color=#282828
size=2>,6<FONT color=#282828
size=2>,4<FONT color=#282828
size=2>);
//Plot(0,"",7,1);
AFL
provides stochk and stockd take a look in the help files for full syntax,
Your custom indicator could then call stoch several times at different periods
and different colors...
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: areehoi
[mailto:hoierman@xxxxxxx]Sent: Wednesday, January 14, 2004 2:40
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] TSV -
(time segmented volume) indicatorHi 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: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
To visit your group on the web, go to:<A
href="">http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:<A
href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
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.
|