老師,
你好,能否幫忙把ASI指標改寫成在任意分鐘線上讀取“非引用120分鐘線ASI”實時數(shù)值的指標?十分感謝.
LC:=REF(CLOSE,1);
AAA:=ABS(HIGH-LC);
BBB:=ABS(LOW-LC);
CCC:=ABS(HIGH-REF(LOW,1));
DDD:=ABS(LC-REF(OPEN,1));
R:=IF(AAA>BBB AND AAA>CCC,AAA+BBB/2+DDD/4,IF(BBB>CCC AND BBB>AAA,BBB+AAA/2+DDD/4,CCC+DDD/4));
X:=(CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1));
SI:=16*X/R*MAX(AAA,BBB);
ASI:=SUM(SI,0);
一個意思
都要做引用