输出粉剑:60日内最低价的最低值,COLORFF00FF
输出粉剑追:120日内最低价的最低值,COLOR00FF00
输出老山界:(1.382)*(120日内最低价的最低值),COLOR0000FF
输出凤凰台:(-B2),COLORFFFF00
输出凤凰:D1 AND L1,COLORFF00FF
输出白凤凰:如果(D1ANDL1ANDC1)*(1.5),返回10,否则返回0,COLORFFFFFF
输出火凤凰:如果(D1ANDL2ANDC1)*(2),返回10,否则返回0,COLOR0000FF
输出金凤凰:如果(D1ANDL0ANDC1)*(2.5),返回10,否则返回0,LINETHICK2,COLOR00FFFF
输出彩凤凰:(((收盘价-60日内最低价的最低值)/(60日内最低价的最低值))*(100)上穿20 AND (统计13日中满足B2的天数>=1) AND (统计8日中满足凤凰的天数>=1))*(3),COLOR8080FF
JF赋值:收盘价上穿老山界 AND (统计13日中满足(-B2)的天数>=1)
当满足条件JF时,在老山界位置书写文字,COLOR0000FF
当满足条件((收盘价-60日内最低价的最低值)/(60日内最低价的最低值))*(100)上穿20AND(统计13日中满足B2的天数>=1)AND(统计8日中满足凤凰的天数>=1)时,在0和1.5位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR0000FF;
红牛掘金:
L0:=(LLV(LOW,10));
L1:=(LLV(LOW,60));
L2:=(LLV(LOW,120));
红剑:CLOSE,COLOR00FFFF;
A1:=REF(CLOSE,1);
B1:=COUNT(L1,13)>=8;
B2:=SUM(L1,13)>=6;
B3:=COUNT(-B2,13)>=1;
{B4:=COUNT(凤凰,8)>=1;}
B4:=1;
B5:=COUNT(B2,13)>=1;
C1:=(((CLOSE-A1)/A1)*100)>9.8;
D1:=(((CLOSE-LOW)/LOW)*100)>10;
粉剑:(LLV(LOW,60)),COLOR00FF00;
粉剑追:(LLV(LOW,120)),COLORFF00FF;
老山界:1.382*(LLV(LOW,120)),COLOR0000FF;
凤凰台:-B2,COLORFFFF00;
凤凰:D1 AND L1,COLORFF00FF;
白凤凰:IF((D1 AND L1 AND C1)*1.5,10,0),COLORFFFFFF;
火凤凰:IF((D1 AND L2 AND C1)*2,10,0),COLOR0000FF;
金凤凰:IF((D1 AND L0 AND C1)*2.5,10,0),LINETHICK2,COLOR00FFFF;
{彩凤凰:CROSS(((CLOSE-L1)/L1)*100,20) AND B5 AND B4*3,COLOR8080FF;}
JF:=CROSS(CLOSE,老山界) AND B3;
DRAWTEXT(JF,老山界,'金凤凰飞出深山沟'),COLOR0000FF;
STICKLINE(CROSS(((CLOSE-L1)/L1)*100,20) AND B5 AND B4,0,1.5,5,0),COLOR0000FF;