_SECTION_BEGIN("U_Exploration for mid buy");
MA10=MA(C,10);
MA20=MA(C,20);
MA60=MA(C,60);
bars = BarsSince(Cross(MA20, MA60));
up = bars > 45 // 45 days = 2 months
AND MA20>MA60
AND CROSS(MA10, MA20);
Filter= up;
AddColumn(C,"Close");
AddColumn(bars,"Bars", 1);
_SECTION_END();
You have to post code within code tags.
You have been member of forum for long time already.
So you should know that.
Please don't be lazy.
1 Like