当日价格创7日内新高,同时量能创7日内新高,次日量能缩小30%以上,并且rsi指标高于70,显示绿箭头;
当日价格创7日内新高,同时量能创7日内新高,次日量能缩小30%以上,并且rsi指标低于30,显示红箭头;
5日10日均线都上穿20日均线显示红箭头;
5日10日均线都下穿20日均线显示绿箭头
这段公式两个软件不通用有差别,
下面代码是通达信的
DRAWICON(REF(H=HHV(H,7) AND V=HHV(V,7),1) AND V<REF(C,1)/3 AND SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100>70,H*1.01,2);
DRAWICON(REF(H=HHV(H,7) AND V=HHV(V,7),1) AND V<REF(C,1)/3 AND SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100<30,L*0.99,1);
DRAWICON(CROSS(MA(C,5),MA(C,20)) AND CROSS(MA(C,10),MA(C,20)),L*0.99,1);
DRAWICON(CROSS(MA(C,20),MA(C,5)) AND CROSS(MA(C,20),MA(C,10)),H*1.01,2);
下面代码是博易大师的
DRAWICON(REF(H=HHV(H,7) AND V=HHV(V,7),1) AND V<REF(C,1)/3 AND SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100>70,H*1.01,5);
DRAWICON(REF(H=HHV(H,7) AND V=HHV(V,7),1) AND V<REF(C,1)/3 AND SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100<30,L*0.99,4);
DRAWICON(CROSS(MA(C,5),MA(C,20)) AND CROSS(MA(C,10),MA(C,20)),L*0.99,4);
DRAWICON(CROSS(MA(C,20),MA(C,5)) AND CROSS(MA(C,20),MA(C,10)),H*1.01,5);