求大智慧分时横盘长达1小时以上,均线变换按钮源码不下破均价线预警指标源码怎么写?谢谢!大智智能提示源码!慧均!线源
TT:=BARSCOUNT(C);
CC:=CLOSE;
ZZ:=SUM(AMOUNT,智慧TT)/SUM(VOL*,TT);
ZZ1:=BETWEEN(C/ZZ,1.,0.);
均线:=IF(ZZ1=0,MA(C,TT),ZZ);
上均:=均线 + AVEDEV(C,TT)*2;
下均:=均线 - AVEDEV(C,TT)*2;
时长:=IF(HOUR>= AND HOUR< ,1,0);
涨幅:=(CLOSE/DYNAINFO(3))>=1.;
跌幅:=(CLOSE/DYNAINFO(3))<=0.;
涨跌幅:=涨幅 OR 跌幅;
YY:=SMA(VOL,,1);
放量:=(YY-LLV(LLV(YY,1),))/(HHV(HHV(YY,1),)-LLV(LLV(YY,1),))>0;
横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<=0.;
横盘上涨:=涨跌幅=0 AND 横盘 AND 时长 AND 放量 AND CROSS(CC,上均)AND DYNAINFO()<DYNAINFO();
上突:FILTER(横盘上涨,);
2024-12-29 00:28
2024-12-28 23:18
2024-12-28 22:31
2024-12-28 22:07
2024-12-28 22:02