AP:=HIGH+LOW+3*CLOSE;
多:=(SUM(IF(AP>REF(AP,1),AP*VOL,0),10))/(100000);
高:=MA(多,2);
收:=MA(多,3);
开:=MA(多,5);
空:=(MA(SUM(IF(AP<REF(AP,1),AP*VOL,0),10),10))/(100000);
DRAWGBK(多>=空,COLORRGB(130,0,0),COLORRGB(60,20,0),1);
DRAWGBK(多<空,COLORRGB(0,0,180),COLORRGB(0,30,60),1);
B0:=MA(多,6);
B1:=EMA(B0,1);
B2:=EMA(B0,2);
B3:=EMA(B0,3);
B4:=EMA(B0,4);
B5:=EMA(B0,5);
B6:=EMA(B0,6);
B7:=EMA(B0,7);
B8:=EMA(B0,8);
B9:=EMA(B0,9);
B10:=EMA(B0,10);
B11:=EMA(B0,11);
B12:=EMA(B0,12);
B13:=EMA(B0,13);
B14:=EMA(B0,14);
B15:=EMA(B0,15);
B16:=EMA(B0,16);
B17:=EMA(B0,17);
B18:=EMA(B0,18);
B19:=EMA(B0,19);
B20:=EMA(B0,20);
B21:=EMA(B0,21);
PARTLINE(CLOSE>0,B1),colorFFFFFF;
PARTLINE(CLOSE>0,B2),colorFFFFFF;
PARTLINE(CLOSE>0,B3),colorFFFFFF;
PARTLINE(CLOSE>0,B4),colorFFFFFF;
PARTLINE(CLOSE>0,B5),colorFFFFFF;
PARTLINE(CLOSE>0,B6),colorFFFFFF;
PARTLINE(CLOSE>0,B7),colorFF66FF;
PARTLINE(CLOSE>0,B8),colorFF66FF;
PARTLINE(CLOSE>0,B9),colorFF66FF;
PARTLINE(CLOSE>0,B10),colorF66FFF;
PARTLINE(CLOSE>0,B11),colorF66FFF;
PARTLINE(CLOSE>0,B12),colorF66FFF;
PARTLINE(CLOSE>0,B13),colorF66FFF;
PARTLINE(CLOSE>0,B14),color66DD33;
PARTLINE(CLOSE>0,B15),color66DD33;
PARTLINE(CLOSE>0,B16),color66DD33;
PARTLINE(CLOSE>0,B17),color66DD33;
PARTLINE(CLOSE>0,B18),color66DD33;
PARTLINE(CLOSE>0,B19),color66DD33;
PARTLINE(CLOSE>0,B20),color66DD33;
PARTLINE(CLOSE>0,B21),color66DD33;
夏:高>=开 AND 高>=空,LINETHICK0,colorFF;
秋:高<开 AND 高>=空,LINETHICK0,colorFFFF;
春:高>=开 AND 高<空,LINETHICK0,colorFF00;
冬:高<开 AND 高<空,LINETHICK0,colorFFFF00;
STICKLINE(夏,高,开,1,0),color6060C7;
STICKLINE(夏,高,开,0,0),color9999FF;
STICKLINE(夏,收,开,8,0),color6060C7;
STICKLINE(夏,收,开,7,0),color6666CC;
STICKLINE(夏,收,开,6,0),color7070D7;
STICKLINE(夏,收,开,5,0),color7777DD;
STICKLINE(夏,收,开,4,0),color8080E7;
STICKLINE(夏,收,开,3,0),color8888EE;
STICKLINE(夏,收,开,2,0),color9191FF;
STICKLINE(夏,收,开,1,0),color9999FF;
STICKLINE(秋,高,开,1,0),color226688;
STICKLINE(秋,高,开,0,0),color99CCFF;
STICKLINE(秋,收,开,8,0),color226688;
STICKLINE(秋,收,开,7,0),color337799;
STICKLINE(秋,收,开,6,0),color4488AA;
STICKLINE(秋,收,开,5,0),color5599BB;
STICKLINE(秋,收,开,4,0),color66AACC;
STICKLINE(秋,收,开,3,0),color77BBDD;
STICKLINE(秋,收,开,2,0),color88CCEE;
STICKLINE(秋,收,开,1,0),color99DDFF;
STICKLINE(春,高,开,1,0),color338F66;
STICKLINE(春,高,开,0,0),color33FF66;
STICKLINE(春,收,开,8,0),color338F66;
STICKLINE(春,收,开,7,0),color339F66;
STICKLINE(春,收,开,6,0),color33AF66;
STICKLINE(春,收,开,5,0),color33BF66;
STICKLINE(春,收,开,4,0),color33CF66;
STICKLINE(春,收,开,3,0),color33DF66;
STICKLINE(春,收,开,2,0),color33EF66;
STICKLINE(春,收,开,1,0),color33FF66;
STICKLINE(冬,高,开,1,0),color8F8F00;
STICKLINE(冬,高,开,0,0),colorFFFF00;
STICKLINE(冬,收,开,8,0),color8F8F00;
STICKLINE(冬,收,开,7,0),color9F9F00;
STICKLINE(冬,收,开,6,0),colorAFAF00;
STICKLINE(冬,收,开,5,0),colorBFBF00;
STICKLINE(冬,收,开,4,0),colorCFCF00;
STICKLINE(冬,收,开,3,0),colorDFDF00;
STICKLINE(冬,收,开,2,0),colorEFEF00;
STICKLINE(冬,收,开,1,0),colorFFFF00;
POLYLINE(CLOSE>0,多),colorFF;
|