通达信指标 物极必反卖点
买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,(DYNAINFO(23)*(240/FROMOPEN)),(IF(ISLASTBAR AND C>300,((IF(H=L,1,((H+L+C)/3)-MIN(C,O))*(V/IF(H=L,4,H-L)))+(IF(H=L,1,MIN(O,C)-L)*(V/IF(H=L,4,H-L))))*(240/FROMOPEN),((IF(H=L,1,((H+L+C)/3)-MIN(C,O))*(V/IF(H=L,4,H-L)))+(IF(H=L,1,MIN(O,C)-L)*(V/IF(H=L,4,H-L)))))));
卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,(DYNAINFO(22)*(240/FROMOPEN)),(IF(ISLASTBAR AND C>300,((IF(H=L,1,H-MAX(O,C))*(V/IF(H=L,4,H-L)))+(IF(H=L,1,MAX(C,O)-((H+L+C)/3))*(V/IF(H=L,4,H-L))))*(240/FROMOPEN),((IF(H=L,1,H-MAX(O,C))*(V/IF(H=L,4,H-L)))+(IF(H=L,1,MAX(C,O)-((H+L+C)/3))*(V/IF(H=L,4,H-L)))))));
买盘线:=DYNAINFO(23)*(IF(V>=IF(DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT,DYNAINFO(17)*REF(MA(V,5),1),DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT) AND PERIOD=5,V,IF(DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT,DYNAINFO(17)*REF(MA(V,5),1),DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT))/V);
卖盘线:=DYNAINFO(22)*(IF(V>=IF(DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT,DYNAINFO(17)*REF(MA(V,5),1),DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT) AND PERIOD=5,V,IF(DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT,DYNAINFO(17)*REF(MA(V,5),1),DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT))/V);
物极必反:CROSS(买盘,卖盘) AND 卖盘<REF(卖盘,1) AND REF(卖盘,1)>REF(买盘,1) AND 卖盘>卖盘线 AND REF(买盘,1)<REF(买盘,2);
未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
买盘赋值:IF(ISLASTBAR AND PERIOD=5 AND C<300,(DYNAINFO(23)*(240/FROM开盘价)),(IF(ISLASTBAR AND C>300,((IF(H=L,1,((H+L+C)/3)-C和O的较小值)*(V/IF(H=L,4,H-L)))+(IF(H=L,1,O和C的较小值-L)*(V/IF(H=L,4,H-L))))*(240/FROM开盘价),((IF(H=L,1,((H+L+C)/3)-C和O的较小值)*(V/IF(H=L,4,H-L)))+(IF(H=L,1,O和C的较小值-L)*(V/IF(H=L,4,H-L)))))))
卖盘赋值:IF(ISLASTBAR AND PERIOD=5 AND C<300,(DYNAINFO(22)*(240/FROM开盘价)),(IF(ISLASTBAR AND C>300,((IF(H=L,1,H-O和C较大值)*(V/IF(H=L,4,H-L)))+(IF(H=L,1,C和O较大值-((H+L+C)/3))*(V/IF(H=L,4,H-L))))*(240/FROM开盘价),((IF(H=L,1,H-O和C较大值)*(V/IF(H=L,4,H-L)))+(IF(H=L,1,C和O较大值-((H+L+C)/3))*(V/IF(H=L,4,H-L)))))))
买盘线:=DYNAINFO(23)*(IF(V>=IF(现价=C AND DYNAINFO(10)=成交额,DYNAINFO(17)*REF(V的5日简单移动平均,1),现价=C AND DYNAINFO(10)=成交额) AND PERIOD=5,V,IF(现价=C AND DYNAINFO(10)=成交额,DYNAINFO(17)*REF(V的5日简单移动平均,1),现价=C AND DYNAINFO(10)=成交额))/V)
卖盘线:=DYNAINFO(22)*(IF(V>=IF(现价=C AND DYNAINFO(10)=成交额,DYNAINFO(17)*REF(V的5日简单移动平均,1),现价=C AND DYNAINFO(10)=成交额) AND PERIOD=5,V,IF(现价=C AND DYNAINFO(10)=成交额,DYNAINFO(17)*REF(V的5日简单移动平均,1),现价=C AND DYNAINFO(10)=成交额))/V)
输出
物极必反:买盘上穿卖盘 AND 卖盘<1日前的卖盘 AND 1日前的卖盘>1日前的买盘 AND 卖盘>卖盘线 AND 1日前的买盘<2日前的买盘