股票公式混沌公式(源码)--动态多空
2009-4-26 16:39:53 股票入门 http://rumen.southmoney.com
{混沌公式,N=13,M=15}
DTM:=IF(O<=REF(O,1),0,MAX((H-O),(O-REF(O,1))));
DBM:=IF(O>=REF(O,1),0,MAX((O-L),(O-REF(O,1))));
STM:=SUM(DTM,N);
SBM:=SUM(DBM,N);
ADTM:=IF(STM>SBM,(STM-SBM)/STM,IF(STM=SBM,0,(STM-SBM)/SBM)),COLORffff00;
多:forcast(ADTM,M),linethick2,colorred;
空:forcast(ADTM,6*M)-多;
动:(多+空)/2;
庆祝:slope(动,2)*4+slope(多-空,2)>0 and slope(多,2)>0 and count(动*slope(多-空,3)>0.015,2+40*slope(多-空,3)),linethick0;
drawicon(庆祝,-1,10);
0,POINTDOT, COLOR33FF66,;
0.5,POINTDOT, COLOR33FF66,;
-0.5,POINTDOT,COLOR33FF66,;
1, colorblue,;
-1,colorred;
文章来源:http://www.southmoney.com文章来源:南方财富 http://www.southmoney.com)
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
相关阅读