PureBytes Links
Trading Reference Links
|
Here's another (alternative) way to duplicate the indicator posted at
http://www.axom.com/commodities :
First, start by creating a User Function. Call this one "HamnEggs". Here's
the code:
Input: Price(numericseries),SlowKLen(numeric),AvgLen(numeric);
HamnEggs=50-(Average(SlowK(SlowKLen),AvgLen) - SlowK(SlowKLen));
Next, create the code for the indicator as follows:
Input: Price(TypicalPrice), SlowKLen(10), AvgLen(14), SmooLen(14);
Plot1(XAverage(HamnEggs(Price,SlowKLen,AvgLen),SmooLen), "Ham 'n Eggs");
For those who prefer their scotch extra smooth, I've added a smoothing input
this time. Adjust "SmooLen" to suit your needs.
All the best,
The Omega Man
All the world's a Ham
|