通达信万恶指标公式
2020/2/29 18:33:54
VAR1:=88;
VAR2:=68;
VAR3:=(CLOSE-LLV(LOW, 9))/(HHV(HIGH, 9)-LLV(LOW, 9))*100;
VAR4:=SMA(VAR3, 3, 1);
VAR5:=SMA(VAR4, 3, 1);
VAR6:=3*VAR4-2*VAR5;
VAR7:=SMA(CLOSE/HHV(HIGH, 120), 3, 1)*100;
VAR8:=SMA(CLOSE/HHV(HIGH, 120), 3, 1)*100;
VAR9:=VAR7>REF(VAR7, 20) AND VAR7>75 AND FILTER(VAR7/REF(LLV(LOW, 20), 10)>1.180, 20);
VAR10:=IF(VAR7>70 AND VAR7<75, 1, 0);
目前态势=-:VAR7,,LINETHICK2,COLORFF00FF;
VAR11:=REF(CLOSE, 1);
VAR12:=SMA(MAX(CLOSE-VAR11, 0), 6, 1)/SMA(ABS(CLOSE-VAR11), 6, 1)*100;
调整:=VAR7, COLORGREEN,LINETHICK0;
{投股票网-股票公式网站 www.tou18.cn}
★顶部星:IF(VAR7>VAR1, VAR7, VAR1), CIRCLEDOT,LINETHICK1,COLORWHITE;
★底部星:DRAWTEXT(FILTER(调整<48, 10), 调整, '★割肉离场'), COLOR00FF00;
IF(VAR8<68,调整,68), POINTDOT,LINETHICK2,,COLORYELLOW;
DRAWTEXT(VAR9>0 AND VAR7<88, 调整, '$落袋为安'), COLORRED;
DRAWTEXT(VAR7<68 AND BARSLAST(CROSS(VAR2, VAR7))>2 AND VAR5<30 AND CROSS(VAR6, VAR5), 70
, '★破位下行'), COLORYELLOW;
投股票 网 www.tou18. cn
股市公式下载推荐