主力控盘:IF(ABC10>REF(ABC10,1) AND ABC10>0,ABC10,0),NODRAW,COLORRED; ABC12:=100*WINNER(CLOSE*0.95); STICKLINE(ABC12>50 AND COST(85)<CLOSE AND ABC10>0,C,O,1,0),COLORMAGENTA; 主力高度控盘:IF(ABC12>50 AND COST(85)<CLOSE AND ABC10>0,ABC10,0),NODRAW,COLORMAGENTA; STICKLINE(AB...
安全线:MA(CLOSE,19),LINETHICK2,COLORYELLOW; DRAWTEXT(CROSS(安全线,操盘线),H*1.01,'←S 卖出'),COLOR00FF00; DRAWTEXT(CROSS(操盘线,安全线),L*0.99,'←B 买入'),COLOR00FFFF; DRAWICON(CROSS(操盘线,安全线),L*0.98,1); DRAWICON(CROSS(安全线,操盘线),H*1,2); 下趋势双线持币:HHV(MA(HI...
macdZ:=8*(DIFZ-DEAZ); TYNNN:=60; A1:=REF(HIGH,TYNNN)=HHV(HIGH,2*TYNNN+1); B1:=FILTER(A1,TYNNN); C1:=BACKSET(B1,TYNNN+1); D1:=FILTER(C1,TYNNN); A2:=REF(LOW,TYNNN)=LLV(LOW,2*TYNNN+1); B2:=FILTER(A2,TYNNN); C2:=BACKSET(B2,TYNNN+1); D2:=FILTER(C2,TYNNN)...
通达信庄家主图指标公式源码主要包含以下几个部分:支撑线:公式:EMA/2,20)线条颜色:蓝色表示方式:DOTLINE妖股起爆点:公式:MA+MA*20/100*0.35线条粗细:更粗线条颜色:红色字符串拼接和条件显示:示例代码:Z3:=STRCAT;DRAWTEXT_FIX),COLORRED;压力线:公式:,25)MA,25))*1+MA,25)线条颜色...
主图 DRAWGBK(C>0,RGB(20,20,120),RGB(1,1,5),1,0,1); DRAWKLINE(H,O,L,C); DRAWTEXT_FIX(1,0.00,0,0,'行业:')COLOR0080FF; DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLOR0080FF; DRAWTEXT_FIX(1,0.20,0,0,'地区:')COLOR00FFFF;
「精选指标」通达信龙虎主图指标公式源码 涨幅偏离:=(((C-REF(C,1))/REF(C,1))-((INDEXC-REF(INDEXC,1))/REF(INDEXC,1)))*100>=0.07;{必须做收盘数据下载} STICKLINE(涨幅偏离,C,(O+C)/2,2,0),COLORYELLOW;跌幅偏离:=(((C-REF(C,1))/REF(C,1))-((INDEXC-REF(INDEXC,1))/REF(...
{热点主升} N:=9; ABC8:=3; ABC9:=3; 股民指标:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(股民指标,ABC8,1); D:=SMA(K,ABC9,1); J:=3*K-2*D; 金叉:=kdj.K>kdJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ.K; ...
AF4:=ABS((REF(L,1)-AF1)/AF1); BF1:=ABS((AF2+AF3+AF4)/3); BF2:=O*BF1; 预测低一:=O-BF2; 预测高一:=O+BF2; 今日保护价:=(REF(C,2)+REF(C,1)+O)/3 ,COLOR4080FF,NODRAW; 开盘价1:=OPEN; 开盘价2:=REF(OPEN,1); ...
趋势线:EMA(((SLOPE(CLOSE,21) * 20) CLOSE),42),POINTDOT,COLORFF00FF,LINETHICK4; V1:=ABS((2*CLOSE HIGH LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); V2:=(1-7/100)*(DMA(CLOSE,V1)); V3:=(1 7/100)*(DMA(CLOSE,V1)); V5:=MA((LOW HIGH CLOSE)/3,5); ...
快线:EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),LINETHICK2,COLORRED; 慢线:EMA(REF(快线,1),3),LINETHICK2,COLOR00FFFF; 总趋势:EMA(EMA(EMA(EMA(EMA(CLOSE,65),3),3),3),3),LINETHICK2,COLORBLUE; VAR84:= (CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; ...