log in     sign up for free
 
By living the philosophy that my winners are always in front of me, it is not so painful to take a loss. If I make a mistake, so what!
Marty Schwartz
 
 
Home
systems (284)
 
Special offer: buy AmiBroker and EOD+Real-Time Data
 
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

Honey Baked

Formula for: TradeStation

indicator


 

 

Views:  1538

Added: June 06, 2008
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 

email this link

 
 
Tags: TradeStation, indicator
 
Your Ad Here
Another Indicator Alternative for Axom.Com
. To: "Robert W. Cummings"
. Subject: Another Indicator Alternative for Axom.Com
. From: "The Omega Man (TM)"
. Date: Sun, 30 Aug 1998 13:27:04 -0400
. Cc: "Omega List"
. Reply-To: "The Omega Man (TM)"
. Resent-Date: Sun, 30 Aug 1998 10:26:56 -0700
. Resent-From: omega-list@xxxxxxxxxx
. Resent-Message-ID: <"nyvee1.0.m57.WjOwr"@mx1>
. Resent-Sender: omega-list-request@xxxxxxxxxx

Here's one more alternative to the indicator posted at http://www.axom.com/commodities . This is one that we'll develop further, in future postings:

First, create a User Function (call this one "HonyBake") as follows:


As you'll notice, the code for Plot 2 is commented out. Feel free to remove the braces on this plot and re-insert the indicator after you've gotten a feel for Plot 1 by itself. As usual, you Sultans of Smooth out there may adjust SmooLen to suit your needs. Or (what's this?) replace the price input with some sort of calculated (variable length) function of price....
All the best,
The Omega Man

So I walked upon high,
and I stepped to the edge,
to see my world below.

And I laughed to myself,
while the tears rolled down,
'cause it's the world I built.

The world I built.

[9877]

 

 



Code:

Type : Function, Name : HonyBake
Input:HamLen(Numeric),Price(NumericSeries);

Vars:RealHam(0),ImagHam(0),WaitoHam(0),J(0),P(0);

RealHam=0;
ImagHam=0;

For J=0 to HamLen-1 Begin
WaitoHam=Price[J];
If HamLen<>0 Then Begin
RealHam=RealHam+Cosine(360*J/HamLen)*WaitoHam;
ImagHam=ImagHam+Sine(360*J/HamLen)*WaitoHam;
End;
End;

If AbsValue(RealHam) > .001 Then Begin
P=ArcTangent(ImagHam/RealHam);
End
Else Begin
P=90*Sign(ImagHam);
End;

If RealHam<0 then P = P+180;
P=P+90;
If P<0 then P=P+360;
If P>360 then P=P-360;
HonyBake=P;







Type : Indicator, Name : HonyBaked
Input: HamLen(20), Price(TypicalPrice), P1Adv(0), P2Adv(15),SmooLen(10);

Vars: Spiral(0);

Spiral = HonyBake(HamLen,Price);

Plot1(50+50*Average(Sine(Spiral + P1Adv),SmooLen),"Honey Baked");
{Plot2(50+50*Average(Sine(Spiral + P1Adv + P2Adv),SmooLen),"Hon Baked +");}


 





Source: http://www.purebytes.com

 

View similar (indicator for TradeStation):

VIDYA Variation
Reverse Engineering
## Top & Bottom Indicator
Swing Trader Trendline
Pivot Point Average
HI LO Activator
Vertical Horizontal Filter
Pretty Weird Late Night Stuff
Keltner Price
MACD\\Rise\\Fall
...
 
 
all formulas for TradeStation
all formulas

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
 
Privacy note | (c) copyrights systems4trading.com 2006-2012