PureBytes Links
Trading Reference Links
|
Ara
Try this, I use the ^NDX as my example, Load into Indicator builder.
Scaling=automatic, Grid lines= show dates, percent, and +30/70.
This formula calculates a 5 period %K stochastic Oscillator with 3
period slowing.
/*********************************************/
//Stochastic Oscillator of Foreign ticker
StochF=Sum(Foreign("^NDX","C")-LLV(Foreign("^NDX","L"),5),3)/(Sum(HHV(Foreign("^NDX","H"),5)-LLV(Foreign("^NDX","L"),5),3))*100;
Plot(StochF,"Stoch_Foreign",colorRed,styleLine);
/******************************************************/
Anthony
akaloustian wrote:
> How would one create the stochastic for an index that does not change
>
> with the selected stock?
>
> Stoc14 = StochD(Foreign("$SPX","Close"),14); ????
>
> Is this function possible?
>
> Thanks
>
> Ara
>
>
> Yahoo! Groups Sponsor
ADVERTISEMENT
>
> 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.
|