Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 5/13/2005(UTC) Posts: 715 Location: Midwest, USA
Was thanked: 1 time(s) in 1 post(s)
|
An unfortunate case of sloppy writing, combined with [censored]-poor editting, judging by the code available at Traders.com. Try this: Code:{------------------}
{_Keltner Channel}
{------------------}
x:=Input("Number of Periods", 2,500,13);
Mov((H+L+C)/3,x,S);
Mov((H+L+C)/3,x,S) + Mov((H-L),x,S);
Mov((H+L+C)/3,x,S) - Mov((H-L),x,S);
{------------------}
EXPERT - Trends
{------------------}
{ RIBBON Button: Bullish=BLACK, Bearish & Neutral=WHITE, all no pattern }
OscV(1,20,S,%) > 50 {Volume Oscillator}
{------------------}
EXPERT Highlight #1
{------------------}
{ ADX Price Rising = GREEN }
ADX(10) > Ref(ADX(10),-1) AND When(C > Mov(C,8,S))
{------------------}
EXPERT Highlight #2
{------------------}
{ ADX Price Falling = RED }
ADX(10) > Ref(ADX(10),-1) AND When(C < Mov(C,8,S))
Which should give you this:
|