Hello.
I just see your description and seems like you want time limit for AFL in amiborker.
In common can define base time frame like this.
✨✨✨✨
TimeFrameSet(inHourly);
SetUp = C - EMA(C,30);
TimeFrameRestore();
ExpSetUp = TimeFrameExpand(SetUp, inHourly);
Buy = ExpSetUp > 0 AND RSI(12)<30;
Sell = RSI(12) > 70;
ApplyStop(0,1,2,1,False,1,0,-1);
??????
If you wanna control time limit, respond to me.
thank you.