通达信子龙擒牛买卖主图指标公式

通达信MACD平均换手指标公式

通达信子龙擒牛买卖主图指标公式:

M5:MA(CLOSE,5); M10:MA(CLOSE,10);M20:MA(CLOSE,20); M30:MA(CLOSE,30);

VAR1:=SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);

VAR2:=HIGH-REF(HIGH,1);

VAR3:=REF(LOW,1)-LOW;

VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);

VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);

VAR6:=VAR4*100/VAR1;

VAR7:=VAR5*100/VAR1;

VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);

VAR9:=(VAR8+REF(VAR8,15))/2; BUY1:=zig(3,10);

SELL1:=MA(BUY1,2); DRAWICON(crOSS(BUY1,SELL1),L-0.1,7); DRAWICON(CROSS(SELL1,BUY1),H+0.1,8); stICKLINE(BUY1>SELL1 AND O>=C,C,O,-1,0),COLORRED; STICKLINE(BUY1>SELL1 AND O>=C,L,H,0,0),COLORRED; STICKLINE(BUY1<SELL1 AND O<=C,O,C,-1,1),COLORCYAN; STICKLINE(BUY1<SELL1 AND O<=C,O,L,0,1),COLORCYAN; STICKLINE(BUY1<SELL1 AND O<=C,C,H,0,1),COLORCYAN;

VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR12:=SMA(VAR11,3,1);

VAR13:=SMA(VAR12,3,1);

VAR14:=VAR13 AND VAR13<20; LJB:=1/WINNER(CLOSE);

流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;

DRAWTEXT_FIX(1,0.00,0.00,0,'主题投资:')COLOR0000FF;

DRAWTEXT_FIX(1,0.06,0.00,0,EXTERNSTR(0,1))COLOR0000FF;

DRAWTEXT_FIX(1,0.00,0.06,0,'主营业务:')COLORFF00FF;

DRAWTEXT_FIX(1,0.06,0.06,0,EXTERNSTR(0,2))COLORFF00FF;

Z1:=STRCAT(HYBLOCK,' ');

Z2:=STRCAT(Z1,DYBLOCK);

Z3:=STRCAT(Z2,' ');

DRAWTEXT_FIX(ISLASTBAR,0,10,0,STRCAT(Z3,GNBLOCK)),COLOR0000FF;

通达信假下突破回抽选股指标公式