最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 智策多空警戒线指标

    正文概述    2024-04-14 09:25:05  

    九毛八公式指标

    VAR0:=(CLOSE - LLV(LOW,32)) / (HHV(HIGH,32) - LLV(LOW,32)) * CLOSE; VAR1:=EMA(VAR0,3); VAR3:=EMA(VAR0,7); HH:=HHV(VAR3,64); LL:=LLV(VAR3,64); VARHIGH:=IF(VAR1>=REF(HH,1),H,REF(H,BARSLAST(VAR1>=REF(HH,1)))); VARLOW:=IF(VAR1<=REF(LL,1),L,REF(L,BARSLAST(VAR1<=REF(LL,1)))); B1:PARTLINE(VARHIGH=REF(VARHIGH,1),VARHIGH),NOTDRAWTEXT,COLORRED,0,2; B2:PARTLINE(VARLOW=REF(VARLOW,1),VARLOW),NOTDRAWTEXT,COLORGREEN,0,2; B3:MA(C,21),NOTDRAWTEXT,RGB(255,0,255); 这是源码,请哪位老师改成通达信的

    公式模块:

    VAR0:=(CLOSE - LLV(LOW,32)) / (HHV(HIGH,32) - LLV(LOW,32)) * CLOSE;

    VAR1:=EMA(VAR0,3); VAR3:=EMA(VAR0,7); HH:=HHV(VAR3,64); LL:=LLV(VAR3,64); VARHIGH:=IF(VAR1>=REF(HH,1),H,REF(H,BArslAST(VAR1>=REF(HH,1)))); VARLOW:=IF(VAR1<=REF(LL,1),L,REF(L,BARSLAST(VAR1<=REF(LL,1)))); B1:REFX(IF(VARHIGH=REF(VARHIGH,1),VARHIGH,DRAWNULL),1),COLORRED; B2:REFX(IF(VARLOW=REF(VARLOW,1),VARLOW,DRAWNULL),1),COLORGREEN; B3:MA(C,21),COLORFF00FF;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 智策多空警戒线指标 加入收藏