VAR1:=(CLOSE-LLV(LOW,16))/(HHV(HIGH,16)-LLV(LOW,16))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VARA1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VARA2:=SMA(SMA(VARA1,3,1),3,1);
VARA3:=EMA(VARA2,5);
公主:=3*VARA2-2*VARA3;
蓝天:=SMA(3*SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,5,1),3,1),3,1);
近山:=3*SMA((CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100,5,1),3,1);
远山:=3*SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,5,1),3,1);
STICKLINE(蓝天,0,120,10,0),colorFFCC00;
FILLRGN(远山,0,远山),color666600;
FILLRGN(近山,0,近山*0.97),colorEE99;
FILLRGN(近山,0,近山*0.93),colorDD99;
FILLRGN(近山,0,近山*0.88),colorCC99;
FILLRGN(近山,0,近山*0.82),colorBB99;
FILLRGN(近山,0,近山*0.75),colorAA99;
FILLRGN(近山,0,近山*0.67),color9999;
FILLRGN(近山,0,近山*0.6),color8899;
FILLRGN(近山,0,近山*0.53),color7799;
FILLRGN(近山,0,近山*0.46),color6699;
棋馆:IF(VAR3<16.8,6,0),color57AE;
STICKLINE(棋馆,0,棋馆,15,0),color53FF;
江湖剑侠:=IF(CROSS(远山,5) AND VAR3<16.8,50,0);
华山论剑:IF(CROSS(远山,1.2) AND 公主<6.788,30,0),color800080;
无名:IF(CROSS(远山,5) AND 公主>6.788 AND 公主<10 AND VAR3<16.8,50,0),colorFF;
DRAWICON(无名,50,3);
DRAWTEXT(无名,50,'无名'),colorFF;
STICKLINE(FILTER(江湖剑侠,26) AND 江湖剑侠>=1.8,20,0,6,0),STICK,LINETHICK3,colorFF7777;
DRAWTEXT(FILTER(江湖剑侠,26) AND 江湖剑侠>=1.8,20,'残剑'),colorFF;
DRAWICON(FILTER(近山,3) AND 近山>=88,近山+5,9);
DRAWTEXT(FILTER(近山,3) AND 近山>=88,近山,'飞雪'),colorFF;
DRAWICON(FILTER(远山,3) AND 远山>=92 AND 近山<90,100,2);
DRAWTEXT(FILTER(远山,3) AND 远山>=92 AND 近山<90,105,'长空'),colorFF;
英雄RAWTEXT(IF(FILTER(华山论剑,2) AND 远山<10 AND IF(CROSS(远山,7),100,0),100,0),80,'秦王'),color3333;
T5:=MONTH=1 AND (DAY=7 OR DAY=8 OR DAY=9);
忆英雄RAWTEXT(FILTER(T5,3),120,'残剑送冬归,飞雪迎春到。已是长空百丈冰,犹有无名俏。'),color730000;
|