持股:=HHV(MA(C,17),2);
FFS:=IF(MA(C,17)<持股,(MA(C,17)-(持股-MA(C,17))),持股);
CG:=MA(C,17);
DD:=FFS=持股 AND 持股=CG;
JRS:=FILTER(DD=1,5);
搏杀:=HHV(MA(C,17),2);
{ 爱约股_通达信股票指标公式}
FS:=IF(MA(C,17)<搏杀,(MA(C,17)-(搏杀-MA(C,17))),搏杀);
CGC:=MA(C,17);
XXG:=搏杀=FS AND FS=CGC;
BBB:=TFILTER(XXG,1,5);
A01:=CROSS(XXG,BBB);
收盘价买入:CROSS(A01,0.8) AND CROSS(JRS,0.8);
全年选股次数:SUM(收盘价买入,250),LINETHICK0,NODRAW;
两日1点卖:HHV(H,3)>REF(C,1)*1.02 AND REF(CROSS(收盘价买入,0.8),1);
全年成功次数:SUM(两日1点卖,250),LINETHICK0,NODRAW;
成功率:(全年成功次数/全年选股次数)*100,LINETHICK0,NODRAW;