Plot( C, ""+Interval(2), styleCandle );
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
dt = DateTime();
SetBarsRequired( -2, -2 );
expandmode=expandPoint;
TimeframeSet( in1Minute ); // TimeframeSet(i * in1Minute);
up = C > O;
M1 = TimeFrameExpand( up, in1Minute , expandPoint );
TimeframeRestore();
TimeframeSet( 2*in1Minute );
up = C > O;
M2 = TimeFrameExpand( up, 2*in1Minute , expandPoint );
TimeframeRestore();
dist = 0.1*ATR(1);
for( b = 0; b < BarCount; b++ )
{
//------ yellow is the Invertedhammer with NO space
if( m1[b] ) PlotText( "1" , b, L[ b ]-1-dist[1], colorRed );
if( m2[b] ) PlotText( "2" , b, L[ b ]-1.4-dist[1], colorRed );
if( b > 11 )
[COLOR="Red"][SIZE="2"]if (m2[b])
PlotText( "_m" , b, L[ b ]-1-dist[1], colorgold );
}[/SIZE][/COLOR]