通达信循环区间波段副图指标
该指标通过计算价格波动率和成交量,结合移动平均线,提供买卖信号。
plaintext复制N:=45; M:=15; MTRD:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N); HD :=HIGH-REF(HIGH,1); LD :=REF(LOW,1)-LOW; DMP:=SUM(IF(HD>0 AND HD>LD,HD,0),N); DMM:=SUM(IF(LD>0 AND LD>HD,LD,0),N); PDI:=DMP*100/MTRD; MDI:=DMM*100/MTRD; U:=BARSLAST(CROSS(MDI,30)); D:=BARSLAST(CROSS(PDI,30)); 涨:IF(U>D,0.2,DRAWNULL),COLORRED,LINETHICK3; 跌:IF(D>U,-0.2,DRAWNULL),COLORGREEN,LINETHICK3; MTR:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW)); SS1:=2/5; CQ1:=SS1*SS1/(50-EMA(MTR,2)); A:=EMA(C,1/CQ1); S理论∠α:SIN(A),COLORGRAY,DOTLINE; 区间波长:(S理论∠α-REF(S理论∠α,1)),COLORBROWN; AA:=S理论∠α-REF(S理论∠α,1); AAA:=AA<0.1 AND AA>-0.1; 一级频率:BARSLAST(AAA),COLORBROWN,NODRAW; AB:=S理论∠α-REF(S理论∠α,1); AAB:=S理论∠α<0.2 AND S理论∠α>-0.2; 二级频率:BARSLAST(AAB),COLORYELLOW,NODRAW; STICKLINE(一级频率>0 AND 涨=0.2,1,1.2,1,0),COLORLIRED; STICKLINE(二级频率>0 AND 二级频率<20 AND 涨=0.2,1.3,1.4,1,0),COLORRED; STICKLINE(一级频率>0 AND 跌=-0.2,-1,-1.2,1,0),COLORLIBLUE; STICKLINE(二级频率>0 AND 二级频率<20 AND 跌=-0.2,-1.3,-1.4,1,0),COLORGREEN; STICKLINE(二级频率>20,0.1,-0.1,1,0),COLORBLUE; 0.2,COLORGRAY,DOTLINE; -0.2,COLORGRAY,DOTLINE; 涨段:=(一级频率>0 AND 涨=0.2) OR (二级频率>0 AND 二级频率<20 AND 涨=0.2); 跌段:=(一级频率>0 AND 跌=-0.2) OR (二级频率>0 AND 二级频率<20 AND 跌=-0.2); 阴线开多:IF(S理论∠α<0.2 AND S理论∠α<REF(S理论∠α,1) AND 涨段=1, ...)
通达信波段盈利副图指标公式
该指标通过筹码分布可视化,展示当前市场参与者的盈亏状态及浮动筹码变化。
plaintext复制获利:WINNER(C)*100,COLORRED; 亏损:(1-WINNER(C))*100,COLORGREEN; DRAWBAND(获利,RGB(180,0,0),亏损,RGB(0,0,180)); 今浮筹:(IF(CODELIKE('301') OR CODELIKE('300'),WINNER(C*1.2),WINNER(C*1.1))- IF(CODELIKE('301') OR CODELIKE('300'),WINNER(C*0.8),WINNER(C*0.9)))*100,COLORGRAY,DOTLINE; 昨浮筹:REF(今浮筹,1),COLORYELLOW,DOTLINE; DRAWBAND(今浮筹,RGB(60,180,150),昨浮筹,RGB(180,150,60));
通达信波段密码副图指标
该指标通过计算价格与其移动平均线的差值,结合成交量,分析市场趋势。
plaintext复制波段密码 = (CLOSE - MA(CLOSE, N)) / REF(MA(CLOSE, N), M) * VOL
波段密码副图指标(另一种表达)
plaintext复制波段密码副图指标 = (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100
波段副图指标(涨幅计算)
plaintext复制副图指标公式: CLOSE-REF(CLOSE,N)/REF(CLOSE,N)*100