A黄亿万富翁
买进价咯 16.46
买进股数 2500
HDFGS:=DATE>901224 AND DATE<1081231;
G2:=买进价咯*买进股数+买进价咯*买进股数*0.005*HDFGS;
已获利润:CLOSE*买进股数-CLOSE*买进股数*0.005-G2,LINETHICK0,colorFF;
现金:=(G2+已获利润)*HDFGS;
回补:CLOSE-CLOSE*2.5/100,LINETHICK0,colorFF00FF;
卖价:CLOSE*2.5/100+CLOSE,LINETHICK0,colorFFFF;
涨幅%:(现金-G2)/G2*100,LINETHICK0,colorFF00FF;
成本:G2,color9899CC;
卖出总额:现金,colorFF;
DDF01:=LLV(HIGH,360);
DDF02:=100*(CLOSE-DDF01)/DDF01;
DDF03:=LLV(HIGH,640);
DDF04:=100*(CLOSE-DDF03)/DDF03;
DDF05:=LLV(HIGH,730);
DDF06:=100*(CLOSE-DDF05)/DDF05;
AABB:=(DDF02<0 OR DDF02=0) AND (DDF04<0 OR DDF04=0) AND (DDF06<0 OR DDF06=0);
DDF07:=(CLOSE-LLV(CLOSE,439))/(HHV(CLOSE,439)-LLV(CLOSE,439))*100;
DDF08:=(CLOSE-LLV(CLOSE,521))/(HHV(CLOSE,521)-LLV(CLOSE,521))*100;
DDF09:=(CLOSE-LLV(CLOSE,752))/(HHV(CLOSE,752)-LLV(CLOSE,752))*100;
DDF10:=(CLOSE-LLV(CLOSE,290))/(HHV(CLOSE,290)-LLV(CLOSE,290))*100;
DF03:=(CLOSE-LLV(LOW,286))/(HHV(HIGH,286)-LLV(LOW,286))*100;
DF04:=EMA(100*(CLOSE-LLV(LOW,290))/(HHV(HIGH,290)-LLV(LOW,290)),2);
DF05:=EMA(100*(CLOSE-LLV(LOW,200))/(HHV(HIGH,200)-LLV(LOW,200)),9);
DF06:=(DDF10+DF03+DF04+DF05)/4;
沪深位置:EMA(100*(CLOSE-LLV(LOW,560))/(HHV(HIGH,560)-LLV(LOW,560)),13),LINETHICK1,colorFFFF00;
DF08:=(DDF10=0 AND DF03=0 AND DF04<0.7)*1;
DF09:=(DDF10=100 AND DF03>98.5 AND DF04>91)*1;
VAR17:=EMA(100*(CLOSE-LLV(LOW,460))/(HHV(HIGH,460)-LLV(LOW,460)),20);
VAR18:=EMA(100*(CLOSE-LLV(LOW,900))/(HHV(HIGH,900)-LLV(LOW,900)),5);
VAR19:=EMA(100*(CLOSE-LLV(LOW,1085))/(HHV(HIGH,1085)-LLV(LOW,1085)),8);
VAR20:=EMA(100*(CLOSE-LLV(LOW,262))/(HHV(HIGH,260)-LLV(LOW,260)),14);
VAR21:=EMA(100*(CLOSE-LLV(LOW,566))/(HHV(HIGH,566)-LLV(LOW,566)),20);
VAR22:=EMA(100*(CLOSE-LLV(LOW,800))/(HHV(HIGH,800)-LLV(LOW,800)),125);
个股位置:(VAR17+VAR18+VAR19+VAR20+VAR21+VAR22)/6*HDFGS,LINETHICK1,colorFFFF;
V7:=REF(LOW,1);
V9:=(SMA(MAX(LOW-V7,0),5,1))/(SMA(ABS(LOW-V7),5,1))*100*HDFGS;
黄总买进:=(AABB AND DDF07=0 AND DF06<1.25 AND DF08>0 AND 沪深位置<2.5 AND HDFGS AND V9<17.2)*70;
黄总卖出:=(DDF07=100 AND DDF08=100 AND DDF09=100 AND DF06>98 AND 沪深位置>98.48 AND HDFGS AND 个股位置>97.8 AND V9>92.75)*120;
A:=LLV(HIGH,2000);
获利筹码:=120*(CLOSE-A)/A;
卖出:=个股位置>96.5 AND 沪深位置>96.5;
翻番:=CROSS(获利筹码,0);
中线黑马一次翻番:(翻番 AND 个股位置<2.6 AND 沪深位置<2)*80,STICK,LINETHICK2,colorFF;
DRAWTEXT(中线黑马一次翻番>0,-10,'黄亿万买入,股市是我开'),colorFF00FF;
STICKLINE(卖出>0,101,110,1,0),LINETHICK2,colorFF00;
DRAWICON(黄总买进>0,-6,4);
DRAWICON(卖出 AND 黄总卖出,115,5);
DRAWICON(中线黑马一次翻番>0,88,4);
100;
0;
|