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

Re: [amibroker] (unknown)



PureBytes Links

Trading Reference Links

True range should be easy enough to write a little  bit of code to 
duplicate.  Unfortunately TrueRangeCustom is probably someone's unique 
custom function and there is no way to tell what it is.  The best your can 
expect to do in AB is to start with your own TrueRange calculation and take 
it from there.

Hint: you should be able to take TJ's or some other average true range code 
and copy the true range part for your usage.

Good Luck
Sid


At 01:44 AM 03/18/2003 +0000, you wrote:

>Hi guys,
>
>I need a help with Tradestation formula I want to translate to AFL,
>basically it's RSI with Volatility bands applied, I dont' believe
>AFL has coef and truerange function.
>
>Thanks in advance,
>
>                        Steven
>
>Input: Coefdwn(2.1),Coefup(2.3);
>Plot1((Average((RSI(Close,14)),6))+(Coefup*(Average(TrueRangeCustom
>((RSI(Close,14)),(RSI(Close,14)),(RSI(Close,14))),15))),"Plot1");
>Plot2((Average((RSI(Close,14)),6))-(Coefdwn*(Average(TrueRangeCustom
>((RSI(Close,14)),(RSI(Close,14)),(RSI(Close,14))),15))),"Plot2");
>Plot3((RSI(Close,14)),"Plot3");
>IF CheckAlert Then Begin
>       If Plot1 Crosses Above Plot2 or Plot1 Crosses Below Plot2
>       or Plot1 Crosses Above Plot3 or Plot1 Crosses Below Plot3
>       or Plot2 Crosses Above Plot3 or Plot2 Crosses Below Plot3
>       Then Alert=TRUE;
>End;
>
>
>Yahoo! Groups Sponsor
>ADVERTISEMENT
>
>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/)>http://groups.yahoo.com/group/amiquote/messages/)
>--------------------------------------------
>Check group FAQ at: 
><http://groups.yahoo.com/group/amibroker/files/groupfaq.html>http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
>
>
>Your use of Yahoo! Groups is subject to the 
><http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.462 / Virus Database: 261 - Release Date: 03/13/2003

------------------------ 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/46VHAA/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/ 



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.462 / Virus Database: 261 - Release Date: 03/13/2003