HDFGS:=DATE>901224 AND DATE<1081231;
WX:=EMA(CLOSE,0);
M1:=EMA(CLOSE,10);
M2:EMA(CLOSE,10)*(IF(14<2,WX,1));
M3:EMA(CLOSE,26)*(IF(14<3,WX,1));
M4:EMA(CLOSE,45)*(IF(14<4,WX,1));
M6:EMA(CLOSE,68)*(IF(14<6,WX,1));
M8:EMA(CLOSE,100)*(IF(14<8,WX,1));
M10:EMA(CLOSE,150)*(IF(14<10,WX,1));
M12:EMA(CLOSE,200)*(IF(14<12,WX,1));
M13:EMA(CLOSE,275)*(IF(14<13,WX,1));
M14:EMA(CLOSE,360)*(IF(14<14,WX,1));
多空线:=(MA(CLOSE,6)+MA(CLOSE,21)+MA(CLOSE,33)+MA(CLOSE,72))/4;
中轴线:=MA(CLOSE,33);
上抛线:=中轴线+2.2*STD(CLOSE,33);
底部线:=中轴线-2.5*STD(CLOSE,33);
五天成本:COST(5),LINETHICK1,color789990;
十天成本:=COST(10);
二十天成本:=COST(20);
三十天成本:=COST(30);
五十天成本:=COST(50);
七十天成本:=COST(70);
八十五天成本:=COST(85);
九十五天成本:COST(95),LINETHICK1,colorFF9366;
突破成本创新高:COST(100),LINETHICK1,color4080FF;
庄家平均成本:(五天成本+十天成本+二十天成本+三十天成本+五十天成本+七十天成本+八十五天成本+九十五天成本)/8,LINETHICK1,colorFF;
A:=CLOSE>多空线 AND CLOSE>M4 AND CLOSE>M8 AND HDFGS AND CLOSE>M13;
B:=CLOSE<M14 AND CLOSE<M8 AND HDFGS;
AA:=CLOSE<M4 AND CLOSE>M14 AND HDFGS;
STICKLINE(AA>0,OPEN,CLOSE,8,0),colorFFFF00;
STICKLINE(AA>0,HIGH,LOW,0.8,0),colorFFFF00;
STICKLINE(A>0,OPEN,CLOSE,8,0),colorFF;
STICKLINE(A>0,HIGH,LOW,0.8,0),colorFF;
STICKLINE(B>0,HIGH,LOW,0.05,0),colorFFFF00;
STICKLINE(B>0,OPEN,CLOSE,8,0),colorFFFF00;
HDF:=DATE>1081229;
FF01:=LLV(HIGH,235);
FF03:=LLV(HIGH,360);
FF05:=LLV(HIGH,720);
FF07:=LLV(HIGH,998);
FF02:=100*(CLOSE-FF01)/FF01;
FF04:=100*(CLOSE-FF03)/FF03;
FF06:=100*(CLOSE-FF05)/FF05;
FF08:=100*(CLOSE-FF07)/FF07;
CMFP:=FF02<-0.1 AND FF04<-0.1 AND FF06<-0.1 AND FF08<-0.1 OR FF02=0 AND FF04=0 AND FF06=0 AND FF08=0;
FF001:=(CLOSE-LLV(CLOSE,240))/(HHV(CLOSE,240)-LLV(CLOSE,240))*100;
FF002:=(CLOSE-LLV(CLOSE,380))/(HHV(CLOSE,380)-LLV(CLOSE,380))*100;
FF003:=(CLOSE-LLV(CLOSE,520))/(HHV(CLOSE,520)-LLV(CLOSE,520))*100;
FF004:=(CLOSE-LLV(CLOSE,680))/(HHV(CLOSE,680)-LLV(CLOSE,680))*100;
FF005:=(CLOSE-LLV(CLOSE,820))/(HHV(CLOSE,820)-LLV(CLOSE,820))*100;
FF006:=(CLOSE-LLV(CLOSE,1100))/(HHV(CLOSE,1100)-LLV(CLOSE,1100))*100;
V7:=REF(LOW,1);
成交定位:=(SMA(MAX(LOW-V7,0),5,1))/(SMA(ABS(LOW-V7),5,1))*100*HDFGS;
大趋势:=(CLOSE-LLV(CLOSE,3000))/(HHV(CLOSE,3000)-LLV(CLOSE,3000))*100;
大盘趋势:=EMA(100*(CLOSE-LLV(LOW,560))/(HHV(HIGH,560)-LLV(LOW,560)),13)*HDFGS;
FF013:=(CLOSE-LLV(CLOSE,621))/(HHV(CLOSE,621)-LLV(CLOSE,621))*100*HDFGS;
FF007:=EMA(100*(CLOSE-LLV(LOW,220))/(HHV(HIGH,220)-LLV(LOW,220)),5);
FF008:=EMA(100*(CLOSE-LLV(LOW,420))/(HHV(HIGH,420)-LLV(LOW,420)),7);
FF009:=EMA(100*(CLOSE-LLV(LOW,560))/(HHV(HIGH,560)-LLV(LOW,560)),9);
FF010:=EMA(100*(CLOSE-LLV(LOW,680))/(HHV(HIGH,680)-LLV(LOW,680)),11);
FF011:=EMA(100*(CLOSE-LLV(LOW,820))/(HHV(HIGH,820)-LLV(LOW,820)),13);
FF012:=EMA(100*(CLOSE-LLV(LOW,1080))/(HHV(HIGH,1080)-LLV(LOW,1080)),15);
筑底区域关注:=(CMFP AND FF02<0 AND FF04<0 AND FF06<0 AND FF08<0 AND 成交定位<30 AND FF001<0.5 AND FF002<0.5 AND FF003<0.5 AND FF004<0.5 AND FF005<0.5 AND FF006<0.5 AND 大趋势=0 AND 大盘趋势<2.5 AND FF007<2.5 AND FF008<2.5 AND FF009<2.5 AND FF010<2.5 AND FF011<2.5 AND FF012<2.5 AND FF013<2.5)*30;
顶部:=CLOSE>COST(99.97);
DRAWICON(顶部 AND FF001=100 AND FF002=100 AND FF006=100 AND FF012>92 AND FF011>90,HIGH,12),ALIGN0;
DRAWICON(筑底区域关注,LOW-LOW*0.012,10),ALIGN0;
|