Hi
I would really appreciate it if someone could please explain how to convert AFL code written for Backtesting or an Indicator to Exploration, an example of this is,
Buy = Low < Ref( Low , -1 ) AND
Ref( Low , -1) < Ref( BBandBot( Close, 15, 2 ) , -1 ) AND
Ref( CCI( 14 ) , -1 ) < CCI( 14 ) AND
CCI( 14 ) > -150 AND CCI( 14 )<-70 AND
Volume > MA( Volume , 5 ) AND
MFI( 14 ) > Ref( MFI( 14 ) , -1 );
Sell = High >Ref (High,-1) AND
Ref (High,-1) > Ref( BBandTop( Close, 15, 2 ) , -1 ) AND
Ref( CCI( 14 ) , -1 ) > CCI( 14 ) AND
CCI( 14 ) > 70 AND CCI( 14 )<150 AND
Volume > MA( Volume , 5 ) AND
Ref( MFI( 14 ) , -1 ) >MFI( 14 );
Moderator co
I assume this code is either an indicator code or Backtesting code but i would like to use it for Exploration. Can the code be converted or does it need to be rewritten.
Thanks