飞狐二次金叉副图指标
源码
0.97,colorred ,stick,linethick5 ;
0.67,color9933cc ,stick ,linethick5
0.3,color0099cc ,stick,linethick5
MACD二次金叉: FILTER(CLOSE>LLV(LOW,30)*1.01 AND CLOSE<LLV(LOW,30)*1.1 AND COUNT(CROSS("MACD.DIFF","MACD.DEA"),30)>=2,10) AND COUNT(REF(CLOSE,BARSLAST(REF(CROSS("MACD.DIFF","MACD.DEA"),1))+1)>CLOSE AND REF("MACD.DIFF",BARSLAST(REF(CROSS("MACD.DIFF","MACD.DEA"),1))+1)<"MACD.DIFF" AND CROSS("MACD.DIFF","MACD.DEA"),5)>=1,coloryellow ;
0,linethick5,stick