为方便股友寻找我发布过的可在分时图里用的公式指标,我将抽时间进行汇编,现只好先将其他网站登出过的先移过来,引入方法请见“实站分时辅助工具 东家分时波段第7版”,时间是金钱啊,令大家不便,在此表示歉意。
权证X,有未来函数,考虑到股友习惯,我加了EMA红持股显示,是无未来的,作为选择使用,
N 1 100 3
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;
A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
B:ZIG(3,9/5)*100;
G:MA(B,2);
D:CROSS(B,G)*1000,COLORRED;
W:CROSS(G,B)*1000,COLORBLUE;
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),N,1)/SMA(ABS(INDEXC-E),N,1);
VAR10:=F AND F<8;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,N,1);
VAR13:=SMA(VAR12,N,1);
VAR14:=VAR13 AND VAR13<20;
A AND D AND VAR10 AND VAR14 ;
DRAWTEXT(W=1000,500,'S' ),COLORWHITE ;
DRAWTEXT(D=1000, 500,'B'),COLORWHITE ;
突破:=REF(EMA(C,N),1)COLORMAGENTA,LINETHICK2;
A1X:=(EMA(C,N)-突破)/突破*100,NODRAW;
出击:IF(A1X>=0,REF(EMA(C,N),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)COLORYELLOW,LINETHICK0;
休假:IF(A1X<0,REF(EMA(C,N),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORBLUE,LINETHICK0;
STICKLINE(A1X>=0,1,100,2,0)COLOR9800FF;
STICKLINE(A1X<0,1,100,2,0)COLORGREEN;
持币:IF(A1X<0,突破,DRAWNULL)COLORGREEN,LINETHICK0;
DRAWTEXT(ISLASTBAR,50,' EMA'),COLORYELLOW;
200912813295898502.gif
|