飞狐收银台副图指标
-
相关简介:飞狐收银台副图指标 收银台:使用方法:两条线在底部区域同时向上拐头时买入,在顶部区域同时向下拐头时注意逃顶。若两条线不能持续向上,买进后应随时请注意止损。 源码 AR1:=IF(((EMA(CLOSE,5))/(EMA(EMA(CLOSE,9),16))=0.85) AND ((CLOSE)/(REF(CLOSE,1))0.905) AND ((CLOSE)/(REF(CLOSE,1))1.05) AND ((VOL/CAPITAL)*(100)5),50,0); AR2:=IF((HIGH+L
-
文章来源:股海网作者:股海网发布时间:2016-06-18浏览次数:
飞狐收银台副图指标
收银台:使用方法:两条线在底部区域同时向上拐头时买入,在顶部区域同时向下拐头时注意逃顶。若两条线不能持续向上,买进后应随时请注意止损。
源码
AR1:=IF(((EMA(CLOSE,5))/(EMA(EMA(CLOSE,9),16))<=0.85) AND ((CLOSE)/(REF(CLOSE,1))>0.905) AND ((CLOSE)/(REF(CLOSE,1))<1.05) AND ((VOL/CAPITAL)*(100)<5),50,0);
AR2:=IF((HIGH+LOW<=REF(HIGH,1)+REF(LOW,1)),0,MAX(ABS(HIGH-REF(HIGH,1)),ABS(LOW-REF(LOW,1))));
AR3:=IF((HIGH+LOW>=REF(HIGH,1)+REF(LOW,1)),0,MAX(ABS(HIGH-REF(HIGH,1)),ABS(LOW-REF(LOW,1))));
AR4:=(SUM(AR2,13))/(SUM(AR2,13)+SUM(AR3,13));
AR5:=(SUM(AR3,13))/(SUM(AR3,13)+SUM(AR2,13));
AR6:=100-(3)*(SMA(((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1))+(2)*(SMA(SMA(((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1),15,1));
AR7:=100-(3)*(SMA(((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1))+(2)*(SMA(SMA(((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1),15,1));
AR8:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
AR9:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
AR10:=SMA(AR9,13,8);
AR11:=SMA(AR8,21,8);
生意上门:SMA(AR10,13,8),COLORRED;
买卖顺意:MA((((-100))*(HHV(HIGH,34)-CLOSE))/(HHV(HIGH,34)-LLV(LOW,34))+100,5),COLORGREEN;
进:DRAWTEXT(CROSS(生意上门,买卖顺意)AND 生意上门<50 AND 买卖顺意>REF(买卖顺意,1) OR CROSS(生意上门,买卖顺意)AND 生意上门<20 AND 生意上门>REF(生意上门,2),25,'进'),ALIGN0;
出:DRAWTEXT(CROSS(买卖顺意,生意上门)AND 买卖顺意>80 ,90,'出'),ALIGN0;
收银台:DRAWTEXT(生意上门-AR11<(-65)AND AR1 OR 生意上门-AR11<(-65)AND 买卖顺意>REF(买卖顺意,1) ,low,'■'),ALIGN0,COLORF00FF0;