飞狐股市敏感器副图指标
源码
{股市敏感器 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-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), , COLORGREEN; 圈1:= IF(跟入>0,30,0), , COLORRED; DRAWICON(圈1,38,10); DRAWICON(圈,-34,11);
移动端首页 | PC端
© by gszx.com.cn Mobile Web
飞狐股市敏感器副图指标
源码
{股市敏感器 m=10} COLORGREEN; COLORRED;
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);