ihzx 发表于 2021-8-21 14:01:53

大智慧09年100%的组合指标公式

<p>{n1 51 100 1;n2 10 1 100 1}<br />
LC := REF(CLOSE,1);<br />
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;<br />
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;<br />
反弹:CROSS(RSI1,RSI2) AND RSI1&lt;50;<br />
强势:=CROSS(RSI1,RSI2) AND RSI1&gt;=50;{,COLORRED}<br />
AA:=MA(VOL,5)/((SUM(VOL,10)-SUM(VOL,5))/5)&gt;=1.5;<br />
放量:=REF(VOL,3)/REF(VOL,4)&gt;=3 OR REF(AA,3)=1 OR REF(AA,4)=1;<br />
下跌:=(((REF(C,3)-REF(C,2))/REF(C,3))*100&gt;=1.5 AND ((REF(C,2)-REF(C,1))/REF(C,2))*100&gt;=1.5) OR ((REF(C,3)-C)/REF(C,3))*100&gt;=10;<br />
缩量:=REF(VOL,3)/REF(VOL,2)&gt;=1.1 AND REF(VOL,2)/REF(VOL,1)&gt;=1.1;<br />
条件:=放量 AND 缩量 AND 下跌 ;<br />
缩量拉升:=COUNT(条件,6)=1 AND CROSS(MA(C,2),MA(C,5)) AND &quot;BBE排序.N日BBX飘红&quot;&gt;=6;<br />
超赢:=反弹 AND COUNT(条件,2)=1;<br />
MA10:=MA(C,10);<br />
MA20:=MA(C,20);<br />
MA40:=MA(C,40);<br />
MA60:=MA(C,60);<br />
LC:=REF(CLOSE,1);<br />
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);<br />
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),15,1)*100;<br />
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);<br />
HD:=(HIGH - REF(HIGH,1));<br />
LD:=(REF(LOW,1) - LOW);<br />
DMP:=SUM(IF(((HD &gt; 0) AND (HD &gt; LD)),HD,0),10);<br />
DMM:=SUM(IF(((LD &gt; 0) AND (LD &gt; HD)),LD,0),10);<br />
PDI:=((DMP * 100) / TR1);<br />
MDI:=((DMM * 100) / TR1);<br />
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);<br />
AV:=(RSI5 + ADX);<br />
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);<br />
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));<br />
NEWVOL:=(RSI5 - WR10);<br />
秋天梦想:=(AV + NEWVOL);<br />
梦想:=CROSS(秋天梦想,0);<br />
XG:超赢 AND 梦想;</p>
<p><br />
</p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 大智慧09年100%的组合指标公式