通达信/益盟 【黑马擒拿术】只参与:底...
通达信/益盟 【黑马擒拿术】
只参与:底部、刚脱离底部、平台附近等位置出现的信号。
源码:
N型涨停:CLOSE>REF(CLOSE,1)*1.1-0.01 AND HIGH/OPEN>1.085 AND BARSLAST(REF(CLOSE>REF(CLOSE,1)*1.1-0.01 AND HIGH/OPEN>1.085,1))>=7 AND COUNT(CLOSE>REF(CLOSE,1)*1.1-0.01 AND HIGH/OPEN>1.085,34)=2 AND MIN(LLV(CLOSE,BARSLAST(REF(CLOSE>REF(CLOSE,1)*1.1-0.01 AND HIGH/OPEN>1.085,1))),LLV(OPEN,BARSLAST(REF(CLOSE>REF(CLOSE,1)*1.1-0.01 AND HIGH/OPEN>1.085,1))))>=REF(OPEN,BARSLAST(REF(CLOSE>REF(CLOSE,1)*1.1-0.01 AND HIGH/OPEN>1.085,1))+1)*0.99 AND MIN(LLV(CLOSE,BARSLAST(REF(CLOSE>REF(CLOSE,1)*1.1-0.01 AND HIGH/OPEN>1.085,1))),LLV(OPEN,BARSLAST(REF(CLOSE>REF(CLOSE,1)*1.1-0.01 AND HIGH/OPEN>1.085,1))))<=REF(OPEN,BARSLAST(REF(CLOSE>REF(CLOSE,1)*1.1-0.01 AND HIGH/OPEN>1.085,1))+1)*1.01 AND CLOSE>REF(MIN(HHV(CLOSE,BARSLAST(REF(CLOSE>REF(CLOSE,1)*1.1-0.01 AND HIGH/OPEN>1.085,1))),HHV(OPEN,BARSLAST(REF(CLOSE>REF(CLOSE,1)*1.1-0.01 AND HIGH/OPEN>1.085,1)))),1)*0.99 AND CLOSE<REF(CLOSE,BARSLAST(REF(CLOSE>REF(CLOSE,1)*1.1-0.01 AND HIGH/OPEN>1.085,1))+1)*1.045;
DRAWTEXT_FIX(ISLASTBAR AND DATE>1161103,0.002,0.35,0,46),COLORBLUE;