大底趋势(主图 源码)

2011-02-17 09:12:00来源:本站整理浏览:62

80,colorFF;
20,colorFFFF;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VARA:=IF(VAR9>100,VAR9-100,0);
VARB:=HHV(HIGH,34);
VARC:=EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
VARD,colorFF;
IF(VARC-VARD>0,VARC,VARD),colorFF00;
IF(VARC-VARD<0,VARC,VARD),colorFF;
差值:(VARC-VARD)*5,colorFF00;
IF(差值>=0,0,差值),colorFFFF;
IF(差值>=0,0,差值*0.8),colorFF9900;
IF(差值>=0,0,差值*0.6),colorFFCC00;
IF(差值>=0,0,差值*0.4),colorFFCCCC;
IF(差值>=0,0,差值*0.2),colorFFCCFF;
IF(差值<=0,0,差值*1),colorFF00;
IF(差值<=0,0,差值*0.8),colorCC00;
IF(差值<=0,0,差值*0.6),color9900;
IF(差值<=0,0,差值*0.4),color6600;
IF(差值<=0,0,差值*0.2);
 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式