研报&论文

申万宏源技术指标测试大全之十四— Commodity Selection Index

由crisvalentine创建,最终由crisvalentine 被浏览 34 用户

指标介绍

股票选择指标(Commodity Selection Index):简称:CSI

所需数据和参数:CSI(high,low,close,length )

指标伪码:

MYMARGIN:=1000;

MYCOMMISION:=25;

K:=300/(SQRT(MYMARGIN)(150+MYCOMMISION))100;

MTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),LENGTH);

HD :=HIGH-REF(HIGH,1);

LD :=REF(LOW,1)-LOW;

DMP:=EMA(IF(HD>0&&HD>LD,HD,0),LENGTH);

DMM:=EMA(IF(LD>0&&LD>HD,LD,0),LENGTH);

PDI:=DMP100/MTR;MDI:=DMM100/MTR;

ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI)100,LENGTH);

ADXR:=(ADX+REF(ADX,LENGTH))/2;CSI:KADXR*MTR;

指标含义

/wiki/static/upload/37/37217edb-6d91-4f4f-8f77-ea4b11b4892c.pdf

\

标签

技术指标投资策略
{link}