优化版量极卖点副图公式 有他卖得其所 源码做股票会卖才是师傅!公式源码
买盘:=IF(ISLASTBAR AND PERIOD=5 AND C300,((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 C300,((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);
M1:=SQRT(HHV(IF(C>REF(C,1),V,-V),1)*LLV(IF(C>REF(C,1),V,-V),1))REF(C,1),V,-V),1)*LLV(IF(C>REF(C,1),V,-V),1)),1) AND REF(IF(C>REF(C,1),V,-V),1)=REF(SQRT(HHV(IF(C>REF(C,1),V,-V),1)*LLV(IF(C>REF(C,1),V,-V),1)),1) AND SQRT(HHV(IF(C>REF(C,1),V,-V),1)*LLV(IF(C>REF(C,1),V,-V),1))>IF(C>REF(C,1),V,-V) AND CREF(C,2)*1.01;
M2:=CROSS(买盘,卖盘) AND 卖盘REF(买盘,1) AND 卖盘>卖盘线 AND REF(买盘,1)C AND IF(SUM(V,5)/HHV(V,5)>0.3,1,0),V,0),3)*0.001;
正能量:=((SUM(IF(C>O AND IF(SUM(V,5)/HHV(V,5)>0.3,1,0),V,0),3)*0.001)-负能量);
基础:=(M1 AND REF(M2,1)) OR (M2 AND REF(M1,1));
卖1:基础 AND CROSS(负能量,正能量);
卖2:(基础 OR REF(基础,1)) AND REF(负能量,1)=0 AND 负能量>0;DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW. '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW. '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;