Here is what I want to do from an indicator or strategy:
CCI(14) is the indicator I want to pass to the method
then call
MFSwing (CCI(14))
or
MFSwing (ROC(14))
publicbool MFSwing ("somehow pass in CCI(14)")
{
bool retval = false;
// Swing
if (Swing("somehow use CCI(14) here ",1).SwingLowBar(1, 1, 4))
{
retval=true;
}
return (retval);
}
I don't know how or if I can do that.
Comment