HH:=MAX(HIGH,REF(CLOSE,1));
LL:=MIN(LOW,REF(CLOSE,1));
AAA:=SUM(CLOSE-LL,7)/SUM(HH-LL,7);
BB:=SUM(CLOSE-LL,14)/SUM(HH-LL,14);
CC:=SUM(CLOSE-LL,28)/SUM(HH-LL,28);
TLIKTLI:=(AAA/7+BB/14+CC/28)*7*14*28/(7*14+14*28+7*28)*1000;
MTLIKTLI:=EMA(TLIKTLI,6);
AVPRICE:=((CLOSE+OPEN+LOW+HIGH)/(4));
XXvol:=(VOL)*(AVPRICE);
AAD:=(SUM(XXVOL,25)+0.001)/(SUM(VOL,25)+0.001);
GN:=(((500)*(AVPRICE-AAD))/(MAX(AVPRICE,AAD)));
白虎:=EMA(GN,14);
地鼠2:=EMA(MTLIKTLI,1)/-4.5815926;
天下大底:=白虎<地鼠2;
大底:天下大底<1 AND REF(天下大底,1)>0,COLORMAGENTA;