N:=MIN(60,BARSCOUNT(CLOSE));
A0:=(((HHV(HIGH,N) / LLV(LOW,N)) * 100) - 100);
A1:=DMA(((CLOSE + OPEN) / 2),(vol / SUM(VOL,5)));
A2:=((A0 > REF(A0,1)) AND (CLOSE > A1));
ACM:=MA(REF(("1A0002$CLOSE" + "399107$CLOSE"),1),5);
AH:=("1A0002$HIGH" + "399107$HIGH");
AL:=("1A0002$LOW" + "399107$LOW");
AV:=("1A0002$AMOUNT" + "399107$AMOUNT");
AA:=(SMA(AV,10,1) / 10000000);
AVH:=((AA * AH) / ACM);
AVL:=((AA * AL) / ACM);
A3:=(((HHV(AVH,N) / LLV(AVL,N)) * 100) - 100);
A4:=(((CLOSE / REF(CLOSE,1)) * 100) - 100);
{www.gupang.com 股旁网_大智慧股票指标公式}
A5:=DMA(((CLOSE + OPEN) / 2),(VOL / CAPITAL));
A6:=(((CLOSE / A5) * 100) - 100);
A7:=MA(AMOUNT,5);
A8:=MA(AMOUNT,10);
A9:=(((((((((A0 > A3) AND ((A0 - A3) < 100)) AND (A4 >= 4.5)) AND (AMOUNT > A7)) AND (A7 > A8)) AND (LLV(A6,10) <= (0 - 24))) AND ((HIGH - CLOSE) < ((CLOSE - OPEN) / 3))) AND ((CLOSE / OPEN) >= 1.03)) AND (CLOSE > A1));
DRAWTEXT((A9 > 0),(A0 * 0.98),'▲'),ALIGN0,color00FFFF;
日振幅60:A0,color00FF00;
PARTLINE((A2 > 0),A0),LINETHICK3,color0000FF;
横盘天数:IF((BARSLAST((A0 > 20)) >= 250),250,BARSLAST((A0 > 20))),colorCEC3FF;
量震幅:MIN(A3,100),colorC0C0C0;
底突A:(A9 * 100),LINETHICK0,color00FFFF;
POLYLINE((CLOSE > 0),100),color0000FF;
POLYLINE((CLOSE > 0),60),colorFF00FF;
POLYLINE((CLOSE > 0),20),colorFFFF00;