请老师帮我将下列公式中的红线上穿绿线时的选股公式。谢谢!

2024-12-21 12:07:50
推荐回答(1个)
回答1:

{紫线上穿绿线}
P:=14;
M:=6;
AA:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),P);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0 AND HD>LD,HD,0),P);
DMM:=SUM(IF(LD>0 AND LD>HD,LD,0),P);
PDI:=DMP*100/AA;
MDI:=DMM*100/AA;
ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
ADXR:=(ADX+REF(ADX,M))/2;
WMA20:=MA(ADX,5);
WMA30:=MA(ADXR,5);
XG:CROSS(WMA20,WMA30);

股票公式专家团为你解答,希望能帮到你,祝投资顺利。