网友求助:
要求:改为大智慧版
AA:=(MA(V,5)+MA(V,10)+MA(V,135))/3;
BB:=(((240/FROMOPEN*VOL)>=AA));
CC:=CROSS(MA(C,10),MA(C,5));
DD:=CROSS(MA(C,5),MA(C,10));
EE:=MAX(C,O) ;
FF:=IF( DD AND BARSLAST(CC),BARSLAST(CC),0);
GG:=IF(HHV(EE,FF) AND DD,HHV(EE,FF),0);
HH:=REF(GG,BARSLAST(DD));
XG:BB AND C>=HH AND REF(C,1)<HH;
解答如下:
FROMOPEN:=IF(HOUR<12,60*(HOUR-9)-30+MINUTE,120+60*(HOUR-13)+MINUTE);
AA:=(MA(V,5)+MA(V,10)+MA(V,135))/3;
BB:=(((240/FROMOPEN*VOL)>=AA));
CC:=CROSS(MA(C,10),MA(C,5));
DD:=CROSS(MA(C,5),MA(C,10));
EE:=MAX(C,O) ;
FF:=IF( DD AND BARSLAST(CC),BARSLAST(CC),0);
GG:=IF(HHV(EE,FF) AND DD,HHV(EE,FF),0);
HH:=REF(GG,BARSLAST(DD));
XG:BB AND C>=HH AND REF(C,1)<HH;