Chande Momentum Oscillator


System Description:

This system triggers buy and sell signals when the Chande Momentum Oscillator crosses its 9-day moving average after reaching overbought/oversold territory (+/- 50).
Long Entry Code(copy and paste into the Enhanced System Tester):
bcon:=Cross(CMO(C,20),Mov(CMO(C,20 ),9,S)); scon:=Cross(Mov(CMO(C,20 ),9,S),CMO(C,20)); bset:=Cross(-50,CMO(C,20)); sset:=Cross(CMO(C,20),50); setup:=If(bset,1, If(sset,-1,PREV)); cross(If(setup=1 AND bcon,1,If(setup=-1 AND scon,-1,PREV)),0.5)
Long Exit Code(copy and paste into the Enhanced System Tester):
bcon:=Cross(CMO(C,20),Mov(CMO(C,20 ),9,S)); scon:=Cross(Mov(CMO(C,20 ),9,S),CMO(C,20)); bset:=Cross(-50,CMO(C,20)); sset:=Cross(CMO(C,20),50); setup:=If(bset,1, If(sset,-1,PREV)); cross(-0.5,If(setup=1 AND bcon,1,If(setup=-1 AND scon,-1,PREV)))
Short Entry Code(copy and paste into the Enhanced System Tester):
bcon:=Cross(CMO(C,20),Mov(CMO(C,20 ),9,S)); scon:=Cross(Mov(CMO(C,20 ),9,S),CMO(C,20)); bset:=Cross(-50,CMO(C,20)); sset:=Cross(CMO(C,20),50); setup:=If(bset,1, If(sset,-1,PREV)); cross(-0.5,If(setup=1 AND bcon,1,If(setup=-1 AND scon,-1,PREV)))
Short Exit Code(copy and paste into the Enhanced System Tester):
bcon:=Cross(CMO(C,20),Mov(CMO(C,20 ),9,S)); scon:=Cross(Mov(CMO(C,20 ),9,S),CMO(C,20)); bset:=Cross(-50,CMO(C,20)); sset:=Cross(CMO(C,20),50); setup:=If(bset,1, If(sset,-1,PREV)); cross(If(setup=1 AND bcon,1,If(setup=-1 AND scon,-1,PREV)),0.5)