R:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
RR:=(R/2+22)*1;
A:=EMA(VOL,13);
B:=EMA(AMOUNT,13);
X:=((B/A)/100);
Y:=(((CLOSE-X)/X)*100);
Z:=((Y<(0))AND ZXNH);
買點(diǎn):IF(Z AND R<RR-2,1,0),COLORRED;
DRAWTEXT((Z AND R<RR-2),0.05,'B'),COLORYELLOW;
|