HH:=FINDHIGH(H,0,20,1);
LL:=FINDLOW(L,0,20,1);{公式网WWW.GPXIAZAI.COM}
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);