通达信DDX飘红天数指标公式

2024-05-01 23:00发布

AA:=/((HIGH-LOW)*2-A(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSEOPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE0,0,进出量,3,0),COLOR0000CC;STICKLINE(进出量>0,0,进出量,1.5,0),COLOR0000FF;STICKLINE(进出量>0,0,进出量,0.5,0),COLORCC66FF;N:=5; M:=13; N日内:SUM(进出量,N),LINETHICK2,COLORGREEN;流入:IF(N日内净流入>REF(N日内净流入,1),N日内净流入,DRAWNULL),COLORRED,LINETHICK2;连红天:BARSLASTCOUNT(进出量>0);M日内翻红天:COUNT(进出量>0,M),COLORRED;走熊
 解锁全文需 1  财富值,免费注册即送20财富值!