九毛八公式指标
N1:=100; KD:=BARSLAST(CURRBARSCOUNT=N1); GD:=CONST(IF(ISLASTBAR=1,HHV(H,KD),0)); DD:=CONST(IF(ISLASTBAR=1,LLV(L,KD),0)); 高区:IF(CURRBARSCOUNT<=N1,GD,DRAWNULL),COLORWHITE; 低区:IF(CURRBARSCOUNT<=N1,DD,DRAWNULL),COLORWHITE;
公式模块:
n:=100;
aa:=BArslAST(cross(BacKSET( DISPSTATUS=2,n),0.5)); 高区:HORILINE(DISPSTATUS=2,HHV(H,aa+1),aa=0,1); 低区:HORILINE(DISPSTATUS=2,LLV(L,aa+1),aa=0,1);