{指标介绍:把多根K线,简化组合成一根大K线,通过多根大K线的组合,来判断下一波趋势的走法。}
HH:=FINDHIGH(H,0,20,1);
LL:=FINDLOW(L,0,20,1);
AC:=REFX(C,9);AO:=REF(O,10);AH:=REFX(HH,9);AL:=REFX(LL,9);
Q1:=MOD(BARSCOUNT(C)-CONST(MOD(BARSCOUNT(C),20)),20)+1;
STICKLINE(AC>=AO AND Q1=12,AC,AO,82,0),COLORLIRED;
STICKLINE(AC>=AO AND Q1=12,AH,AL,1,0),COLORLIRED;
STICKLINE(AC<AO AND Q1=12,AC,AO,82,0),COLORLIGREEN;
STICKLINE(AC<AO AND Q1=12,AH,AL,1,0),COLORLIGREEN;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);