源码

{股市敏感器  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);


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。