logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
FormulaPrimer  
#1 Posted : Tuesday, May 13, 2014 4:30:39 PM(UTC)
FormulaPrimer

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 8/12/2005(UTC)
Posts: 73


Can anyone help?


===========================================================

Inputs: LowVol(True), ClimaxUp(True), ClimaxDown(True), Churn(True) …

Variables: BarColor(Cyan);

BarColor = Color;

If BarType > 1 or UseUpTicks = False then begin

If C > O and Range <> 0 then Value1 = (Range/

(2*Range+O-C))*UpTicks;

If C < O and Range <> 0 then Value1 = ((Range+C-O)/

(2*Range+C-O))*UpTicks;

If C = O then Value1 = 0.5*UpTicks;

Value2 = UpTicks-Value1;

End;

If BarType <= 1 and UseUpTicks then begin

Value1 = UpTicks;

Value2 = DownTicks;

End;

Value3 = AbsValue(Value1+Value2);

Value4 = Value1*Range;

Value5 = (Value1-Value2)*Range;

Value6 = Value2*Range;

Value7 = (Value2-Value1)*Range;

If Range <> 0 then begin

Value8 = Value1/Range;

Value9 = (Value1-Value2)/Range;

Value10 = Value2/Range;

Value11 = (Value2-Value1)/Range;

Value12 = Value3/Range;

End;

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.