It's similar kind of your problem
For Example
Right Below is formula of two pattern shootingstar and doji
PatternName = "ShootingStar"; Pv = (((H-L)>4*(O-C)) AND ((H-C)/(.001+H-L)>= 0.75) AND ((H-O)/(.001+H-L)>= 0.75));
PatternName = "NearDoji"; Pv = (abs(O-C)<= ((H-L)*0.1));
How would you Explore it in timeframe between 1 min. to 30 min.?
digging here here's tip
for ( i = 1; i <= 30; i++ ) // 1minute to 30minute
{
TimeFrameSet( i * in1Minute );
??
TimeFrameRestore();
}
AddToComposite( pattern, "PatternName()",..? );