把大智慧的指标资金流向改写成通达信的
2020/1/15 19:06:36
公式编写说明:
求老师把大智慧的指标资金流向改写成通达信的,谢谢量能累积:100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8));蓝空芯:STICKLINE(量能累积<0,量能累积*-1,0,8,1),COLORFFFF00;红实芯:STICKLINE(量能累积>REF(量能累积,1) AND 量能累积>0,量能累积,0,8,0),COLOR4D48FF;红空芯:STICKLINE(量能累积<REF(量能累积,1) AND 量能累积>0,量能累积,0,8,1),COLOR4D48FF;蓝实芯:STICKLINE(量能累积<REF(量能累积,1) AND 量能累积<0,-量能累积,0,8,0),COLORFFFF00;FILLRGN(77,量能累积,量能累积>=77,RGB(255,48,48));FILLRGN(13,量能累积,量能累积>=13 AND 量能累积<55,RGB(0,212,0));FILLRGN(55,量能累积,量能累积>=55 AND 量能累积<77,RGB(49,0,255));DRAWTEXT(((((CLOSE-(REF(CLOSE,3)))/(REF(CLOSE,3)))*100)<-15),4.3,'买入'),colorGreen;
公式源码回答:
量能累积:100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8));
AA1:=IF(量能累积>=77,量能累积,DRAWNULL);
AA2:=IF(量能累积>=13 AND 量能累积<55,量能累积,DRAWNULL);
AA3:=IF(量能累积>=55 AND 量能累积<77,量能累积,DRAWNULL);
DRAWBAND(AA1,RGB(255,48,48),77,RGB(0,0,0));
DRAWBAND(AA2,RGB(0,212,0),13,RGB(0,0,0));
DRAWBAND(AA3,RGB(49,0,255),55,RGB(0,0,0));
蓝空芯:STICKLINE(量能累积<0,量能累积*-1,0,8,1),COLORFFFF00;
红实芯:STICKLINE(量能累积>REF(量能累积,1) AND 量能累积>0,量能累积,0,2,0),COLOR4D48FF;
红空芯:STICKLINE(量能累积<REF(量能累积,1) AND 量能累积>0,量能累积,0,2,1),COLOR4D48FF;
蓝实芯:STICKLINE(量能累积<REF(量能累积,1) AND 量能累积<0,-量能累积,0,2,0),COLORFFFF00;
投 股票网 www.t ou18.cn
股市公式下载推荐