Custom Formula Collection

CCI Moving Average Crossover System Test

System Explanation: Buy when the Moving Average crosses up through the CCI and sell on the reverse condition

System Formula:

ENTER LONG:

When( CCI( opt1 ) ,<
,Mov( CCI( opt1 ) ,opt2 ,E ) ) AND When( Ref( CCI(opt1) ,-1) ,>= ,Ref( Mov( CCI( opt1 ) ,opt2 ,E ) ,-1 ) )

ENTER SHORT:

When( CCI( opt1 ) ,>
,Mov( CCI( opt1 ) ,opt2 ,E ) ) AND When( Ref( CCI(opt1) ,-1) ,<= ,Ref( Mov( CCI( opt1 ) ,opt2 ,E ) ,-1 ) )

OPTIMIZATION:

OPT1:

Min = 5 Max = 40 Step = 1

OPT2:

Min = 5 Max = 40 Step = 1

For additional help with formulas, please see the Formula Primer.

Can't find the custom formula you need? MetaStock can create formulas for you.