{新品无敌
日线主图
本指标仅仅对新上市100天以内有效。专门用于新股。
日线锁定:=IFF(PERIOD=5,1,DRAWNULL);
上市天数:=BARSSINCE(CLOSE>0);
炒新时段:=上市天数<=100;
炒新阶段:=IFF(炒新时段,上市天数,DRAWNULL);
新鲜度倒计时:IFF(日线锁定,30-炒新阶段,DRAWNULL),NODRAW;
新品决策上轨:IFF(日线锁定 AND 炒新时段,REF(HIGH,炒新阶段),DRAWNULL),COLORRED;
新品决策下轨:IFF(日线锁定 AND 炒新时段,REF(LOW,炒新阶段),DRAWNULL),COLORFFFF00;
突破描述:=REF(CLOSE,1)<=新品决策上轨 AND CLOSE>新品决策上轨 AND HHV(CLOSE,上市天数)==CLOSE AND 新鲜度倒计时>=15 ;
数量控制:=1;
BUY1:=COUNT(突破描述,30)<=数量控制 AND 突破描述;
探底描述:=L<新品决策下轨 AND MIN(OPEN,CLOSE)>新品决策下轨 AND HIGH<新品决策上轨 AND LLV(LOW,上市天数)==LOW AND (MIN(C,O)-L)>(H-MAX(C,O)) AND 新鲜度倒计时>=5 AND C>O;
BUY2:=COUNT(探底描述,30)<=数量控制 AND 探底描述;
翻多描述:=REF(CLOSE,1)<=新品决策下轨 AND CLOSE>新品决策下轨 AND 新鲜度倒计时>=15 AND (CROSS(新品决策下轨,REF(CLOSE,1)))==0;
BUY3:=COUNT(翻多描述,30)<=数量控制 AND 翻多描述;
跌破描述:=REF(CLOSE,1)>=新品决策下轨 AND CLOSE<新品决策下轨 AND LLV(CLOSE,上市天数)==CLOSE AND 新鲜度倒计时>=15;
SELL1:=COUNT(跌破描述,30)<=数量控制 AND 跌破描述;
探顶描述:=H>新品决策上轨 AND MAX(OPEN,CLOSE)<新品决策上轨 AND HIGH>新品决策上轨 AND HHV(HIGH,上市天数)==HIGH AND (MIN(C,O)-L)<(H-MAX(C,O)) AND 新鲜度倒计时>=5 AND C<O;
SELL2:=COUNT(探顶描述,30)<=数量控制 AND 探顶描述;
翻空描述:=REF(CLOSE,1)>=新品决策上轨 AND CLOSE<新品决策上轨 AND 新鲜度倒计时>=15 AND (CROSS(REF(CLOSE,1),新品决策上轨))==0;
SELL3:=COUNT(翻空描述,30)<=数量控制 AND 翻空描述;
BUY_HZ:=BUY1 OR BUY2 OR BUY3;
SEL_HZ:=SELL1 OR SELL2 OR SELL3;
炒新买入:IFF(日线锁定 AND BUY_HZ,100,DRAWNULL),NODRAW,COLORRED;
炒新卖出:IFF(日线锁定 AND SEL_HZ,100,DRAWNULL),NODRAW,COLORGREEN;
DRAWICON(BUY_HZ,LOW ,34);
DRAWICON(SEL_HZ,HIGH,35);
仅限日线使用:IFF(PERIOD!=5,1,DRAWNULL),NODRAW,COLORWHITE;
202251510394946345.png
202251510395735762.png
|