Var: mioRSI, movRSI;
mioRSI = RSI(C, 21, S);
movRSI = MOV(mioRSI, 14, S);
SECTION_ENTERLONG:
if crossover(mioRSI,movRSI) then
enterlong(bar ,atClose);
endif;
END_SECTION
SECTION_EXITLONG:
if crossunder(mioRSI,movRSI) then
exitlong(bar ,atClose);
endif;
END_SECTION