飞狐股市敏感器副图指标
-
相关简介:飞狐股市敏感器副图指标 源码 {股市敏感器 m=10} var2:=MAX(ABS(HIGH-REF(HIGH,1)),ABS(LOW-REF(LOW,1))); var3:=IF(HIGH+LOW=REF(HIGH,1)+REF(LOW,1),0,MAX(ABS(HIGH-REF(HIGH,1)),ABS(LOW-REF(LOW,1)))); var4:=IF(HIGH+LOW=REF(HIGH,1)+REF(LOW,1),0,MAX(ABS(HIGH-REF(HIGH,1)),ABS(LOW
-
文章来源:股海网作者:股海网发布时间:2016-04-06浏览次数:
飞狐股市敏感器副图指标
源码
{股市敏感器
var2:=MAX(ABS(HIGH-REF(HIGH,1)),ABS(LOW-REF(LOW,1)));
var3:=IF(HIGH+LOW<=REF(HIGH,1)+REF(LOW,1),0,MAX(ABS(HIGH-REF(HIGH,1)),ABS(LOW-REF(LOW,1))));
var4:=IF(HIGH+LOW>=REF(HIGH,1)+REF(LOW,1),0,MAX(ABS(HIGH-REF(HIGH,1)),ABS(LOW-REF(LOW,1))));
var5:=SUM(var3,13)/(SUM(var3,13)+SUM(var4,13));
var6:=SUM(var4,13)/(SUM(var4,13)+SUM(var3,13));
跟入:(var5-var6)*100, LINESTICK ;
DI: SMA(跟入,30,10),,ColorFFFF66 LINESTICK;
AD: MA(DI,M1), , COLORMAGENTA;
var18:=SUM(MAX(0,HIGH-REF((HIGH+LOW+CLOSE)/3,1)),26)/SUM(MAX(0,REF((HIGH+LOW+CLOSE)/3,1)-LOW),26)*100;
DRAWTEXT(var18>250 ,-20,'风险!'), , COLORRED;
var1F:=WINNER((CLOSE+OPEN+HIGH+LOW)/4)*1000;
圈:= IF(var1F>180,0,-30), ,
圈1:= IF(跟入>0,30,0), ,
DRAWICON(圈1,38,10);
DRAWICON(圈,-34,11);