PureBytes Links
Trading Reference Links
|
Daniel,
Stochastics requires input of high and lows, as
in:
T1=14;
//Periods
Stoch=MA((C-LLV(<FONT
color=#ff0000>L,T1))/(HHV(H,T1)-LLV(<FONT
color=#ff0000>L,T1))*100,3);
You will have to determine how to get this from
your spread data.
maybe:
T1=14; //Periods
Y = Foreign
("Symbol1","C") - Foreign ("Symbol2","C");<FONT face="Courier New"
size=3>stochspread =
MA((Y-LLV(Y,T1))/(HHV(Y,T1)-LLV(Y,T1))*100,3);
-CS
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
traderix2003
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Sunday, June 22, 2003 12:07
PM
Subject: [amibroker] Slow Stochastics for
Spreads
I try to write the formula for a simple Slow Stochastics
& trigger (Parameter: 3 and 5) for commodities Spreads.spread
= Foreign ("Symbol1","C") - Foreign ("Symbol2","C");Some help?Thxs
a lotDanielSend
BUG REPORTS to <A
href="">bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
<A
href="">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
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
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 the Yahoo! Terms of Service.
|