- Joined
- 28 December 2013
- Posts
- 6,352
- Reactions
- 24,221
@Skate I found an example of an afl that is using a CCIFast and CCISlow cross. May I ask if you are doing something similar, or something simpler than this?
Code:CCISlow=Param("CCISlow",30,30,100,10); CCIFast=Param("CCIFast",10,5,30,5); Buy = Cross( CCI(CCIFast), 0 ) AND CCI(CCIFast) > CCI(CCISlow) ; // plus filters Sell = Cross( 0,CCI(CCIFast)) AND CCI(CCIFast) < CCI(CCISlow);
Simple works
@dpong that is one of the many codes you can use. A simple moving average (SMA) cross is effective as a trading system & a (CCI) cross (IMHO) would be just as effective. Using the code you posted is a good start in researching if a (CCI) indicator can be turned into an effective system to trade. You can use that code for your buy & sell signals remembering that there is much more to a strategy than a signal generator.
Skate.