{5分钟ma}
a1:ma(c,12);a2:ma(c,24);a3:ma(c,48),COLORRED;a4:ma(c,144);a5:ma(c,240);a6:ma(c,480);
dk:=a3;
STICKLINE(DK<=C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorred;
STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorred;
STICKLINE(DK<=C AND CLOSE
STICKLINE(DK<=C AND CLOSE
STICKLINE(DK>C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorgreen;
STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorgreen;
STICKLINE(DK>C AND CLOSE
STICKLINE(DK>C AND CLOSE
{15分钟ma}
a1:ma(c,8);a2:ma(c,16),COLORRED;a3:ma(c,48),COLORRED;a4:ma(c,80);a5:ma(c,112);a6:ma(c,160);a7:ma(c,245);a8:ma(c,320);
dk:=a2;
STICKLINE(DK<=C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorred;
STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorred;
STICKLINE(DK<=C AND CLOSE
STICKLINE(DK<=C AND CLOSE
STICKLINE(DK>C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorgreen;
STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorgreen;
STICKLINE(DK>C AND CLOSE
STICKLINE(DK>C AND CLOSE
{30分钟ma}
a1:ma(c,4);a2:ma(c,8),COLORRED;a3:ma(c,24),COLORRED;a4:ma(c,40);a5:ma(c,80);a6:ma(c,160);
dk:=a2;
STICKLINE(DK<=C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorred;
STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorred;
STICKLINE(DK<=C AND CLOSE
STICKLINE(DK<=C AND CLOSE
STICKLINE(DK>C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorgreen;
STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorgreen;
STICKLINE(DK>C AND CLOSE
STICKLINE(DK>C AND CLOSE
{60分钟ma}
a1:ma(c,4);a2:ma(c,12);a3:ma(c,20),COLORRED;a4:ma(c,40);a5:ma(c,80);a6:ma(c,120);a7:ma(c,240);
dk:=a3;
STICKLINE(DK<=C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorred;
STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorred;
STICKLINE(DK<=C AND CLOSE
STICKLINE(DK<=C AND CLOSE
STICKLINE(DK>C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorgreen;
STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorgreen;
STICKLINE(DK>C AND CLOSE
STICKLINE(DK>C AND CLOSE