通达信量子非线性指标公式
通达信S点买卖主图指标公式
通达信量子非线性指标公式:
H1:=REF(HIGH,1);
H2:=REF(HIGH,2);
H3:=REF(HIGH,3);
H4:=REF(HIGH,4);
H5:=REF(HIGH,5);
H6:=REF(HIGH,6);
H7:=REF(HIGH,7);
H8:=REF(HIGH,8);
H9:=REF(HIGH,9);
H10:=REF(HIGH,10);
H11:=REF(HIGH,11);
H12:=REF(HIGH,12);
H13:=REF(HIGH,13);
H14:=REF(HIGH,14);
L1:=REF(LOW,1);
L2:=REF(LOW,2);
L3:=REF(LOW,3);
L4:=REF(LOW,4);
L5:=REF(LOW,5);
L6:=REF(LOW,6);
L7:=REF(LOW,7);
L8:=REF(LOW,8);
D1:=HIGH>H1 AND LOW>=L1 AND CLOSE>REF(CLOSE,1);
D11:=HIGH>H1 AND LOW>=L1 AND CLOSE<=REF(CLOSE,1);
D2:=LOW<L1 AND HIGH<H1;
D3:=HIGH>H1 AND LOW<L1 AND CLOSE>REF(CLOSE,1);
D31:=HIGH>H1 AND LOW<L1 AND CLOSE<=REF(CLOSE,1);
D4:=HIGH<=H1 AND LOW>=L1;
FR1:SUM(IF(D1,HIGH,IF(D11,LOW,IF(D2,-HIGH,IF(D3,HIGH,IF(D31,-HIGH,IF(D4,0,0)))))),0),LINETHICK2;
UF1:=FR1<REF(FR1,1) AND REF(FR1,1)>=REF(FR1,2);
UF2:=FR1=REF(FR1,1) AND REF(FR1,1)>REF(FR1,2) AND REF(FR1,2)<REF(FR1,3);
UFF:=UF1 OR UF2;
ZQ:=BArslAst(UFF)+1;
DF:=FR1>REF(FR1,1) AND REF(FR1,1)<=REF(FR1,2);
ZQ1:=BARSLAST(DF)+1;
STICKLINE(UF1,REF(FR1,1),REF(FR1,1),25,-1),COLORYELLOW;
STICKLINE(UF1,REF(FR1,1),REF(FR1,1),4.15,1),COLORYELLOW;
STICKLINE(DF,REF(FR1,1),REF(FR1,1),25,-1),COLORRED;
STICKLINE(DF,REF(FR1,1),REF(FR1,1),4.15,1),COLORRED;
DRAWICON(crOSS(FR1-0.001,REF(FR1,ZQ)) AND FR1>REF(FR1,ZQ1),FR1,7);
通达信风险提示主图指标公式