求高人把下面文华指标改为博易大师指标
来源:学生作业帮 编辑:百度作业网作业帮 分类:综合作业 时间:2024/08/19 06:22:59
求高人把下面文华指标改为博易大师指标
VAR6:=(2*CLOSE+HIGH+OPEN+LOW)/5;
VAR7:=LLV(LOW,12);
VAR8:=HHV(HIGH,20);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
SARLINE:=ABS(SAR(3,0.01,0.1));
TR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),6);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0 && HD>LD,HD,0),6);
DMM:=SUM(IF(LD>0 && LD>HD,LD,0),6);
PDI:=DMP*100/TR,COLORWHITE;
MDI:=DMM*100/TR,COLORYELLOW;
ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,14),COLORRED;
ADXR:=(ADX+REF(ADX,14))/2,COLORGREEN;
MA10:=EMA(CLOSE,11);
MA1:=EMA(CLOSE,5);
VAR9>VARA&&CLOSE>=SARLINE&&MA10>REF(MA10,1)&&ADX>30&&CLOSE>REF(OPEN,1)&&CLOSE>REF(OPEN,2)&&CLOSE>REF(CLOSE,1)&&CLOSE>REF(CLOSE,2)&&CLOSE>MA1&&CLOSE>OPEN,BPK;
VAR9
VAR6:=(2*CLOSE+HIGH+OPEN+LOW)/5;
VAR7:=LLV(LOW,12);
VAR8:=HHV(HIGH,20);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
SARLINE:=ABS(SAR(3,0.01,0.1));
TR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),6);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0 && HD>LD,HD,0),6);
DMM:=SUM(IF(LD>0 && LD>HD,LD,0),6);
PDI:=DMP*100/TR,COLORWHITE;
MDI:=DMM*100/TR,COLORYELLOW;
ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,14),COLORRED;
ADXR:=(ADX+REF(ADX,14))/2,COLORGREEN;
MA10:=EMA(CLOSE,11);
MA1:=EMA(CLOSE,5);
VAR9>VARA&&CLOSE>=SARLINE&&MA10>REF(MA10,1)&&ADX>30&&CLOSE>REF(OPEN,1)&&CLOSE>REF(OPEN,2)&&CLOSE>REF(CLOSE,1)&&CLOSE>REF(CLOSE,2)&&CLOSE>MA1&&CLOSE>OPEN,BPK;
VAR9
![求高人把下面文华指标改为博易大师指标](/uploads/image/z/15619037-5-7.jpg?t=%E6%B1%82%E9%AB%98%E4%BA%BA%E6%8A%8A%E4%B8%8B%E9%9D%A2%E6%96%87%E5%8D%8E%E6%8C%87%E6%A0%87%E6%94%B9%E4%B8%BA%E5%8D%9A%E6%98%93%E5%A4%A7%E5%B8%88%E6%8C%87%E6%A0%87)
VAR6:=(2*CLOSE+HIGH+OPEN+LOW)/5;
VAR7:=LLV(LOW,12);
VAR8:=HHV(HIGH,20);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
SARLINE:=ABS(SAR(3,0.01,0.1));
TR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),6);
HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0 AND HD>LD,HD,0),6);
DMM:=SUM(IF(LD>0 AND LD>HD,LD,0),6);
PDI:=DMP*100/TR,COLORWHITE;
MDI:=DMM*100/TR,COLORYELLOW;
ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,14),COLORRED;
ADXR:=(ADX+REF(ADX,14))/2,COLORGREEN;
MA10:=EMA(CLOSE,11);
MA1:=EMA(CLOSE,5);
BPK:=VAR9>VARA AND
CLOSE>=SARLINE AND
MA10>REF(MA10,1) AND
ADX>30 AND
CLOSE>REF(OPEN,1) AND
CLOSE>REF(OPEN,2) AND
CLOSE>REF(CLOSE,1) AND
CLOSE>REF(CLOSE,2) AND
CLOSE>MA1 AND
CLOSE>OPEN;{,BPK}
SPK:=VAR9
VAR7:=LLV(LOW,12);
VAR8:=HHV(HIGH,20);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
SARLINE:=ABS(SAR(3,0.01,0.1));
TR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),6);
HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0 AND HD>LD,HD,0),6);
DMM:=SUM(IF(LD>0 AND LD>HD,LD,0),6);
PDI:=DMP*100/TR,COLORWHITE;
MDI:=DMM*100/TR,COLORYELLOW;
ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,14),COLORRED;
ADXR:=(ADX+REF(ADX,14))/2,COLORGREEN;
MA10:=EMA(CLOSE,11);
MA1:=EMA(CLOSE,5);
BPK:=VAR9>VARA AND
CLOSE>=SARLINE AND
MA10>REF(MA10,1) AND
ADX>30 AND
CLOSE>REF(OPEN,1) AND
CLOSE>REF(OPEN,2) AND
CLOSE>REF(CLOSE,1) AND
CLOSE>REF(CLOSE,2) AND
CLOSE>MA1 AND
CLOSE>OPEN;{,BPK}
SPK:=VAR9